Searched refs:inner_mode (Results 1 - 7 of 7) sorted by relevance
/linux-4.1.27/net/xfrm/ |
H A D | xfrm_input.c | 164 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 D | xfrm_output.c | 206 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 D | xfrm_state.c | 342 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 D | xfrm_policy.c | 1642 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 D | ip_vti.c | 109 family = x->inner_mode->afinfo->family; vti_rcv_cb()
|
/linux-4.1.27/include/net/ |
H A D | xfrm.h | 222 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 D | ip6_vti.c | 360 family = x->inner_mode->afinfo->family; vti6_rcv_cb()
|
Completed in 285 milliseconds