Home
last modified time | relevance | path

Searched refs:o_flags (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/net/ipv4/
Dip_gre.c436 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit()
441 tunnel->parms.o_flags, proto, tunnel->parms.o_key, in __gre_xmit()
625 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in ipgre_xmit()
678 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
701 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in gre_tap_xmit()
722 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()
730 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in ipgre_link_update()
731 if (!(tunnel->parms.o_flags & TUNNEL_CSUM) || in ipgre_link_update()
758 ((p.i_flags | p.o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ioctl()
763 p.o_flags = gre_flags_to_tnl_flags(p.o_flags); in ipgre_tunnel_ioctl()
[all …]
Dip_vti.c366 if (!(p.o_flags & GRE_KEY)) in vti_tunnel_ioctl()
377 p.o_flags |= GRE_KEY; in vti_tunnel_ioctl()
Dipip.c346 p.i_flags = p.o_flags = 0; in ipip_tunnel_ioctl()
Dip_tunnel.c894 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
/Linux-v5.4/include/net/
Dgre.h52 static inline int gre_calc_hlen(__be16 o_flags) in gre_calc_hlen() argument
56 if (o_flags & TUNNEL_CSUM) in gre_calc_hlen()
58 if (o_flags & TUNNEL_KEY) in gre_calc_hlen()
60 if (o_flags & TUNNEL_SEQ) in gre_calc_hlen()
Dip6_tunnel.h34 __be16 o_flags; member
/Linux-v5.4/net/ipv6/
Dip6_gre.c386 if (!(nt->parms.o_flags & TUNNEL_SEQ)) in ip6gre_tunnel_locate()
757 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre6_xmit()
760 gre_build_header(skb, tunnel->tun_hlen, tunnel->parms.o_flags, in __gre6_xmit()
784 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_ipv4()
818 if (gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM))) in ip6gre_xmit_ipv6()
866 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_other()
955 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
1142 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen()
1170 t->parms.o_flags = p->o_flags; in ip6gre_tnl_copy_tnl_parm()
1200 p->o_flags = gre_flags_to_tnl_flags(u->o_flags); in ip6gre_tnl_parm_from_user()
[all …]
Dip6_vti.c729 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
/Linux-v5.4/include/uapi/linux/
Dip6_tunnel.h51 __be16 o_flags; member
Dif_tunnel.h52 __be16 o_flags; member
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c32 return !!(parms.o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
241 (tunnel->parms.o_flags & ~okflags) == 0 && in mlxsw_sp_ipip_can_offload_gre4()
Dspectrum_span.c344 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap4_parms()
445 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap6_parms()
/Linux-v5.4/fs/
Dfsopen.c87 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument
92 O_RDWR | o_flags); in fscontext_create_fd()