More IGMP header file stuff
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2776 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
c8968f4318
commit
b7a09886e7
@ -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
|
||||
****************************************************************************/
|
||||
|
@ -137,6 +137,7 @@
|
||||
#define UIP_APPDATA_SIZE (CONFIG_NET_BUFSIZE - UIP_LLH_LEN - UIP_TCPIP_HLEN)
|
||||
|
||||
#define UIP_PROTO_ICMP 1
|
||||
#define UIP_PROTO_IGMP 2
|
||||
#define UIP_PROTO_TCP 6
|
||||
#define UIP_PROTO_UDP 17
|
||||
#define UIP_PROTO_ICMP6 58
|
||||
|
Loading…
Reference in New Issue
Block a user