/linux-6.12.1/net/ipv4/ |
D | netfilter.c | 30 unsigned int hh_len; in ip_route_me_harder() local 77 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_route_me_harder() 78 if (skb_headroom(skb) < hh_len && in ip_route_me_harder() 79 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip_route_me_harder()
|
D | ip_output.c | 204 unsigned int hh_len = LL_RESERVED_SPACE(dev); in ip_finish_output2() local 216 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in ip_finish_output2() 217 skb = skb_expand_head(skb, hh_len); in ip_finish_output2() 966 int hh_len; in __ip_append_data() local 986 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in __ip_append_data() 1097 alloc_extra = hh_len + 15; in __ip_append_data() 1142 skb_reserve(skb, hh_len); in __ip_append_data()
|
/linux-6.12.1/net/ipv6/ |
D | netfilter.c | 29 unsigned int hh_len; in ip6_route_me_harder() local 75 hh_len = skb_dst(skb)->dev->hard_header_len; in ip6_route_me_harder() 76 if (skb_headroom(skb) < hh_len && in ip6_route_me_harder() 77 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip6_route_me_harder()
|
D | ip6_output.c | 65 unsigned int hh_len = LL_RESERVED_SPACE(dev); in ip6_finish_output2() local 72 if (unlikely(hh_len > skb_headroom(skb)) && dev->header_ops) { in ip6_finish_output2() 75 skb = skb_expand_head(skb, hh_len); in ip6_finish_output2() 1429 int hh_len; in __ip6_append_data() local 1452 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in __ip6_append_data() 1609 alloc_extra = hh_len; in __ip6_append_data() 1671 skb_reserve(skb, hh_len + sizeof(struct frag_hdr) + in __ip6_append_data()
|
/linux-6.12.1/net/mpls/ |
D | mpls_iptunnel.c | 41 unsigned int hh_len; in mpls_xmit() local 104 hh_len = LL_RESERVED_SPACE(out_dev); in mpls_xmit() 106 hh_len = 0; in mpls_xmit() 109 if (skb_cow_head(skb, hh_len + new_header_size)) in mpls_xmit()
|
D | af_mpls.c | 353 unsigned int hh_len; in mpls_forward() local 423 hh_len = LL_RESERVED_SPACE(out_dev); in mpls_forward() 425 hh_len = 0; in mpls_forward() 428 if (skb_cow(skb, hh_len + new_header_size)) in mpls_forward()
|
/linux-6.12.1/include/net/ |
D | neighbour.h | 493 unsigned int hh_len; in neigh_hh_output() local 497 hh_len = READ_ONCE(hh->hh_len); in neigh_hh_output() 498 if (likely(hh_len <= HH_DATA_MOD)) { in neigh_hh_output() 511 hh_alen = HH_DATA_ALIGN(hh_len); in neigh_hh_output() 525 __skb_push(skb, hh_len); in neigh_hh_output() 539 READ_ONCE(hh->hh_len)) in neigh_output()
|
/linux-6.12.1/net/core/ |
D | lwt_bpf.c | 163 static int xmit_check_hhlen(struct sk_buff *skb, int hh_len) in xmit_check_hhlen() argument 165 if (skb_headroom(skb) < hh_len) { in xmit_check_hhlen() 166 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in xmit_check_hhlen() 276 int hh_len = dst->dev->hard_header_len; in bpf_xmit() local 294 ret = xmit_check_hhlen(skb, hh_len); in bpf_xmit()
|
D | neighbour.c | 1272 if (READ_ONCE(hh->hh_len)) { in neigh_update_hhs() 1537 if (!hh->hh_len) in neigh_hh_init() 1554 if (dev->header_ops->cache && !READ_ONCE(neigh->hh.hh_len)) in neigh_resolve_output()
|
D | filter.c | 2212 u32 hh_len = LL_RESERVED_SPACE(dev); in bpf_out_neigh_v6() local 2225 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in bpf_out_neigh_v6() 2226 skb = skb_expand_head(skb, hh_len); in bpf_out_neigh_v6() 2313 u32 hh_len = LL_RESERVED_SPACE(dev); in bpf_out_neigh_v4() local 2325 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in bpf_out_neigh_v4() 2326 skb = skb_expand_head(skb, hh_len); in bpf_out_neigh_v4()
|
/linux-6.12.1/net/llc/ |
D | af_llc.c | 937 int rc = -EINVAL, copied = 0, hdrlen, hh_len; in llc_ui_sendmsg() local 961 hh_len = LL_RESERVED_SPACE(dev); in llc_ui_sendmsg() 970 skb = sock_alloc_send_skb(sk, hh_len + size, noblock, &rc); in llc_ui_sendmsg() 977 hh_len != LL_RESERVED_SPACE(dev) || in llc_ui_sendmsg() 982 skb_reserve(skb, hh_len + hdrlen); in llc_ui_sendmsg()
|
/linux-6.12.1/net/bpf/ |
D | test_run.c | 991 int hh_len = ETH_HLEN; in bpf_prog_test_run_skb() local 1079 __skb_push(skb, hh_len); in bpf_prog_test_run_skb() 1099 if (skb_headroom(skb) < hh_len) { in bpf_prog_test_run_skb() 1100 int nhead = HH_DATA_ALIGN(hh_len - skb_headroom(skb)); in bpf_prog_test_run_skb() 1107 memset(__skb_push(skb, hh_len), 0, hh_len); in bpf_prog_test_run_skb()
|
/linux-6.12.1/net/netfilter/ |
D | nf_nat_proto.c | 667 unsigned int hh_len; in nf_xfrm_me_harder() local 692 hh_len = skb_dst(skb)->dev->hard_header_len; in nf_xfrm_me_harder() 693 if (skb_headroom(skb) < hh_len && in nf_xfrm_me_harder() 694 pskb_expand_head(skb, hh_len - skb_headroom(skb), 0, GFP_ATOMIC)) in nf_xfrm_me_harder()
|
/linux-6.12.1/net/ethernet/ |
D | eth.c | 235 smp_store_release(&hh->hh_len, ETH_HLEN); in eth_header_cache()
|
/linux-6.12.1/drivers/net/ |
D | vrf.c | 847 unsigned int hh_len = LL_RESERVED_SPACE(dev); in vrf_finish_output() local 854 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in vrf_finish_output() 855 skb = skb_expand_head(skb, hh_len); in vrf_finish_output()
|
/linux-6.12.1/net/bridge/ |
D | br_netfilter_hooks.c | 290 READ_ONCE(neigh->hh.hh_len)) { in br_nf_pre_routing_finish_bridge()
|
/linux-6.12.1/drivers/firewire/ |
D | net.c | 248 smp_store_release(&hh->hh_len, FWNET_HLEN); in fwnet_header_cache()
|
/linux-6.12.1/include/linux/ |
D | netdevice.h | 280 unsigned int hh_len; member
|