mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user