| /linux/net/ipv4/ |
| H A D | gre_offload.c | 30 if (unlikely(tnl_hlen < sizeof(struct gre_base_hdr))) in gre_gso_segment() 71 struct gre_base_hdr *greh; in gre_gso_segment() 91 greh = (struct gre_base_hdr *)skb_transport_header(skb); in gre_gso_segment() 127 const struct gre_base_hdr *greh; in gre_gro_receive() 193 const struct gre_base_hdr *greh2; in gre_gro_receive() 206 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 D | gre_demux.c | 65 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 D | ip_gre.c | 894 struct gre_base_hdr *greh; in ipgre_header() 905 greh = (struct gre_base_hdr *)(iph+1); in ipgre_header()
|
| /linux/include/net/ |
| H A D | gre.h | 8 struct gre_base_hdr { struct 14 struct gre_base_hdr fixed_header; argument 107 struct gre_base_hdr *greh; in gre_build_header() 113 greh = (struct gre_base_hdr *)skb->data; in gre_build_header()
|
| H A D | pptp.h | 19 struct gre_base_hdr gre_hd;
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_cls_redirect.h | 24 struct gre_base_hdr { struct 54 struct gre_base_hdr gre;
|
| H A D | test_cls_redirect_dynptr.c | 302 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
|
| H A D | test_cls_redirect.c | 410 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H A D | tc_tun_gre.c | 32 struct gre_base_hdr *greh = (struct gre_base_hdr *)(buf); in mlx5e_gen_ip_tunnel_header_gretap()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | flow_dissector.c | 67 struct gre_base_hdr { struct 70 } gre_base_hdr; variable 75 struct gre_base_hdr gre_hdr; 458 sizeof(struct gre_base_hdr), 488 + sizeof(struct gre_base_hdr),
|
| /linux/net/netfilter/ |
| H A D | nf_conntrack_proto_gre.c | 159 const struct gre_base_hdr *grehdr; in gre_pkt_to_tuple() 160 struct gre_base_hdr _grehdr; in gre_pkt_to_tuple()
|
| H A D | nf_flow_table_ip.c | 246 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ip() 267 struct gre_base_hdr *greh; in nf_flow_tuple_ip() 269 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ip() 965 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ipv6() 986 struct gre_base_hdr *greh; in nf_flow_tuple_ipv6() 988 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ipv6()
|
| H A D | nft_payload.c | 96 u32 offset = sizeof(struct gre_base_hdr); in __nft_payload_inner_offset() 97 struct gre_base_hdr *gre, _gre; in __nft_payload_inner_offset()
|
| H A D | nf_nat_proto.c | 245 const struct gre_base_hdr *greh; in gre_manip_pkt()
|
| /linux/net/sched/ |
| H A D | act_ct.c | 543 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv4() 566 struct gre_base_hdr *greh; in tcf_ct_flow_table_fill_tuple_ipv4() 568 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv4() 612 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv6() 635 struct gre_base_hdr *greh; in tcf_ct_flow_table_fill_tuple_ipv6() 637 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv6()
|
| /linux/net/core/ |
| H A D | lwt_bpf.c | 565 next_hdr_offset += sizeof(struct gre_base_hdr); in handle_gso_encap() 569 if (((struct gre_base_hdr *)next_hdr)->flags & GRE_CSUM) in handle_gso_encap()
|
| H A D | flow_dissector.c | 661 struct gre_base_hdr *hdr, _hdr; in __skb_flow_dissect_gre() 686 offset += sizeof(struct gre_base_hdr); in __skb_flow_dissect_gre()
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | efx_common.c | 1273 struct gre_base_hdr *greh; in efx_can_encap_offloads() 1316 greh = (struct gre_base_hdr *)skb_transport_header(skb); in efx_can_encap_offloads()
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| H A D | efx_common.c | 1300 struct gre_base_hdr *greh; in efx_can_encap_offloads() 1343 greh = (struct gre_base_hdr *)skb_transport_header(skb); in efx_can_encap_offloads()
|
| /linux/drivers/net/ethernet/hisilicon/hns3/ |
| H A D | hns3_enet.h | 612 struct gre_base_hdr *gre;
|
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_core.c | 1539 struct gre_base_hdr _greh, *greh; in ipvs_gre_decap()
|