summaryrefslogtreecommitdiff
path: root/nuttx/include/netinet
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-07-11 18:10:22 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2010-07-11 18:10:22 +0000
commite58cb9f47ccff39c084944ea3e5c1154325b6ef1 (patch)
tree7d8c91af166541c11753f1b8b3ef847edf7c48a8 /nuttx/include/netinet
parent701cde95d29fbb7dd75e42b0cd37fc3434c6fd88 (diff)
downloadpx4-nuttx-e58cb9f47ccff39c084944ea3e5c1154325b6ef1.tar.gz
px4-nuttx-e58cb9f47ccff39c084944ea3e5c1154325b6ef1.tar.bz2
px4-nuttx-e58cb9f47ccff39c084944ea3e5c1154325b6ef1.zip
Add IGMP user interface
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2786 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/netinet')
-rw-r--r--nuttx/include/netinet/in.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/include/netinet/in.h b/nuttx/include/netinet/in.h
index 9c38b229b..2b92bba7f 100644
--- a/nuttx/include/netinet/in.h
+++ b/nuttx/include/netinet/in.h
@@ -1,7 +1,7 @@
/****************************************************************************
* netinet/in.h
*
- * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009-2010 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -54,6 +54,11 @@
#define IPPROTO_TCP 1
#define IPPROTO_UDP 2
+/* Values used with SIOCSIFMCFILTER and SIOCGIFMCFILTER ioctl's */
+
+#define MCAST_EXCLUDE 0
+#define MCAST_INCLUDE 1
+
/* Special values of in_addr_t */
#define INADDR_ANY ((in_addr_t)0x00000000) /* Address to accept any incoming messages */