Changeset View
Changeset View
Standalone View
Standalone View
sys/netipsec/ipsec_mod.c
Show First 20 Lines • Show All 79 Lines • ▼ Show 20 Lines | |||||
static const struct ipsec_methods ipv6_methods = { | static const struct ipsec_methods ipv6_methods = { | ||||
.input = ipsec6_input, | .input = ipsec6_input, | ||||
.forward = ipsec6_forward, | .forward = ipsec6_forward, | ||||
.output = ipsec6_output, | .output = ipsec6_output, | ||||
.pcbctl = ipsec6_pcbctl, | .pcbctl = ipsec6_pcbctl, | ||||
.capability = ipsec6_capability, | .capability = ipsec6_capability, | ||||
.check_policy = ipsec6_in_reject, | .check_policy = ipsec6_in_reject, | ||||
.hdrsize = ipsec_hdrsiz_inpcb, | .hdrsize = ipsec_hdrsiz_inpcb, | ||||
.udp_input = udp_ipsec_input, | |||||
.udp_pcbctl = udp_ipsec_pcbctl, | |||||
}; | }; | ||||
#ifndef KLD_MODULE | #ifndef KLD_MODULE | ||||
static const struct ipsec_support ipv6_ipsec = { | static const struct ipsec_support ipv6_ipsec = { | ||||
.enabled = IPSEC_MODULE_ENABLED, | .enabled = IPSEC_MODULE_ENABLED, | ||||
.methods = &ipv6_methods | .methods = &ipv6_methods | ||||
}; | }; | ||||
const struct ipsec_support * const ipv6_ipsec_support = &ipv6_ipsec; | const struct ipsec_support * const ipv6_ipsec_support = &ipv6_ipsec; | ||||
#endif /* !KLD_MODULE */ | #endif /* !KLD_MODULE */ | ||||
▲ Show 20 Lines • Show All 53 Lines • Show Last 20 Lines |