Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_output.c333 switch (x->outer_mode.encap) { in xfrm4_prepare_output()
356 switch (x->outer_mode.encap) { in xfrm6_prepare_output()
372 switch (x->outer_mode.encap) { in xfrm_outer_mode_output()
375 if (x->outer_mode.family == AF_INET) in xfrm_outer_mode_output()
377 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_output()
381 if (x->outer_mode.family == AF_INET) in xfrm_outer_mode_output()
383 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_output()
387 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_output()
488 } while (x && !(x->outer_mode.flags & XFRM_MODE_FLAG_TUNNEL)); in xfrm_output_one()
Dxfrm_device.c50 switch (x->outer_mode.encap) { in xfrm_outer_mode_prep()
52 if (x->outer_mode.family == AF_INET) in xfrm_outer_mode_prep()
55 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_prep()
60 if (x->outer_mode.family == AF_INET) in xfrm_outer_mode_prep()
63 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_prep()
Dxfrm_input.c358 afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); in xfrm_prepare_input()
488 family = x->outer_mode.family; in xfrm_input()
687 if (x->outer_mode.flags & XFRM_MODE_FLAG_TUNNEL) { in xfrm_input()
697 family = x->outer_mode.family; in xfrm_input()
Dxfrm_state.c2563 const struct xfrm_mode *outer_mode; in __xfrm_init_state() local
2613 outer_mode = xfrm_get_mode(x->props.mode, family); in __xfrm_init_state()
2614 if (!outer_mode) { in __xfrm_init_state()
2619 x->outer_mode = *outer_mode; in __xfrm_init_state()
/net/ipv6/
Desp6_offload.c128 if (x->outer_mode.encap == XFRM_MODE_TRANSPORT) { in esp6_gso_encap()
171 switch (x->outer_mode.encap) { in xfrm6_outer_mode_gso_segment()
Dxfrm6_output.c126 afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); in __xfrm6_output_state_finish()
/net/ipv4/
Dxfrm4_output.c80 afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); in __xfrm4_output()
Desp4_offload.c137 switch (x->outer_mode.encap) { in xfrm4_outer_mode_gso_segment()