Home
last modified time | relevance | path

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

/linux-6.6.21/net/ipv4/
Dgre_offload.c30 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()
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()
Dip_gre.c855 struct gre_base_hdr *greh; in ipgre_header()
858 greh = (struct gre_base_hdr *)(iph+1); in ipgre_header()
/linux-6.6.21/include/net/
Dgre.h8 struct gre_base_hdr { struct
14 struct gre_base_hdr fixed_header; argument
113 struct gre_base_hdr *greh; in gre_build_header()
119 greh = (struct gre_base_hdr *)skb->data; in gre_build_header()
Dpptp.h19 struct gre_base_hdr gre_hd;
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_cls_redirect.h24 struct gre_base_hdr { struct
54 struct gre_base_hdr gre;
Dtest_cls_redirect_dynptr.c300 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
Dtest_cls_redirect.c409 int32_t delta = sizeof(struct gre_base_hdr) - encap_overhead; in forward_with_gre()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_gre.c32 struct gre_base_hdr *greh = (struct gre_base_hdr *)(buf); in mlx5e_gen_ip_tunnel_header_gretap()
/linux-6.6.21/net/netfilter/
Dnf_flow_table_ip.c203 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ip()
224 struct gre_base_hdr *greh; in nf_flow_tuple_ip()
226 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ip()
598 ctx->hdrsize = sizeof(struct gre_base_hdr); in nf_flow_tuple_ipv6()
619 struct gre_base_hdr *greh; in nf_flow_tuple_ipv6()
621 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in nf_flow_tuple_ipv6()
Dnf_conntrack_proto_gre.c157 const struct gre_base_hdr *grehdr; in gre_pkt_to_tuple()
158 struct gre_base_hdr _grehdr; in gre_pkt_to_tuple()
Dnft_payload.c105 u32 offset = sizeof(struct gre_base_hdr); in __nft_payload_inner_offset()
106 struct gre_base_hdr *gre, _gre; in __nft_payload_inner_offset()
Dnf_nat_proto.c284 const struct gre_base_hdr *greh; in gre_manip_pkt()
/linux-6.6.21/net/sched/
Dact_ct.c535 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv4()
558 struct gre_base_hdr *greh; in tcf_ct_flow_table_fill_tuple_ipv4()
560 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv4()
604 hdrsize = sizeof(struct gre_base_hdr); in tcf_ct_flow_table_fill_tuple_ipv6()
627 struct gre_base_hdr *greh; in tcf_ct_flow_table_fill_tuple_ipv6()
629 greh = (struct gre_base_hdr *)(skb_network_header(skb) + thoff); in tcf_ct_flow_table_fill_tuple_ipv6()
/linux-6.6.21/net/core/
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()
Dflow_dissector.c637 struct gre_base_hdr *hdr, _hdr; in __skb_flow_dissect_gre()
662 offset += sizeof(struct gre_base_hdr); in __skb_flow_dissect_gre()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Defx_common.c1310 struct gre_base_hdr *greh; in efx_can_encap_offloads()
1353 greh = (struct gre_base_hdr *)skb_transport_header(skb); in efx_can_encap_offloads()
/linux-6.6.21/drivers/net/ethernet/sfc/
Defx_common.c1293 struct gre_base_hdr *greh; in efx_can_encap_offloads()
1336 greh = (struct gre_base_hdr *)skb_transport_header(skb); in efx_can_encap_offloads()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/
Dhns3_enet.h608 struct gre_base_hdr *gre;
/linux-6.6.21/net/netfilter/ipvs/
Dip_vs_core.c1543 struct gre_base_hdr _greh, *greh; in ipvs_gre_decap()
/linux-6.6.21/net/xfrm/
Dxfrm_policy.c3524 struct gre_base_hdr *gre_hdr; in decode_session6()
3528 gre_hdr = (struct gre_base_hdr *)(nh + offset); in decode_session6()