Home
last modified time | relevance | path

Searched refs:GRE_CSUM (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/net/ipv4/
Dgre_offload.c139 if ((greh->flags & ~(GRE_KEY|GRE_CSUM)) != 0) in gre_gro_receive()
147 if ((greh->flags & GRE_CSUM) && NAPI_GRO_CB(skb)->is_fou) in gre_gro_receive()
162 if (greh->flags & GRE_CSUM) in gre_gro_receive()
173 if ((greh->flags & GRE_CSUM) && !NAPI_GRO_CB(skb)->flush) { in gre_gro_receive()
242 if (greh->flags & GRE_CSUM) in gre_gro_complete()
Dgre_demux.c84 if (greh->flags & GRE_CSUM) { in gre_parse_header()
/Linux-v5.4/include/uapi/linux/
Dif_tunnel.h25 #define GRE_CSUM __cpu_to_be16(0x8000) macro
35 #define GRE_IS_CSUM(f) ((f) & GRE_CSUM)
/Linux-v5.4/include/net/
Dgre.h69 if (flags & GRE_CSUM) in gre_flags_to_tnl_flags()
92 flags |= GRE_CSUM; in gre_tnl_flags_to_gre_flags()
/Linux-v5.4/samples/bpf/
Dsockex2_kern.c143 if (gre_flags & GRE_CSUM) in flow_dissector()
Dsockex3_kern.c160 if (gre_flags & GRE_CSUM) in parse_ip_proto()
/Linux-v5.4/net/core/
Dlwt_bpf.c567 if (((struct gre_base_hdr *)next_hdr)->flags & GRE_CSUM) in handle_gso_encap()
Dflow_dissector.c525 if (hdr->flags & GRE_CSUM) in __skb_flow_dissect_gre()
/Linux-v5.4/net/netfilter/ipvs/
Dip_vs_core.c1632 if ((greh->flags & ~GRE_CSUM) != 0) in ipvs_gre_decap()
/Linux-v5.4/net/xfrm/
Dxfrm_policy.c3360 if (greflags[0] & GRE_CSUM) in decode_session4()