Home
last modified time | relevance | path

Searched refs:headroom (Results 1 – 9 of 9) sorted by relevance

/net/decnet/
Ddn_neigh.c230 int headroom = dev->hard_header_len + sizeof(struct dn_long_packet) + 3; in dn_long_output() local
236 if (skb_headroom(skb) < headroom) { in dn_long_output()
237 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); in dn_long_output()
273 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_short_output() local
279 if (skb_headroom(skb) < headroom) { in dn_short_output()
280 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); in dn_short_output()
313 int headroom = dev->hard_header_len + sizeof(struct dn_short_packet) + 2; in dn_phase3_output() local
318 if (skb_headroom(skb) < headroom) { in dn_phase3_output()
319 struct sk_buff *skb2 = skb_realloc_headroom(skb, headroom); in dn_phase3_output()
/net/ax25/
Dax25_out.c334 int headroom; in ax25_transmit_buffer() local
341 headroom = ax25_addr_size(ax25->digipeat); in ax25_transmit_buffer()
343 if (skb_headroom(skb) < headroom) { in ax25_transmit_buffer()
344 if ((skbn = skb_realloc_headroom(skb, headroom)) == NULL) { in ax25_transmit_buffer()
357 ptr = skb_push(skb, headroom); in ax25_transmit_buffer()
/net/caif/
Dcaif_socket.c53 int headroom, tailroom, maxframe; member
573 buffer_size = len + cf_sk->headroom + cf_sk->tailroom; in caif_seqpkt_sendmsg()
581 skb_reserve(skb, cf_sk->headroom); in caif_seqpkt_sendmsg()
641 size + cf_sk->headroom + in caif_stream_sendmsg()
648 skb_reserve(skb, cf_sk->headroom); in caif_stream_sendmsg()
761 int ifindex, headroom, tailroom; in caif_connect() local
839 &cf_sk->layer, &ifindex, &headroom, &tailroom); in caif_connect()
854 cf_sk->headroom = LL_RESERVED_SPACE_EXTRA(dev, headroom); in caif_connect()
859 cf_sk->maxframe = mtu - (headroom + tailroom); in caif_connect()
Dchnl_net.c266 int llifindex, headroom, tailroom, mtu; in chnl_net_open() local
279 &headroom, &tailroom); in chnl_net_open()
297 dev->hard_header_len = headroom + lldev->hard_header_len + in chnl_net_open()
307 mtu = min_t(int, dev->mtu, lldev->mtu - (headroom + tailroom)); in chnl_net_open()
/net/tipc/
Dconfig.h66 int headroom);
/net/core/
Dskbuff.c996 struct sk_buff *__pskb_copy(struct sk_buff *skb, int headroom, gfp_t gfp_mask) in __pskb_copy() argument
998 unsigned int size = skb_headlen(skb) + headroom; in __pskb_copy()
1006 skb_reserve(n, headroom); in __pskb_copy()
1140 struct sk_buff *skb_realloc_headroom(struct sk_buff *skb, unsigned int headroom) in skb_realloc_headroom() argument
1143 int delta = headroom - skb_headroom(skb); in skb_realloc_headroom()
2771 unsigned int headroom; in skb_segment() local
2787 headroom = skb_headroom(skb); in skb_segment()
2817 if (skb_cow_head(nskb, doffset + headroom)) { in skb_segment()
2826 nskb = __alloc_skb(hsize + doffset + headroom, in skb_segment()
2833 skb_reserve(nskb, headroom); in skb_segment()
[all …]
/net/mac80211/
Dtx.c1428 int headroom; in ieee80211_xmit() local
1433 headroom = local->tx_headroom; in ieee80211_xmit()
1435 headroom += IEEE80211_ENCRYPT_HEADROOM; in ieee80211_xmit()
1436 headroom -= skb_headroom(skb); in ieee80211_xmit()
1437 headroom = max_t(int, 0, headroom); in ieee80211_xmit()
1439 if (ieee80211_skb_resize(sdata, skb, headroom, may_encrypt)) { in ieee80211_xmit()
/net/l2tp/
Dl2tp_ppp.c393 int uhlen, headroom; in pppol2tp_xmit() local
412 headroom = NET_SKB_PAD + in pppol2tp_xmit()
417 if (skb_cow_head(skb, headroom)) in pppol2tp_xmit()
Dl2tp_core.c1148 int headroom; in l2tp_xmit_skb() local
1157 headroom = NET_SKB_PAD + sizeof(struct iphdr) + in l2tp_xmit_skb()
1159 if (skb_cow_head(skb, headroom)) { in l2tp_xmit_skb()