Home
last modified time | relevance | path

Searched refs:gre_base_hdr (Results 1 – 16 of 16) sorted by relevance

/OK3568_Linux_fs/kernel/net/ipv4/
H A Dgre_offload.c28 if (unlikely(tnl_hlen < sizeof(struct gre_base_hdr))) in gre_gso_segment()
63 struct gre_base_hdr *greh; in gre_gso_segment()
83 greh = (struct gre_base_hdr *)skb_transport_header(skb); in gre_gso_segment()
121 const struct gre_base_hdr *greh; in gre_gro_receive()
191 const struct gre_base_hdr *greh2; in gre_gro_receive()
204 greh2 = (struct gre_base_hdr *)(p->data + off); in gre_gro_receive()
238 struct gre_base_hdr *greh = (struct gre_base_hdr *)(skb->data + nhoff); in gre_gro_complete()
H A Dgre_demux.c65 const struct gre_base_hdr *greh; in gre_parse_header()
69 if (unlikely(!pskb_may_pull(skb, nhs + sizeof(struct gre_base_hdr)))) in gre_parse_header()
72 greh = (struct gre_base_hdr *)(skb->data + nhs); in gre_parse_header()
82 greh = (struct gre_base_hdr *)(skb->data + nhs); in gre_parse_header()
H A Dip_gre.c848 struct gre_base_hdr *greh; in ipgre_header()
851 greh = (struct gre_base_hdr *)(iph+1); in ipgre_header()
/OK3568_Linux_fs/kernel/include/net/
H A Dgre.h8 struct gre_base_hdr { struct
14 struct gre_base_hdr fixed_header; argument
124 struct gre_base_hdr *greh; in gre_build_header()
130 greh = (struct gre_base_hdr *)skb->data; in gre_build_header()
H A Dpptp.h16 struct gre_base_hdr gre_hd;
/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect.h15 struct gre_base_hdr { struct
45 struct gre_base_hdr gre;
H A Dtest_cls_redirect.c408 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_gre.c32 struct gre_base_hdr *greh = (struct gre_base_hdr *)(buf); in mlx5e_gen_ip_tunnel_header_gretap()
/OK3568_Linux_fs/kernel/net/netfilter/
H A Dnf_conntrack_proto_gre.c170 const struct gre_base_hdr *grehdr; in gre_pkt_to_tuple()
171 struct gre_base_hdr _grehdr; in gre_pkt_to_tuple()
H A Dnf_nat_proto.c284 const struct gre_base_hdr *greh; in gre_manip_pkt()
/OK3568_Linux_fs/kernel/net/core/
H A Dlwt_bpf.c560 next_hdr_offset += sizeof(struct gre_base_hdr); in handle_gso_encap()
564 if (((struct gre_base_hdr *)next_hdr)->flags & GRE_CSUM) in handle_gso_encap()
H A Dflow_dissector.c525 struct gre_base_hdr *hdr, _hdr; in __skb_flow_dissect_gre()
550 offset += sizeof(struct gre_base_hdr); in __skb_flow_dissect_gre()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.h499 struct gre_base_hdr *gre;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/
H A Defx_common.c1297 struct gre_base_hdr *greh; in efx_can_encap_offloads()
1340 greh = (struct gre_base_hdr *)skb_transport_header(skb); in efx_can_encap_offloads()
/OK3568_Linux_fs/kernel/net/netfilter/ipvs/
H A Dip_vs_core.c1608 struct gre_base_hdr _greh, *greh; in ipvs_gre_decap()
/OK3568_Linux_fs/kernel/net/xfrm/
H A Dxfrm_policy.c3472 struct gre_base_hdr *gre_hdr; in decode_session6()
3476 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()