summaryrefslogtreecommitdiff
path: root/nuttx/include/netinet/in.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/netinet/in.h')
-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 */