Searched refs:hh_len (Results 1 – 9 of 9) sorted by relevance
/net/ipv4/ |
D | netfilter.c | 28 unsigned int hh_len; in ip_route_me_harder() local 70 hh_len = skb_dst(skb)->dev->hard_header_len; in ip_route_me_harder() 71 if (skb_headroom(skb) < hh_len && in ip_route_me_harder() 72 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip_route_me_harder()
|
D | ip_output.c | 171 unsigned int hh_len = LL_RESERVED_SPACE(dev); in ip_finish_output2() local 181 if (unlikely(skb_headroom(skb) < hh_len && dev->header_ops)) { in ip_finish_output2() 753 void *from, int length, int hh_len, int fragheaderlen, in ip_ufo_append_data() argument 765 hh_len + fragheaderlen + transhdrlen + 20, in ip_ufo_append_data() 772 skb_reserve(skb, hh_len); in ip_ufo_append_data() 810 int hh_len; in __ip_append_data() local 825 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in __ip_append_data() 851 hh_len, fragheaderlen, transhdrlen, in __ip_append_data() 914 alloclen + hh_len + 15, in __ip_append_data() 921 alloclen + hh_len + 15, 1, in __ip_append_data() [all …]
|
/net/ipv6/ |
D | netfilter.c | 25 unsigned int hh_len; in ip6_route_me_harder() local 60 hh_len = skb_dst(skb)->dev->hard_header_len; in ip6_route_me_harder() 61 if (skb_headroom(skb) < hh_len && in ip6_route_me_harder() 62 pskb_expand_head(skb, HH_DATA_ALIGN(hh_len - skb_headroom(skb)), in ip6_route_me_harder()
|
D | ip6_output.c | 1029 void *from, int length, int hh_len, int fragheaderlen, in ip6_ufo_append_data() argument 1043 hh_len + fragheaderlen + transhdrlen + 20, in ip6_ufo_append_data() 1049 skb_reserve(skb, hh_len); in ip6_ufo_append_data() 1137 int hh_len; in ip6_append_data() local 1218 hh_len = LL_RESERVED_SPACE(rt->dst.dev); in ip6_append_data() 1263 hh_len, fragheaderlen, in ip6_append_data() 1335 alloclen + hh_len, in ip6_append_data() 1342 alloclen + hh_len, 1, in ip6_append_data() 1361 skb_reserve(skb, hh_len + sizeof(struct frag_hdr) + in ip6_append_data()
|
/net/ipv6/netfilter/ |
D | ip6t_REJECT.c | 46 unsigned int otcplen, hh_len; in send_reset() local 113 hh_len = (dst->dev->hard_header_len + 15)&~15; in send_reset() 114 nskb = alloc_skb(hh_len + 15 + dst->header_len + sizeof(struct ipv6hdr) in send_reset() 126 skb_reserve(nskb, hh_len + dst->header_len); in send_reset()
|
/net/netfilter/ |
D | nf_nat_core.c | 88 unsigned int hh_len; in nf_xfrm_me_harder() local 109 hh_len = skb_dst(skb)->dev->hard_header_len; in nf_xfrm_me_harder() 110 if (skb_headroom(skb) < hh_len && in nf_xfrm_me_harder() 111 pskb_expand_head(skb, hh_len - skb_headroom(skb), 0, GFP_ATOMIC)) in nf_xfrm_me_harder()
|
/net/ethernet/ |
D | eth.c | 252 hh->hh_len = ETH_HLEN; in eth_header_cache()
|
/net/core/ |
D | neighbour.c | 1040 if (hh->hh_len) { in neigh_update_hhs() 1259 if (!hh->hh_len) in neigh_hh_init() 1300 if (dev->header_ops->cache && !neigh->hh.hh_len) in neigh_resolve_output()
|
/net/bridge/ |
D | br_netfilter.c | 392 if (neigh->hh.hh_len) { in br_nf_pre_routing_finish_bridge()
|