Searched refs:hh_len (Results 1 – 13 of 13) sorted by relevance
| /linux/net/mpls/ |
| H A 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()
|
| H A D | af_mpls.c | 376 unsigned int hh_len; in mpls_forward() local 446 hh_len = LL_RESERVED_SPACE(out_dev); in mpls_forward() 448 hh_len = 0; in mpls_forward() 451 if (skb_cow(skb, hh_len + new_header_size)) in mpls_forward()
|
| /linux/net/netfilter/ |
| H A D | nft_fwd_netdev.c | 106 unsigned int hh_len; in nft_fwd_neigh_eval() local 168 hh_len = LL_RESERVED_SPACE(dev); in nft_fwd_neigh_eval() 169 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in nft_fwd_neigh_eval() 170 skb = skb_expand_head(skb, hh_len); in nft_fwd_neigh_eval()
|
| H A D | nf_flow_table_ip.c | 781 unsigned int hh_len = LL_RESERVED_SPACE(dev); in __nf_flow_queue_xmit() local 783 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in __nf_flow_queue_xmit() 784 skb = skb_expand_head(skb, hh_len); in __nf_flow_queue_xmit()
|
| /linux/net/llc/ |
| H A D | af_llc.c | 939 int rc = -EINVAL, copied = 0, hdrlen, hh_len; in llc_ui_sendmsg() 963 hh_len = LL_RESERVED_SPACE(dev); in llc_ui_sendmsg() 972 skb = sock_alloc_send_skb(sk, hh_len + size, noblock, &rc); in llc_ui_sendmsg() 979 hh_len != LL_RESERVED_SPACE(dev) || in llc_ui_sendmsg() 984 skb_reserve(skb, hh_len + hdrlen); in llc_ui_sendmsg() 937 int rc = -EINVAL, copied = 0, hdrlen, hh_len; llc_ui_sendmsg() local
|
| /linux/net/ipv4/ |
| H A D | ip_output.c | 205 unsigned int hh_len = LL_RESERVED_SPACE(dev); in ip_finish_output2() local 217 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in ip_finish_output2() 218 skb = skb_expand_head(skb, hh_len); in ip_finish_output2() 964 int hh_len; in __ip_append_data() local 984 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in __ip_append_data() 1101 alloc_extra = hh_len + 15; in __ip_append_data() 1146 skb_reserve(skb, hh_len); in __ip_append_data()
|
| /linux/net/ipv6/ |
| H A 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() 74 skb = skb_expand_head(skb, hh_len); in ip6_finish_output2() 1467 int hh_len; in __ip6_append_data() local 1490 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in __ip6_append_data() 1653 alloc_extra = hh_len; in __ip6_append_data() 1715 skb_reserve(skb, hh_len + sizeof(struct frag_hdr) + in __ip6_append_data()
|
| /linux/net/ethernet/ |
| H A D | eth.c | 232 smp_store_release(&hh->hh_len, ETH_HLEN); in eth_header_cache()
|
| /linux/drivers/net/ |
| H A D | vrf.c | 801 unsigned int hh_len = LL_RESERVED_SPACE(dev); in vrf_finish_output() local 808 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in vrf_finish_output() 809 skb = skb_expand_head(skb, hh_len); in vrf_finish_output()
|
| /linux/net/core/ |
| H A D | neighbour.c | 1304 if (READ_ONCE(hh->hh_len)) { in neigh_update_hhs() 1591 if (!hh->hh_len) in neigh_hh_init() 1608 if (dev->header_ops->cache && !READ_ONCE(neigh->hh.hh_len)) in neigh_resolve_output()
|
| H A D | filter.c | 2216 u32 hh_len = LL_RESERVED_SPACE(dev); in bpf_out_neigh_v6() local 2229 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in bpf_out_neigh_v6() 2230 skb = skb_expand_head(skb, hh_len); in bpf_out_neigh_v6() 2321 u32 hh_len = LL_RESERVED_SPACE(dev); in bpf_out_neigh_v4() local 2333 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in bpf_out_neigh_v4() 2334 skb = skb_expand_head(skb, hh_len); in bpf_out_neigh_v4()
|
| /linux/drivers/firewire/ |
| H A D | net.c | 248 smp_store_release(&hh->hh_len, FWNET_HLEN); in fwnet_header_cache()
|
| /linux/include/linux/ |
| H A D | netdevice.h | 283 unsigned int hh_len; member
|