Home
last modified time | relevance | path

Searched refs:TUNNEL_SEQ (Results 1 – 9 of 9) sorted by relevance

/Linux-v5.4/include/net/
Dgre.h60 if (o_flags & TUNNEL_SEQ) in gre_calc_hlen()
76 tflags |= TUNNEL_SEQ; in gre_flags_to_tnl_flags()
97 if (tflags & TUNNEL_SEQ) in gre_tnl_flags_to_gre_flags()
134 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header()
137 if (flags & TUNNEL_SEQ) { in gre_build_header()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_gre.c39 if (tun_key->tun_flags & (TUNNEL_CSUM | TUNNEL_SEQ)) in mlx5e_gen_ip_tunnel_header_gretap()
/Linux-v5.4/include/uapi/linux/
Dif_tunnel.h167 #define TUNNEL_SEQ __cpu_to_be16(0x08) macro
/Linux-v5.4/net/ipv4/
Dip_gre.c436 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit()
477 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit()
480 (flags & TUNNEL_SEQ) ? htonl(tunnel->o_seqno++) : 0); in gre_fb_xmit()
556 gre_build_header(skb, 8, TUNNEL_SEQ, in erspan_fb_xmit()
730 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in ipgre_link_update()
933 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in __gre_tunnel_init()
Dip_tunnel.c383 if (tunnel->parms.i_flags&TUNNEL_SEQ) { in ip_tunnel_rcv()
384 if (!(tpi->flags&TUNNEL_SEQ) || in ip_tunnel_rcv()
/Linux-v5.4/net/netfilter/
Dnft_tunnel.c389 info.key.tun_flags |= TUNNEL_SEQ; in nft_tunnel_obj_init()
520 if (info->key.tun_flags & TUNNEL_SEQ) in nft_tunnel_flags_dump()
/Linux-v5.4/net/ipv6/
Dip6_gre.c386 if (!(nt->parms.o_flags & TUNNEL_SEQ)) in ip6gre_tunnel_locate()
747 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
753 (flags & TUNNEL_SEQ) ? htonl(tunnel->o_seqno++) in __gre6_xmit()
757 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre6_xmit()
1039 gre_build_header(skb, 8, TUNNEL_SEQ, proto, 0, htonl(t->o_seqno++)); in ip6erspan_tunnel_xmit()
1419 if (!(nt->parms.o_flags & TUNNEL_SEQ)) { in ip6gre_tnl_init_features()
Dip6_tunnel.c791 if (tunnel->parms.i_flags & TUNNEL_SEQ) { in __ip6_tnl_rcv()
792 if (!(tpi->flags & TUNNEL_SEQ) || in __ip6_tnl_rcv()
/Linux-v5.4/net/core/
Dfilter.c3974 info->key.tun_flags |= TUNNEL_SEQ; in BPF_CALL_4()