Home
last modified time | relevance | path

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

/linux-6.1.9/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()
123 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header()
126 if (flags & TUNNEL_SEQ) { in gre_build_header()
/linux-6.1.9/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-6.1.9/net/ipv4/
Dip_gre.c467 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) : 0); in __gre_xmit()
502 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit()
505 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) : 0); in gre_fb_xmit()
586 gre_build_header(skb, 8, TUNNEL_SEQ, in erspan_fb_xmit()
699 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit()
773 if (flags & TUNNEL_SEQ || in ipgre_link_update()
970 if (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-6.1.9/include/uapi/linux/
Dif_tunnel.h167 #define TUNNEL_SEQ __cpu_to_be16(0x08) macro
/linux-6.1.9/net/netfilter/
Dnft_tunnel.c490 info.key.tun_flags |= TUNNEL_SEQ; in nft_tunnel_obj_init()
665 if (info->key.tun_flags & TUNNEL_SEQ) in nft_tunnel_flags_dump()
/linux-6.1.9/net/ipv6/
Dip6_gre.c782 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
791 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) in __gre6_xmit()
802 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) in __gre6_xmit()
1086 gre_build_header(skb, 8, TUNNEL_SEQ, proto, 0, htonl(atomic_fetch_inc(&t->o_seqno))); in ip6erspan_tunnel_xmit()
1487 if (flags & TUNNEL_SEQ) in ip6gre_tnl_init_features()
Dip6_tunnel.c811 if (tunnel->parms.i_flags & TUNNEL_SEQ) { in __ip6_tnl_rcv()
812 if (!(tpi->flags & TUNNEL_SEQ) || in __ip6_tnl_rcv()
/linux-6.1.9/net/core/
Dfilter.c4658 info->key.tun_flags |= TUNNEL_SEQ; in BPF_CALL_4()