Print this page
%B
*** 79,89 ****
#define NS_SPDSOCK 14
#define NS_IPSECAH 15
#define NS_IPSECESP 16
#define NS_IPNET 17
#define NS_ILB 18
! #define NS_MAX (NS_ILB+1)
/*
* State maintained for each module which tracks the state of
* the create, shutdown and destroy callbacks.
*
--- 79,90 ----
#define NS_SPDSOCK 14
#define NS_IPSECAH 15
#define NS_IPSECESP 16
#define NS_IPNET 17
#define NS_ILB 18
! #define NS_DCCP 19
! #define NS_MAX (NS_DCCP+1)
/*
* State maintained for each module which tracks the state of
* the create, shutdown and destroy callbacks.
*
*** 155,164 ****
--- 156,166 ----
struct spd_stack *nu_spdsock;
struct ipsecah_stack *nu_ipsecah;
struct ipsecesp_stack *nu_ipsecesp;
struct ipnet_stack *nu_ipnet;
struct ilb_stack *nu_ilb;
+ struct dccp_stack *nu_dccp;
} nu_s;
} netstack_u;
#define netstack_modules netstack_u.nu_modules
#define netstack_dls netstack_u.nu_s.nu_dls
#define netstack_iptun netstack_u.nu_s.nu_iptun
*** 177,186 ****
--- 179,189 ----
#define netstack_spdsock netstack_u.nu_s.nu_spdsock
#define netstack_ipsecah netstack_u.nu_s.nu_ipsecah
#define netstack_ipsecesp netstack_u.nu_s.nu_ipsecesp
#define netstack_ipnet netstack_u.nu_s.nu_ipnet
#define netstack_ilb netstack_u.nu_s.nu_ilb
+ #define netstack_dccp netstack_u.nu_s.nu_dccp
nm_state_t netstack_m_state[NS_MAX]; /* module state */
kmutex_t netstack_lock;
struct netstack *netstack_next;