/kernel/linux/linux-5.10/include/net/ |
D | gre.h | 56 if (o_flags & TUNNEL_CSUM) in gre_calc_hlen() 70 tflags |= TUNNEL_CSUM; in gre_flags_to_tnl_flags() 91 if (tflags & TUNNEL_CSUM) in gre_tnl_flags_to_gre_flags() 134 if (flags & (TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_SEQ)) { in gre_build_header() 145 if (flags & TUNNEL_CSUM && in gre_build_header()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/ |
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/drivers/net/ |
D | bareudp.c | 288 bool udp_sum = !!(info->key.tun_flags & TUNNEL_CSUM); in bareudp_xmit_skb() 336 !(info->key.tun_flags & TUNNEL_CSUM)); in bareudp_xmit_skb() 351 bool udp_sum = !!(info->key.tun_flags & TUNNEL_CSUM); in bareudp6_xmit_skb() 398 !(info->key.tun_flags & TUNNEL_CSUM)); in bareudp6_xmit_skb()
|
D | geneve.c | 742 bool udp_sum = !!(info->key.tun_flags & TUNNEL_CSUM); in geneve_build_skb() 975 !(info->key.tun_flags & TUNNEL_CSUM)); in geneve_xmit_skb() 1054 !(info->key.tun_flags & TUNNEL_CSUM)); in geneve6_xmit_skb() 1461 info->key.tun_flags |= TUNNEL_CSUM; in geneve_nl2info() 1536 info->key.tun_flags |= TUNNEL_CSUM; in geneve_nl2info() 1546 info->key.tun_flags &= ~TUNNEL_CSUM; in geneve_nl2info() 1770 !!(info->key.tun_flags & TUNNEL_CSUM))) in geneve_fill_info() 1779 !(info->key.tun_flags & TUNNEL_CSUM))) in geneve_fill_info()
|
D | vxlan.c | 2676 udp_sum = !!(info->key.tun_flags & TUNNEL_CSUM); in vxlan_xmit_one()
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | if_tunnel.h | 164 #define TUNNEL_CSUM __cpu_to_be16(0x01) macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | if_tunnel.h | 157 #define TUNNEL_CSUM __cpu_to_be16(0x01) macro
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | ip_gre.c | 377 flags = tpi->flags & (TUNNEL_CSUM | TUNNEL_KEY); in __ipgre_rcv() 493 if (gre_handle_offloads(skb, !!(tun_info->key.tun_flags & TUNNEL_CSUM))) in gre_fb_xmit() 497 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in gre_fb_xmit() 653 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in ipgre_xmit() 732 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in gre_tap_xmit() 766 if (!(tunnel->parms.o_flags & TUNNEL_CSUM) || in ipgre_link_update() 967 if (!(tunnel->parms.o_flags & TUNNEL_CSUM) || in __gre_tunnel_init()
|
D | ip_tunnel.c | 376 if ((!(tpi->flags&TUNNEL_CSUM) && (tunnel->parms.i_flags&TUNNEL_CSUM)) || in ip_tunnel_rcv() 377 ((tpi->flags&TUNNEL_CSUM) && !(tunnel->parms.i_flags&TUNNEL_CSUM))) { in ip_tunnel_rcv()
|
D | udp_tunnel_core.c | 220 info->key.tun_flags |= TUNNEL_CSUM; in udp_tun_rx_dst()
|
/kernel/linux/linux-5.10/net/netfilter/ |
D | nft_tunnel.c | 428 info.key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in nft_tunnel_obj_init() 457 info.key.tun_flags &= ~TUNNEL_CSUM; in nft_tunnel_obj_init() 634 if (!(info->key.tun_flags & TUNNEL_CSUM)) in nft_tunnel_flags_dump()
|
/kernel/linux/linux-5.10/net/psample/ |
D | psample.c | 260 if ((tun_key->tun_flags & TUNNEL_CSUM) && in __psample_ip_tun_to_nlattr() 339 if (tun_key->tun_flags & TUNNEL_CSUM) in psample_tunnel_meta_len()
|
/kernel/linux/linux-5.10/net/sched/ |
D | act_tunnel_key.c | 417 flags |= TUNNEL_CSUM; in tunnel_key_init() 420 flags &= ~TUNNEL_CSUM; in tunnel_key_init() 748 !(key->tun_flags & TUNNEL_CSUM)) || in tunnel_key_dump()
|
/kernel/linux/linux-5.10/net/netfilter/ipvs/ |
D | ip_vs_xmit.c | 396 tflags |= TUNNEL_CSUM; in __ip_vs_get_out_rt() 559 tflags |= TUNNEL_CSUM; in __ip_vs_get_out_rt_v6() 1105 tflags |= TUNNEL_CSUM; in ipvs_gre_encap() 1190 tflags |= TUNNEL_CSUM; in ip_vs_tunnel_xmit() 1340 tflags |= TUNNEL_CSUM; in ip_vs_tunnel_xmit_v6()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | ip6_gre.c | 760 (TUNNEL_CSUM | TUNNEL_KEY | TUNNEL_SEQ); in __gre6_xmit() 803 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_ipv4() 837 if (gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM))) in ip6gre_xmit_ipv6() 885 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_other() 1463 if (!(nt->parms.o_flags & TUNNEL_CSUM) || in ip6gre_tnl_init_features()
|
D | ip6_tunnel.c | 836 if ((!(tpi->flags & TUNNEL_CSUM) && in __ip6_tnl_rcv() 837 (tunnel->parms.i_flags & TUNNEL_CSUM)) || in __ip6_tnl_rcv() 838 ((tpi->flags & TUNNEL_CSUM) && in __ip6_tnl_rcv() 839 !(tunnel->parms.i_flags & TUNNEL_CSUM))) { in __ip6_tnl_rcv()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | action.c | 418 BUILD_BUG_ON(NFP_FL_TUNNEL_CSUM != TUNNEL_CSUM || in nfp_fl_set_tun()
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | flow_netlink.c | 722 tun_flags |= TUNNEL_CSUM; in ip_tun_from_nlattr() 903 if ((output->tun_flags & TUNNEL_CSUM) && in __ip_tun_to_nlattr()
|
/kernel/linux/linux-5.10/net/core/ |
D | filter.c | 4363 info->key.tun_flags = TUNNEL_KEY | TUNNEL_CSUM | TUNNEL_NOCACHE; in BPF_CALL_4() 4367 info->key.tun_flags &= ~TUNNEL_CSUM; in BPF_CALL_4()
|