diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-13 03:43:06 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-13 03:43:06 +0000 |
commit | 7569e53f92cc6c313c8642a8cc53dfacea63382b (patch) | |
tree | 50917f724a6a70b33050502c1b4bc395528fd460 /nuttx/include/net/uip | |
parent | 35a4b3030e7548e6aace209ef8e92a5e2b495d1e (diff) | |
download | px4-nuttx-7569e53f92cc6c313c8642a8cc53dfacea63382b.tar.gz px4-nuttx-7569e53f92cc6c313c8642a8cc53dfacea63382b.tar.bz2 px4-nuttx-7569e53f92cc6c313c8642a8cc53dfacea63382b.zip |
IGMP debug fixes
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2791 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip')
-rwxr-xr-x | nuttx/include/net/uip/uip-igmp.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/include/net/uip/uip-igmp.h b/nuttx/include/net/uip/uip-igmp.h index 184153a84..b2448627c 100755 --- a/nuttx/include/net/uip/uip-igmp.h +++ b/nuttx/include/net/uip/uip-igmp.h @@ -78,11 +78,11 @@ /* Header sizes: * * UIP_IGMPH_LEN - Size of IGMP header in bytes - * UIP_IPIGMPH_LEN - Size of IP + IGMP header + * UIP_IPIGMPH_LEN - Size of IP + Size of IGMP header + Size of router alert */ #define UIP_IGMPH_LEN 8 -#define UIP_IPIGMPH_LEN (UIP_IGMPH_LEN + UIP_IPH_LEN) +#define UIP_IPIGMPH_LEN (UIP_IGMPH_LEN + UIP_IPH_LEN + 4) /* Group flags */ @@ -157,6 +157,10 @@ struct uip_igmphdr_s #endif /* CONFIG_NET_IPv6 */ + /* Router alerted IP header option */ + + uint16_t ra[2]; + /* IGMP header: * * 0 1 2 3 |