diff options
author | Philip Kirk <Phil.Kirk@Sun.COM> | 2008-11-06 06:47:54 -0500 |
---|---|---|
committer | Philip Kirk <Phil.Kirk@Sun.COM> | 2008-11-06 06:47:54 -0500 |
commit | b127ac411761a3d8d642d9342d9cac2785e1faaa (patch) | |
tree | 041956f138b0560132678ab9e0971bbb8dff1887 /usr/src/uts/common/sys/netstack.h | |
parent | 471fb14e1ef453ca10871d66de96105f33392fe0 (diff) | |
download | illumos-joyent-b127ac411761a3d8d642d9342d9cac2785e1faaa.tar.gz |
PSARC/2006/475 Clearview: IP Observability Devices
4085089 add a feature to enable 'snooping' of the loopback traffic
6753688 ip netinfo has no need for separate create and dispatch functions
6755448 ifconfig wedged in SIOCLIFREMOVEIF
6756483 incorrect ASSERT() in ip_delmulti[_v6]()
5092073 RFE: allow snoop to filter on zonename or zoneid
6606991 panic assertion failure !ill->ill_join_allmulti for multicast router
6760922 devname doesn't handle stale dev_t's in sdev_node cache entries
Diffstat (limited to 'usr/src/uts/common/sys/netstack.h')
-rw-r--r-- | usr/src/uts/common/sys/netstack.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/netstack.h b/usr/src/uts/common/sys/netstack.h index 55acab834c..e44efab458 100644 --- a/usr/src/uts/common/sys/netstack.h +++ b/usr/src/uts/common/sys/netstack.h @@ -78,7 +78,8 @@ typedef id_t netstackid_t; #define NS_IPSECAH 13 #define NS_IPSECESP 14 #define NS_TUN 15 -#define NS_MAX (NS_TUN+1) +#define NS_IPNET 16 +#define NS_MAX (NS_IPNET+1) /* * State maintained for each module which tracks the state of @@ -151,6 +152,7 @@ struct netstack { struct ipsecah_stack *nu_ipsecah; struct ipsecesp_stack *nu_ipsecesp; struct tun_stack *nu_tun; + struct ipnet_stack *nu_ipnet; } nu_s; } netstack_u; #define netstack_modules netstack_u.nu_modules @@ -170,6 +172,7 @@ struct netstack { #define netstack_ipsecah netstack_u.nu_s.nu_ipsecah #define netstack_ipsecesp netstack_u.nu_s.nu_ipsecesp #define netstack_tun netstack_u.nu_s.nu_tun +#define netstack_ipnet netstack_u.nu_s.nu_ipnet nm_state_t netstack_m_state[NS_MAX]; /* module state */ |