/kernel/linux/linux-5.10/include/net/ |
H A D | gre.h | 60 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()
|
/kernel/linux/linux-6.6/include/net/ |
H A D | gre.h | 60 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_gre.c | 39 if (tun_key->tun_flags & (TUNNEL_CSUM | TUNNEL_SEQ)) in mlx5e_gen_ip_tunnel_header_gretap()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | tc_tun_gre.c | 39 if (tun_key->tun_flags & (TUNNEL_CSUM | TUNNEL_SEQ)) in mlx5e_gen_ip_tunnel_header_gretap()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | if_tunnel.h | 167 #define TUNNEL_SEQ __cpu_to_be16(0x08) macro
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | if_tunnel.h | 167 #define TUNNEL_SEQ __cpu_to_be16(0x08) macro
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | if_tunnel.h | 160 #define TUNNEL_SEQ __cpu_to_be16(0x08) macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | if_tunnel.h | 160 #define TUNNEL_SEQ __cpu_to_be16(0x08) macro
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_gre.c | 462 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) : 0); in __gre_xmit() 497 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit() 500 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) : 0); in gre_fb_xmit() 581 gre_build_header(skb, 8, TUNNEL_SEQ, in erspan_fb_xmit() 697 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit() 768 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in ipgre_link_update() 965 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in __gre_tunnel_init()
|
H A D | ip_tunnel.c | 383 if (tunnel->parms.i_flags&TUNNEL_SEQ) { in ip_tunnel_rcv() 384 if (!(tpi->flags&TUNNEL_SEQ) || in ip_tunnel_rcv()
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_gre.c | 467 (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() 587 gre_build_header(skb, 8, TUNNEL_SEQ, in erspan_fb_xmit() 704 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit() 778 if (flags & TUNNEL_SEQ || in ipgre_link_update() 975 if (flags & TUNNEL_SEQ) in __gre_tunnel_init()
|
H A D | ip_tunnel.c | 397 if (tunnel->parms.i_flags&TUNNEL_SEQ) { in ip_tunnel_rcv() 398 if (!(tpi->flags&TUNNEL_SEQ) || in ip_tunnel_rcv()
|
/kernel/linux/linux-5.10/net/netfilter/ |
H A D | nft_tunnel.c | 461 info.key.tun_flags |= TUNNEL_SEQ; in nft_tunnel_obj_init() 636 if (info->key.tun_flags & TUNNEL_SEQ) in nft_tunnel_flags_dump()
|
/kernel/linux/linux-5.10/net/ipv6/ |
H A D | ip6_gre.c | 387 if (!(nt->parms.o_flags & TUNNEL_SEQ)) in ip6gre_tunnel_locate() 760 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit() 769 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) in __gre6_xmit() 780 (flags & TUNNEL_SEQ) ? htonl(atomic_fetch_inc(&tunnel->o_seqno)) in __gre6_xmit() 1068 gre_build_header(skb, 8, TUNNEL_SEQ, proto, 0, htonl(atomic_fetch_inc(&t->o_seqno))); in ip6erspan_tunnel_xmit() 1462 if (!(nt->parms.o_flags & TUNNEL_SEQ)) { in ip6gre_tnl_init_features()
|
H A D | ip6_tunnel.c | 844 if (tunnel->parms.i_flags & TUNNEL_SEQ) { in __ip6_tnl_rcv() 845 if (!(tpi->flags & TUNNEL_SEQ) || in __ip6_tnl_rcv()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | nft_tunnel.c | 490 info.key.tun_flags |= TUNNEL_SEQ; in nft_tunnel_obj_init() 665 if (info->key.tun_flags & TUNNEL_SEQ) in nft_tunnel_flags_dump()
|
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | ip6_gre.c | 782 (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() 1068 gre_build_header(skb, 8, TUNNEL_SEQ, proto, 0, htonl(atomic_fetch_inc(&t->o_seqno))); in ip6erspan_tunnel_xmit() 1468 if (flags & TUNNEL_SEQ) in ip6gre_tnl_init_features()
|
H A D | ip6_tunnel.c | 811 if (tunnel->parms.i_flags & TUNNEL_SEQ) { in __ip6_tnl_rcv() 812 if (!(tpi->flags & TUNNEL_SEQ) || in __ip6_tnl_rcv()
|
/kernel/linux/linux-5.10/net/core/ |
H A D | filter.c | 4401 info->key.tun_flags |= TUNNEL_SEQ; in BPF_CALL_4()
|
/kernel/linux/linux-6.6/net/core/ |
H A D | filter.c | 4758 info->key.tun_flags |= TUNNEL_SEQ; in BPF_CALL_4()
|