Home
last modified time | relevance | path

Searched refs:inner_mode (Results 1 – 8 of 8) sorted by relevance

/linux/net/ipv4/
H A Dip_vti.c102 const struct xfrm_mode *inner_mode; in vti_rcv_cb() local
121 inner_mode = &x->inner_mode; in vti_rcv_cb()
124 inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); in vti_rcv_cb()
125 if (inner_mode == NULL) { in vti_rcv_cb()
132 family = inner_mode->family; in vti_rcv_cb()
H A Desp4_offload.c125 __be16 type = x->inner_mode.family == AF_INET6 ? htons(ETH_P_IPV6) in xfrm4_tunnel_gso_segment()
/linux/net/ipv6/
H A Dip6_vti.c346 const struct xfrm_mode *inner_mode; in vti6_rcv_cb() local
365 inner_mode = &x->inner_mode; in vti6_rcv_cb()
368 inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); in vti6_rcv_cb()
369 if (inner_mode == NULL) { in vti6_rcv_cb()
376 family = inner_mode->family; in vti6_rcv_cb()
H A Desp6_offload.c161 __be16 type = x->inner_mode.family == AF_INET ? htons(ETH_P_IP) in xfrm6_tunnel_gso_segment()
/linux/net/xfrm/
H A Dxfrm_interface_core.c361 const struct xfrm_mode *inner_mode; in xfrmi_rcv_cb() local
391 inner_mode = &x->inner_mode; in xfrmi_rcv_cb()
394 inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); in xfrmi_rcv_cb()
395 if (inner_mode == NULL) { in xfrmi_rcv_cb()
403 inner_mode->family)) in xfrmi_rcv_cb()
H A Dxfrm_state.c2860 const struct xfrm_mode *inner_mode; in __xfrm_init_state() local
2872 inner_mode = xfrm_get_mode(x->props.mode, x->sel.family); in __xfrm_init_state()
2873 if (inner_mode == NULL) { in __xfrm_init_state()
2878 if (!(inner_mode->flags & XFRM_MODE_FLAG_TUNNEL) && in __xfrm_init_state()
2884 x->inner_mode = *inner_mode; in __xfrm_init_state()
2889 inner_mode = xfrm_get_mode(x->props.mode, x->props.family); in __xfrm_init_state()
2890 if (inner_mode == NULL) { in __xfrm_init_state()
2895 x->inner_mode = *inner_mode; in __xfrm_init_state()
H A Dxfrm_policy.c2659 const struct xfrm_mode *inner_mode; in xfrm_bundle_create() local
2700 inner_mode = xfrm_ip2inner_mode(xfrm[i], in xfrm_bundle_create()
2702 if (!inner_mode) { in xfrm_bundle_create()
2708 inner_mode = &xfrm[i]->inner_mode; in xfrm_bundle_create()
2741 afinfo = xfrm_state_afinfo_get_rcu(inner_mode->family); in xfrm_bundle_create()
/linux/include/net/
H A Dxfrm.h289 struct xfrm_mode inner_mode; member
475 return &x->inner_mode; in xfrm_ip2inner_mode()