Home
last modified time | relevance | path

Searched refs:is_ipip (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/net/xfrm/
Dxfrm_input.c62 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) in xfrm_input_register_afinfo()
65 rcu_assign_pointer(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], afinfo); in xfrm_input_register_afinfo()
76 if (likely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) { in xfrm_input_unregister_afinfo()
77 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family] != afinfo)) in xfrm_input_unregister_afinfo()
80 RCU_INIT_POINTER(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], NULL); in xfrm_input_unregister_afinfo()
88 static const struct xfrm_input_afinfo *xfrm_input_get_afinfo(u8 family, bool is_ipip) in xfrm_input_get_afinfo() argument
96 afinfo = rcu_dereference(xfrm_input_afinfo[is_ipip][family]); in xfrm_input_get_afinfo()
105 bool is_ipip = (protocol == IPPROTO_IPIP || protocol == IPPROTO_IPV6); in xfrm_rcv_cb() local
109 afinfo = xfrm_input_get_afinfo(family, is_ipip); in xfrm_rcv_cb()
/linux-6.1.9/net/ipv4/
Dtunnel4.c135 .is_ipip = true,
/linux-6.1.9/net/ipv6/
Dtunnel6.c180 .is_ipip = true,
/linux-6.1.9/include/net/
Dxfrm.h388 bool is_ipip; member