Searched refs:o_flags (Results 1 – 13 of 13) sorted by relevance
/Linux-v5.4/net/ipv4/ |
D | ip_gre.c | 436 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 …]
|
D | ip_vti.c | 366 if (!(p.o_flags & GRE_KEY)) in vti_tunnel_ioctl() 377 p.o_flags |= GRE_KEY; in vti_tunnel_ioctl()
|
D | ipip.c | 346 p.i_flags = p.o_flags = 0; in ipip_tunnel_ioctl()
|
D | ip_tunnel.c | 894 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
|
/Linux-v5.4/include/net/ |
D | gre.h | 52 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()
|
D | ip6_tunnel.h | 34 __be16 o_flags; member
|
/Linux-v5.4/net/ipv6/ |
D | ip6_gre.c | 386 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 …]
|
D | ip6_vti.c | 729 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
|
/Linux-v5.4/include/uapi/linux/ |
D | ip6_tunnel.h | 51 __be16 o_flags; member
|
D | if_tunnel.h | 52 __be16 o_flags; member
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 32 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()
|
D | spectrum_span.c | 344 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/ |
D | fsopen.c | 87 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()
|