Searched refs:inner_mode (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/net/xfrm/
H A Dxfrm_input.c164 struct xfrm_mode *inner_mode = x->inner_mode; xfrm_prepare_input() local
172 inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); xfrm_prepare_input()
173 if (inner_mode == NULL) xfrm_prepare_input()
177 skb->protocol = inner_mode->afinfo->eth_proto; xfrm_prepare_input()
178 return inner_mode->input2(x, skb); xfrm_prepare_input()
190 struct xfrm_mode *inner_mode; xfrm_input() local
329 inner_mode = x->inner_mode; xfrm_input()
332 inner_mode = xfrm_ip2inner_mode(x, XFRM_MODE_SKB_CB(skb)->protocol); xfrm_input()
333 if (inner_mode == NULL) xfrm_input()
337 if (inner_mode->input(x, skb)) { xfrm_input()
372 return x->inner_mode->afinfo->transport_finish(skb, async); xfrm_input()
H A Dxfrm_output.c206 struct xfrm_mode *inner_mode; xfrm_inner_extract_output() local
208 inner_mode = xfrm_ip2inner_mode(x, xfrm_inner_extract_output()
211 inner_mode = x->inner_mode; xfrm_inner_extract_output()
213 if (inner_mode == NULL) xfrm_inner_extract_output()
215 return inner_mode->afinfo->extract_output(x, skb); xfrm_inner_extract_output()
H A Dxfrm_state.c342 if (x->inner_mode) xfrm_state_gc_destroy()
343 xfrm_put_mode(x->inner_mode); xfrm_state_gc_destroy()
493 x->inner_mode = NULL; xfrm_state_alloc()
1988 struct xfrm_mode *inner_mode; __xfrm_init_state() local
2009 inner_mode = xfrm_get_mode(x->props.mode, x->sel.family); __xfrm_init_state()
2010 if (inner_mode == NULL) __xfrm_init_state()
2013 if (!(inner_mode->flags & XFRM_MODE_FLAG_TUNNEL) && __xfrm_init_state()
2015 xfrm_put_mode(inner_mode); __xfrm_init_state()
2019 x->inner_mode = inner_mode; __xfrm_init_state()
2024 inner_mode = xfrm_get_mode(x->props.mode, x->props.family); __xfrm_init_state()
2025 if (inner_mode == NULL) __xfrm_init_state()
2028 if (!(inner_mode->flags & XFRM_MODE_FLAG_TUNNEL)) { __xfrm_init_state()
2029 xfrm_put_mode(inner_mode); __xfrm_init_state()
2032 x->inner_mode = inner_mode; __xfrm_init_state()
H A Dxfrm_policy.c1642 struct xfrm_mode *inner_mode; xfrm_bundle_create() local
1674 inner_mode = xfrm_ip2inner_mode(xfrm[i], xfrm_bundle_create()
1676 if (!inner_mode) { xfrm_bundle_create()
1682 inner_mode = xfrm[i]->inner_mode; xfrm_bundle_create()
1712 dst1->output = inner_mode->afinfo->output; xfrm_bundle_create()
/linux-4.1.27/net/ipv4/
H A Dip_vti.c109 family = x->inner_mode->afinfo->family; vti_rcv_cb()
/linux-4.1.27/include/net/
H A Dxfrm.h222 struct xfrm_mode *inner_mode; member in struct:xfrm_state
464 return x->inner_mode; xfrm_ip2inner_mode()
/linux-4.1.27/net/ipv6/
H A Dip6_vti.c360 family = x->inner_mode->afinfo->family; vti6_rcv_cb()

Completed in 285 milliseconds