Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
Show First 20 Lines • Show All 89 Lines • ▼ Show 20 Lines | |||||
#include <net/altq/if_altq.h> | #include <net/altq/if_altq.h> | ||||
CK_STAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */ | CK_STAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */ | ||||
CK_STAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */ | CK_STAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */ | ||||
CK_STAILQ_HEAD(ifmultihead, ifmultiaddr); | CK_STAILQ_HEAD(ifmultihead, ifmultiaddr); | ||||
CK_STAILQ_HEAD(ifgrouphead, ifg_group); | CK_STAILQ_HEAD(ifgrouphead, ifg_group); | ||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
VNET_DECLARE(struct pfil_head, link_pfil_hook); /* packet filter hooks */ | VNET_DECLARE(struct pfil_head *, link_pfil_head); | ||||
#define V_link_pfil_hook VNET(link_pfil_hook) | #define V_link_pfil_head VNET(link_pfil_head) | ||||
#define PFIL_ETHER_NAME "ethernet" | |||||
#define HHOOK_IPSEC_INET 0 | #define HHOOK_IPSEC_INET 0 | ||||
#define HHOOK_IPSEC_INET6 1 | #define HHOOK_IPSEC_INET6 1 | ||||
#define HHOOK_IPSEC_COUNT 2 | #define HHOOK_IPSEC_COUNT 2 | ||||
VNET_DECLARE(struct hhook_head *, ipsec_hhh_in[HHOOK_IPSEC_COUNT]); | VNET_DECLARE(struct hhook_head *, ipsec_hhh_in[HHOOK_IPSEC_COUNT]); | ||||
VNET_DECLARE(struct hhook_head *, ipsec_hhh_out[HHOOK_IPSEC_COUNT]); | VNET_DECLARE(struct hhook_head *, ipsec_hhh_out[HHOOK_IPSEC_COUNT]); | ||||
#define V_ipsec_hhh_in VNET(ipsec_hhh_in) | #define V_ipsec_hhh_in VNET(ipsec_hhh_in) | ||||
#define V_ipsec_hhh_out VNET(ipsec_hhh_out) | #define V_ipsec_hhh_out VNET(ipsec_hhh_out) | ||||
▲ Show 20 Lines • Show All 663 Lines • Show Last 20 Lines |