Home
last modified time | relevance | path

Searched refs:skb_headroom (Results 1 – 25 of 125) sorted by relevance

12345

/linux-2.6.39/net/ipv4/
Dnetfilter.c83 if (skb_headroom(skb) < hh_len && in ip_route_me_harder()
84 pskb_expand_head(skb, hh_len - skb_headroom(skb), 0, GFP_ATOMIC)) in ip_route_me_harder()
117 if (skb_headroom(skb) < hh_len && in ip_xfrm_me_harder()
118 pskb_expand_head(skb, hh_len - skb_headroom(skb), 0, GFP_ATOMIC)) in ip_xfrm_me_harder()
/linux-2.6.39/net/core/
Dtimestamping.c99 if (skb_headroom(skb) < ETH_HLEN) in skb_defer_rx_timestamp()
Dskbuff.c563 n->hdr_len = skb->nohdr ? skb_headroom(skb) : skb->hdr_len; in __skb_clone()
678 int headerlen = skb_headroom(skb); in skb_copy()
720 skb_reserve(n, skb_headroom(skb)); in pskb_copy()
865 int delta = headroom - skb_headroom(skb); in skb_realloc_headroom()
908 int oldheadroom = skb_headroom(skb); in skb_copy_expand()
2514 headroom = skb_headroom(skb); in skb_segment()
2575 nskb->csum_start += skb_headroom(nskb) - headroom; in skb_segment()
2706 headroom = skb_headroom(p); in skb_gro_receive()
2949 skb_headroom(skb1), in skb_cow_data()
3066 skb->csum_start = skb_headroom(skb) + start; in skb_partial_csum_set()
/linux-2.6.39/net/atm/
Dpppoatm.c205 if (skb_headroom(skb) < LLC_LEN) { in pppoatm_send()
242 if ((pvcc->flags & SC_COMP_PROT) && skb_headroom(skb) > 0 && in pppoatm_send()
/linux-2.6.39/net/ax25/
Dax25_out.c145 frontlen = skb_headroom(skb); /* Address space + CTRL */ in ax25_output()
344 if (skb_headroom(skb) < headroom) { in ax25_transmit_buffer()
/linux-2.6.39/net/decnet/
Ddn_neigh.c238 if (skb_headroom(skb) < headroom) { in dn_long_output()
285 if (skb_headroom(skb) < headroom) { in dn_short_output()
328 if (skb_headroom(skb) < headroom) { in dn_phase3_output()
/linux-2.6.39/drivers/staging/ath6kl/os/linux/
Dnetbuf.c199 return (skb_headroom((struct sk_buff *)bufPtr)); in a_netbuf_headroom()
/linux-2.6.39/net/mac80211/
Dwpa.c66 skb_headroom(skb) < TKIP_IV_LEN)) in ieee80211_tx_h_michael_mic_add()
153 skb_headroom(skb) < TKIP_IV_LEN)) in tkip_encrypt_skb()
363 skb_headroom(skb) < CCMP_HDR_LEN)) in ccmp_encrypt_skb()
/linux-2.6.39/drivers/isdn/pcbit/
Dcapi.c300 if(skb_headroom(skb) < 10) in capi_tdata_req()
302 printk(KERN_CRIT "No headspace (%u) on headroom %p for capi header\n", skb_headroom(skb), skb); in capi_tdata_req()
/linux-2.6.39/drivers/net/usb/
Dgl620a.c147 int headroom = skb_headroom(skb); in genelink_tx_fixup()
Dint51x1.c71 int headroom = skb_headroom(skb); in int51x1_tx_fixup()
Dcdc_eem.c122 int headroom = skb_headroom(skb); in eem_tx_fixup()
/linux-2.6.39/net/irda/
Dirttp.c665 IRDA_ASSERT(skb_headroom(skb) >= TTP_HEADER, return -1;); in irttp_data_request()
1137 IRDA_ASSERT(skb_headroom(userdata) >= TTP_MAX_HEADER, in irttp_connect_request()
1166 IRDA_ASSERT(skb_headroom(tx_skb) >= (TTP_MAX_HEADER + TTP_SAR_HEADER), in irttp_connect_request()
1386 IRDA_ASSERT(skb_headroom(userdata) >= TTP_MAX_HEADER, in irttp_connect_response()
1409 IRDA_ASSERT(skb_headroom(tx_skb) >= (TTP_MAX_HEADER + TTP_SAR_HEADER), in irttp_connect_response()
Dirlmp.c407 IRDA_ASSERT(skb_headroom(tx_skb) >= LMP_CONTROL_HEADER, return -1;); in irlmp_connect_request()
569 IRDA_ASSERT(skb_headroom(userdata) >= LMP_CONTROL_HEADER, return -1;); in irlmp_connect_response()
1127 IRDA_ASSERT(skb_headroom(userdata) >= LMP_HEADER, return -1;); in irlmp_data_request()
1169 IRDA_ASSERT(skb_headroom(userdata) >= LMP_HEADER, return -1;); in irlmp_udata_request()
1220 IRDA_ASSERT(skb_headroom(userdata) >= LMP_HEADER+LMP_PID_HEADER, in irlmp_connless_data_request()
/linux-2.6.39/net/irda/irlan/
Dirlan_eth.c173 if ((skb_headroom(skb) < self->max_header_size) || (skb_shared(skb))) { in irlan_eth_xmit()
/linux-2.6.39/net/x25/
Dx25_out.c68 frontlen = skb_headroom(skb); in x25_output()
/linux-2.6.39/include/linux/
Dskbuff.h1229 static inline unsigned int skb_headroom(const struct sk_buff *skb) in skb_headroom() function
1370 return skb->csum_start - skb_headroom(skb); in skb_checksum_start_offset()
1613 skb_headroom(skb) + len <= skb->hdr_len; in skb_clone_writable()
1623 if (headroom > skb_headroom(skb)) in __skb_cow()
1624 delta = headroom - skb_headroom(skb); in __skb_cow()
/linux-2.6.39/net/xfrm/
Dxfrm_output.c28 - skb_headroom(skb); in xfrm_state_check_space()
/linux-2.6.39/net/netrom/
Dnr_out.c47 frontlen = skb_headroom(skb); in nr_output()
/linux-2.6.39/drivers/net/wireless/libertas/
Drx.c249 if ((skb_headroom(skb) < sizeof(struct rx_radiotap_hdr)) && in process_rxed_802_11_packet()
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/
Dieee80211_crypt_wep.c117 if (skb_headroom(skb) < 4 || skb_tailroom(skb) < 4 || in prism2_wep_encrypt()
/linux-2.6.39/drivers/staging/bcm/
DTransmit.c132 if(skb_headroom(Packet) < LEADER_SIZE) in SetupNextSend()
/linux-2.6.39/net/tipc/
Deth_media.c78 delta = dev->hard_header_len - skb_headroom(buf); in send_msg()
/linux-2.6.39/drivers/net/wireless/hostap/
Dhostap_80211_tx.c224 } else if (skb_headroom(skb) < need_headroom) { in hostap_data_start_xmit()
349 if ((skb_headroom(skb) < prefix_len || in hostap_tx_encrypt()
/linux-2.6.39/net/irda/ircomm/
Dircomm_ttp.c182 IRDA_ASSERT(skb_headroom(skb) >= IRCOMM_HEADER_SIZE, return -1;); in ircomm_ttp_data_request()

12345