Home
last modified time | relevance | path

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

/net/xfrm/
Dxfrm_device.c59 if (x->outer_mode.family == AF_INET6) in __xfrm_mode_beet_prep()
69 switch (x->outer_mode.encap) { in xfrm_outer_mode_prep()
71 if (x->outer_mode.family == AF_INET) in xfrm_outer_mode_prep()
74 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_prep()
79 if (x->outer_mode.family == AF_INET) in xfrm_outer_mode_prep()
82 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_prep()
87 if (x->outer_mode.family == AF_INET) in xfrm_outer_mode_prep()
90 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_prep()
Dxfrm_output.c339 switch (x->outer_mode.encap) { in xfrm4_prepare_output()
362 switch (x->outer_mode.encap) { in xfrm6_prepare_output()
378 switch (x->outer_mode.encap) { 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_INET) in xfrm_outer_mode_output()
389 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_output()
393 if (x->outer_mode.family == AF_INET6) in xfrm_outer_mode_output()
492 } while (x && !(x->outer_mode.flags & XFRM_MODE_FLAG_TUNNEL)); in xfrm_output_one()
572 switch (x->outer_mode.family) { in xfrm_output()
[all …]
Dxfrm_input.c359 switch (x->outer_mode.family) { in xfrm_prepare_input()
493 family = x->outer_mode.family; in xfrm_input()
692 if (x->outer_mode.flags & XFRM_MODE_FLAG_TUNNEL) { in xfrm_input()
702 family = x->outer_mode.family; in xfrm_input()
Dxfrm_state.c2568 const struct xfrm_mode *outer_mode; in __xfrm_init_state() local
2618 outer_mode = xfrm_get_mode(x->props.mode, family); in __xfrm_init_state()
2619 if (!outer_mode) { in __xfrm_init_state()
2624 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()
216 switch (x->outer_mode.encap) { in xfrm6_outer_mode_gso_segment()
/net/ipv4/
Desp4_offload.c178 switch (x->outer_mode.encap) { in xfrm4_outer_mode_gso_segment()