summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking/netinet
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-03-27 10:17:09 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-03-27 10:17:09 +0000
commitc95ac2f3cc29a204317a5899120a7e5fb684c252 (patch)
tree49feb474eef28a8a39635b9e5c708c24e44e301c /cpukit/libnetworking/netinet
parent2007-03-27 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-c95ac2f3cc29a204317a5899120a7e5fb684c252.tar.bz2
2007-03-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/netinet/ip_mroute.h: Partial update from FreeBSD.
Diffstat (limited to 'cpukit/libnetworking/netinet')
-rw-r--r--cpukit/libnetworking/netinet/ip_mroute.h29
1 files changed, 19 insertions, 10 deletions
diff --git a/cpukit/libnetworking/netinet/ip_mroute.h b/cpukit/libnetworking/netinet/ip_mroute.h
index 35d2437089..139c755675 100644
--- a/cpukit/libnetworking/netinet/ip_mroute.h
+++ b/cpukit/libnetworking/netinet/ip_mroute.h
@@ -14,10 +14,6 @@
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
- * 3. All advertising materials mentioning features or use of this software
- * must display the following acknowledgement:
- * This product includes software developed by the University of
- * California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
@@ -35,6 +31,10 @@
* SUCH DAMAGE.
*
* @(#)ip_mroute.h 8.1 (Berkeley) 6/10/93
+ * $FreeBSD: src/sys/netinet/ip_mroute.h,v 1.31 2007/02/08 23:05:08 bms Exp $
+ */
+
+/*
* $Id$
*/
@@ -48,8 +48,12 @@
* Modified by Steve Deering, Stanford, February 1989.
* Modified by Ajit Thyagarajan, PARC, August 1993.
* Modified by Ajit Thyagarajan, PARC, August 1994.
+ * Modified by Ahmed Helmy, SGI, June 1996.
+ * Modified by Pavlin Radoslavov, ICSI, October 2002.
*
* MROUTING Revision: 3.3.1.3
+ * and PIM-SMv2 and PIM-DM support, advanced API support,
+ * bandwidth metering and signaling.
*/
@@ -63,7 +67,12 @@
#define MRT_ADD_MFC 104 /* insert forwarding cache entry */
#define MRT_DEL_MFC 105 /* delete forwarding cache entry */
#define MRT_VERSION 106 /* get kernel version number */
-#define MRT_ASSERT 107 /* enable PIM assert processing */
+#define MRT_ASSERT 107 /* enable assert processing */
+#define MRT_PIM MRT_ASSERT /* enable PIM processing */
+#define MRT_API_SUPPORT 109 /* supported MRT API */
+#define MRT_API_CONFIG 110 /* config MRT API */
+#define MRT_ADD_BW_UPCALL 111 /* create bandwidth monitor */
+#define MRT_DEL_BW_UPCALL 112 /* delete bandwidth monitor */
#define GET_TIME(t) microtime(&t)
@@ -248,13 +257,13 @@ struct tbf
#ifdef _KERNEL
-extern int (*ip_mrouter_set) __P((int, struct socket *, struct mbuf *));
-extern int (*ip_mrouter_get) __P((int, struct socket *, struct mbuf **));
-extern int (*ip_mrouter_done) __P((void));
+extern int (*ip_mrouter_set)(int, struct socket *, struct mbuf *);
+extern int (*ip_mrouter_get)(int, struct socket *, struct mbuf **);
+extern int (*ip_mrouter_done)(void);
#ifdef MROUTING
-extern int (*mrt_ioctl) __P((int, caddr_t));
+extern int (*mrt_ioctl)(int, caddr_t);
#else
-extern int (*mrt_ioctl) __P((int, caddr_t, struct proc *));
+extern int (*mrt_ioctl)(int, caddr_t, struct proc *);
#endif
#endif /* _KERNEL */