IGMP debug fixes

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2791 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2010-07-13 03:43:06 +00:00
parent f5cb4c9d30
commit a3910e4b02
12 changed files with 55 additions and 50 deletions
+6 -2
View File
@@ -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