Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_input.c60 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) in xfrm_input_register_afinfo()
63 rcu_assign_pointer(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], afinfo); in xfrm_input_register_afinfo()
74 if (likely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family])) { in xfrm_input_unregister_afinfo()
75 if (unlikely(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family] != afinfo)) in xfrm_input_unregister_afinfo()
78 RCU_INIT_POINTER(xfrm_input_afinfo[afinfo->is_ipip][afinfo->family], NULL); in xfrm_input_unregister_afinfo()
86 static const struct xfrm_input_afinfo *xfrm_input_get_afinfo(u8 family, bool is_ipip) in xfrm_input_get_afinfo() argument
94 afinfo = rcu_dereference(xfrm_input_afinfo[is_ipip][family]); in xfrm_input_get_afinfo()
103 bool is_ipip = (protocol == IPPROTO_IPIP || protocol == IPPROTO_IPV6); in xfrm_rcv_cb() local
107 afinfo = xfrm_input_get_afinfo(family, is_ipip); in xfrm_rcv_cb()
/kernel/linux/linux-5.10/net/ipv4/
Dtunnel4.c135 .is_ipip = true,
/kernel/linux/linux-5.10/net/ipv6/
Dtunnel6.c180 .is_ipip = true,
/kernel/linux/linux-5.10/include/net/
Dxfrm.h383 bool is_ipip; member