Home
last modified time | relevance | path

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

/linux-4.1.27/net/ipv4/
Dgre_offload.c55 csum = !!(greh->flags & GRE_CSUM); in gre_gso_segment()
146 if ((greh->flags & ~(GRE_KEY|GRE_CSUM)) != 0) in gre_gro_receive()
161 if (greh->flags & GRE_CSUM) in gre_gro_receive()
172 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.c122 if (greh->flags & GRE_CSUM) { in parse_gre_header()
Dxfrm4_policy.c171 if (greflags[0] & GRE_CSUM) in _decode_session4()
/linux-4.1.27/include/net/
Dgre.h64 if (flags & GRE_CSUM) in gre_flags_to_tnl_flags()
87 flags |= GRE_CSUM; in tnl_flags_to_gre_flags()
/linux-4.1.27/net/ipv6/
Dip6_gre.c379 if (flags&(GRE_CSUM|GRE_KEY|GRE_SEQ|GRE_ROUTING|GRE_VERSION)) { in ip6gre_err()
384 if (flags&GRE_CSUM) in ip6gre_err()
467 if (flags&(GRE_CSUM|GRE_KEY|GRE_ROUTING|GRE_SEQ|GRE_VERSION)) { in ip6gre_rcv()
474 if (flags&GRE_CSUM) { in ip6gre_rcv()
519 if (((flags&GRE_CSUM) && csum) || in ip6gre_rcv()
520 (!(flags&GRE_CSUM) && tunnel->parms.i_flags&GRE_CSUM)) { in ip6gre_rcv()
743 if (tunnel->parms.o_flags&(GRE_KEY|GRE_CSUM|GRE_SEQ)) { in ip6gre_xmit2()
755 if (tunnel->parms.o_flags&GRE_CSUM) { in ip6gre_xmit2()
966 if (t->parms.o_flags&(GRE_CSUM|GRE_KEY|GRE_SEQ)) { in ip6gre_tnl_link_config()
967 if (t->parms.o_flags&GRE_CSUM) in ip6gre_tnl_link_config()
/linux-4.1.27/include/uapi/linux/
Dif_tunnel.h21 #define GRE_CSUM __cpu_to_be16(0x8000) macro
/linux-4.1.27/samples/bpf/
Dsockex2_kern.c142 if (gre_flags & GRE_CSUM) in flow_dissector()
/linux-4.1.27/net/core/
Dflow_dissector.c219 if (hdr->flags & GRE_CSUM) in __skb_flow_dissect()