Home
last modified time | relevance | path

Searched refs:TUNNEL_CSUM (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/include/net/
Dgre.h56 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/
Dtc_tun_gre.c39 if (tun_key->tun_flags & (TUNNEL_CSUM | TUNNEL_SEQ)) in mlx5e_gen_ip_tunnel_header_gretap()
/kernel/linux/linux-5.10/drivers/net/
Dbareudp.c288 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()
Dgeneve.c742 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()
Dvxlan.c2676 udp_sum = !!(info->key.tun_flags & TUNNEL_CSUM); in vxlan_xmit_one()
/kernel/linux/linux-5.10/include/uapi/linux/
Dif_tunnel.h164 #define TUNNEL_CSUM __cpu_to_be16(0x01) macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif_tunnel.h157 #define TUNNEL_CSUM __cpu_to_be16(0x01) macro
/kernel/linux/linux-5.10/net/ipv4/
Dip_gre.c377 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()
Dip_tunnel.c376 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()
Dudp_tunnel_core.c220 info->key.tun_flags |= TUNNEL_CSUM; in udp_tun_rx_dst()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_tunnel.c428 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/
Dpsample.c260 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/
Dact_tunnel_key.c417 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/
Dip_vs_xmit.c396 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/
Dip6_gre.c760 (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()
Dip6_tunnel.c836 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/
Daction.c418 BUILD_BUG_ON(NFP_FL_TUNNEL_CSUM != TUNNEL_CSUM || in nfp_fl_set_tun()
/kernel/linux/linux-5.10/net/openvswitch/
Dflow_netlink.c722 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/
Dfilter.c4363 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()