Home
last modified time | relevance | path

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

/openbmc/linux/include/net/
H A 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c39 if (tun_key->tun_flags & (TUNNEL_CSUM | TUNNEL_SEQ)) in mlx5e_gen_ip_tunnel_header_gretap()
/openbmc/linux/include/uapi/linux/
H A Dif_tunnel.h167 #define TUNNEL_SEQ __cpu_to_be16(0x08) macro
/openbmc/linux/net/ipv4/
H A Dip_gre.c472 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) : 0); in __gre_xmit()
507 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit()
510 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) : 0); in gre_fb_xmit()
592 gre_build_header(skb, 8, TUNNEL_SEQ, in erspan_fb_xmit()
709 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit()
783 if (flags & TUNNEL_SEQ || in ipgre_link_update()
980 if (flags & TUNNEL_SEQ) in __gre_tunnel_init()
H A Dip_tunnel.c397 if (tunnel->parms.i_flags&TUNNEL_SEQ) { in ip_tunnel_rcv()
398 if (!(tpi->flags&TUNNEL_SEQ) || in ip_tunnel_rcv()
/openbmc/linux/net/netfilter/
H A 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()
/openbmc/linux/net/ipv6/
H A Dip6_gre.c785 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit()
794 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) in __gre6_xmit()
805 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) in __gre6_xmit()
1071 gre_build_header(skb, 8, TUNNEL_SEQ, proto, 0, htonl(atomic_fetch_inc(&t->o_seqno))); in ip6erspan_tunnel_xmit()
1471 if (flags & TUNNEL_SEQ) in ip6gre_tnl_init_features()
H A Dip6_tunnel.c811 if (tunnel->parms.i_flags & TUNNEL_SEQ) { in __ip6_tnl_rcv()
812 if (!(tpi->flags & TUNNEL_SEQ) || in __ip6_tnl_rcv()
/openbmc/linux/net/core/
H A Dfilter.c4785 info->key.tun_flags |= TUNNEL_SEQ; in BPF_CALL_4()