diff options
Diffstat (limited to 'nuttx/include/net/uip/uip-igmp.h')
-rwxr-xr-x | nuttx/include/net/uip/uip-igmp.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nuttx/include/net/uip/uip-igmp.h b/nuttx/include/net/uip/uip-igmp.h index 869a7e762..7ad105ec3 100755 --- a/nuttx/include/net/uip/uip-igmp.h +++ b/nuttx/include/net/uip/uip-igmp.h @@ -67,6 +67,11 @@ #define IGMPv3_MEMBERSHIP_REPORT 0x22 /* IGMP Ver. 3 Membership Report */ #define IGMP_LEAVE_GROUP 0x17 /* Leave Group */ +/* Header sizes */ + +#define UIP_IGMPH_LEN 4 /* Size of IGMP header */ +#define UIP_IPIGMPH_LEN (UIP_IGMPH_LEN + UIP_IPH_LEN) /* Size of IP + IGMP header */ + /**************************************************************************** * Public Types ****************************************************************************/ |