Home
last modified time | relevance | path

Searched refs:skb_new (Results 1 – 5 of 5) sorted by relevance

/linux-3.4.99/drivers/net/wireless/ipw2x00/
Dlibipw_tx.c356 struct sk_buff *skb_new = dev_alloc_skb(len); in libipw_xmit() local
358 if (unlikely(!skb_new)) in libipw_xmit()
361 skb_reserve(skb_new, crypt->ops->extra_msdu_prefix_len); in libipw_xmit()
362 memcpy(skb_put(skb_new, hdr_len), &header, hdr_len); in libipw_xmit()
364 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), in libipw_xmit()
366 skb_copy_from_linear_data(skb, skb_put(skb_new, skb->len), skb->len); in libipw_xmit()
367 res = crypt->ops->encrypt_msdu(skb_new, hdr_len, crypt->priv); in libipw_xmit()
370 dev_kfree_skb_any(skb_new); in libipw_xmit()
374 skb = skb_new; in libipw_xmit()
/linux-3.4.99/drivers/net/ethernet/
Dkorina.c353 struct sk_buff *skb, *skb_new; in korina_rx() local
362 skb_new = NULL; in korina_rx()
402 skb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); in korina_rx()
404 if (!skb_new) in korina_rx()
419 lp->rx_skb[lp->rx_next_done] = skb_new; in korina_rx()
425 if (skb_new) in korina_rx()
426 rd->ca = CPHYSADDR(skb_new->data); in korina_rx()
/linux-3.4.99/drivers/net/ethernet/octeon/
Docteon_mgmt.c317 struct sk_buff *skb_new; in octeon_mgmt_receive_one() local
348 skb_new = skb_copy_expand(skb, 0, skb2->len, in octeon_mgmt_receive_one()
350 if (!skb_new) in octeon_mgmt_receive_one()
352 if (skb_copy_bits(skb2, 0, skb_tail_pointer(skb_new), in octeon_mgmt_receive_one()
355 skb_put(skb_new, skb2->len); in octeon_mgmt_receive_one()
358 skb = skb_new; in octeon_mgmt_receive_one()
/linux-3.4.99/drivers/net/ethernet/freescale/
Dgianfar.c2068 struct sk_buff *skb_new; in gfar_start_xmit() local
2070 skb_new = skb_realloc_headroom(skb, fcb_length); in gfar_start_xmit()
2071 if (!skb_new) { in gfar_start_xmit()
2078 skb_set_owner_w(skb_new, skb->sk); in gfar_start_xmit()
2080 skb = skb_new; in gfar_start_xmit()
/linux-3.4.99/drivers/net/ethernet/sun/
Dniu.c6659 struct sk_buff *skb_new; in niu_start_xmit() local
6661 skb_new = skb_realloc_headroom(skb, len); in niu_start_xmit()
6662 if (!skb_new) { in niu_start_xmit()
6667 skb = skb_new; in niu_start_xmit()