diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-10 01:20:34 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-07-10 01:20:34 +0000 |
commit | a87d861c4e0a60e1dc163f58c1b51eec13ababf3 (patch) | |
tree | 1af27a7970d534e9f1ea8eda093db55d33b4e5a8 /nuttx/include/net/uip/uip.h | |
parent | a69ce203b81d4903167141ee1c60a643b10fcce4 (diff) | |
download | px4-nuttx-a87d861c4e0a60e1dc163f58c1b51eec13ababf3.tar.gz px4-nuttx-a87d861c4e0a60e1dc163f58c1b51eec13ababf3.tar.bz2 px4-nuttx-a87d861c4e0a60e1dc163f58c1b51eec13ababf3.zip |
More IGMP logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2780 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/net/uip/uip.h')
-rw-r--r-- | nuttx/include/net/uip/uip.h | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/nuttx/include/net/uip/uip.h b/nuttx/include/net/uip/uip.h index 4589838a0..3633a42a8 100644 --- a/nuttx/include/net/uip/uip.h +++ b/nuttx/include/net/uip/uip.h @@ -222,9 +222,18 @@ struct uip_callback_s /* Protocol-specific support */ -#include <net/uip/uip-tcp.h> -#include <net/uip/uip-udp.h> -#include <net/uip/uip-icmp.h> +#ifdef CONFIG_NET_TCP +# include <net/uip/uip-tcp.h> +#endif +#ifdef CONFIG_NET_UDP +# include <net/uip/uip-udp.h> +#endif +#ifdef CONFIG_NET_ICMP +# include <net/uip/uip-icmp.h> +#endif +#ifdef CONFIG_NET_IGMP +# include <net/uip/uip-igmp.h> +#endif /* The structure holding the uIP statistics that are gathered if * CONFIG_NET_STATISTICS is defined. @@ -258,6 +267,10 @@ struct uip_stats struct uip_icmp_stats_s icmp; /* ICMP statistics */ #endif +#ifdef CONFIG_NET_IGMP + struct uip_igmp_stats_s igmp; /* IGMP statistics */ +#endif + #ifdef CONFIG_NET_TCP struct uip_tcp_stats_s tcp; /* TCP statistics */ #endif |