Searched refs:inner_mode (Results 1 – 8 of 8) sorted by relevance
102 const struct xfrm_mode *inner_mode; in vti_rcv_cb() local121 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()
125 __be16 type = x->inner_mode.family == AF_INET6 ? htons(ETH_P_IPV6) in xfrm4_tunnel_gso_segment()
346 const struct xfrm_mode *inner_mode; in vti6_rcv_cb() local365 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()
161 __be16 type = x->inner_mode.family == AF_INET ? htons(ETH_P_IP) in xfrm6_tunnel_gso_segment()
361 const struct xfrm_mode *inner_mode; in xfrmi_rcv_cb() local391 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()
2860 const struct xfrm_mode *inner_mode; in __xfrm_init_state() local2872 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()
2659 const struct xfrm_mode *inner_mode; in xfrm_bundle_create() local2700 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()
289 struct xfrm_mode inner_mode; member475 return &x->inner_mode; in xfrm_ip2inner_mode()