Lines Matching full:enabled
59 * 'options IPSEC_SUPPORT' is enabled.
246 type ret = (type)ipsec_kmod_enter(&sc->enabled); \
249 ipsec_kmod_exit(&sc->enabled); \
281 .enabled = 0,
305 KASSERT(tcp_ipsec_support->enabled == 0, ("TCP-MD5 already enabled"));
307 tcp_ipsec_support->enabled |= IPSEC_MODULE_ENABLED;
314 if (tcp_ipsec_support->enabled & IPSEC_MODULE_ENABLED) {
315 ipsec_kmod_drain(&tcp_ipsec_support->enabled);
327 .enabled = 0,
335 .enabled = 0,
411 KASSERT(sc->enabled == 0, ("IPsec already enabled"));
413 sc->enabled |= IPSEC_MODULE_ENABLED;
420 if (sc->enabled & IPSEC_MODULE_ENABLED) {
421 ipsec_kmod_drain(&sc->enabled);