diff options
author | fenner <fenner@FreeBSD.org> | 1999-01-18 02:06:59 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1999-01-18 02:06:59 +0000 |
commit | c9e9dccbb7e008df4c1d1904f54554e6220f0616 (patch) | |
tree | 48cd7336425d82ac58905563ccc1b69e56252f3b /sys/netinet/ip_mroute.h | |
parent | 331c793e6579b70b11e5fc3881c8aba6bd917ebb (diff) | |
download | FreeBSD-src-c9e9dccbb7e008df4c1d1904f54554e6220f0616.zip FreeBSD-src-c9e9dccbb7e008df4c1d1904f54554e6220f0616.tar.gz |
Use dynamic memory allocation instead of mbuf's for multicast routing
state.
Note: this requires a recompilation of netstat (but netstat has been
broken since rev 1.52 of ip_mroute.c anyway)
Obtained from: Significantly based on Steve McCanne's
<mccanne@cs.berkeley.edu> work for BSD/OS
Diffstat (limited to 'sys/netinet/ip_mroute.h')
-rw-r--r-- | sys/netinet/ip_mroute.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet/ip_mroute.h b/sys/netinet/ip_mroute.h index 94ddeac..0526bbb 100644 --- a/sys/netinet/ip_mroute.h +++ b/sys/netinet/ip_mroute.h @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * @(#)ip_mroute.h 8.1 (Berkeley) 6/10/93 - * $Id: ip_mroute.h,v 1.13 1997/02/22 09:41:35 peter Exp $ + * $Id: ip_mroute.h,v 1.14 1998/08/23 03:07:14 wollman Exp $ */ #ifndef _NETINET_IP_MROUTE_H_ @@ -188,6 +188,8 @@ struct mfc { u_long mfc_wrong_if; /* wrong if for src-grp */ int mfc_expire; /* time to clean entry up */ struct timeval mfc_last_assert; /* last time I sent an assert*/ + struct rtdetq *mfc_stall; /* q of packets awaiting mfc */ + struct mfc *mfc_next; /* next mfc entry */ }; /* @@ -216,6 +218,7 @@ struct rtdetq { #ifdef UPCALL_TIMING struct timeval t; /* Timestamp */ #endif /* UPCALL_TIMING */ + struct rtdetq *next; /* Next in list of packets */ }; #define MFCTBLSIZ 256 |