Searched refs:outer_mode (Results 1 – 8 of 8) sorted by relevance
333 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()
50 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()
358 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()
2563 const struct xfrm_mode *outer_mode; in __xfrm_init_state() local2613 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()
128 if (x->outer_mode.encap == XFRM_MODE_TRANSPORT) { in esp6_gso_encap()171 switch (x->outer_mode.encap) { in xfrm6_outer_mode_gso_segment()
126 afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); in __xfrm6_output_state_finish()
80 afinfo = xfrm_state_afinfo_get_rcu(x->outer_mode.family); in __xfrm4_output()
137 switch (x->outer_mode.encap) { in xfrm4_outer_mode_gso_segment()