Home
last modified time | relevance | path

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

/linux-4.1.27/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-4.1.27/net/batman-adv/
Ddistributed-arp-table.c911 struct sk_buff *skb_new; in batadv_dat_snoop_outgoing_arp_request() local
951 skb_new = arp_create(ARPOP_REPLY, ETH_P_ARP, ip_src, in batadv_dat_snoop_outgoing_arp_request()
954 if (!skb_new) in batadv_dat_snoop_outgoing_arp_request()
958 skb_new = vlan_insert_tag(skb_new, htons(ETH_P_8021Q), in batadv_dat_snoop_outgoing_arp_request()
961 skb_reset_mac_header(skb_new); in batadv_dat_snoop_outgoing_arp_request()
962 skb_new->protocol = eth_type_trans(skb_new, in batadv_dat_snoop_outgoing_arp_request()
968 netif_rx(skb_new); in batadv_dat_snoop_outgoing_arp_request()
997 struct sk_buff *skb_new; in batadv_dat_snoop_incoming_arp_request() local
1025 skb_new = arp_create(ARPOP_REPLY, ETH_P_ARP, ip_src, in batadv_dat_snoop_incoming_arp_request()
1029 if (!skb_new) in batadv_dat_snoop_incoming_arp_request()
[all …]
/linux-4.1.27/drivers/net/ethernet/
Dkorina.c352 struct sk_buff *skb, *skb_new; in korina_rx() local
361 skb_new = NULL; in korina_rx()
401 skb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); in korina_rx()
403 if (!skb_new) in korina_rx()
418 lp->rx_skb[lp->rx_next_done] = skb_new; in korina_rx()
424 if (skb_new) in korina_rx()
425 rd->ca = CPHYSADDR(skb_new->data); in korina_rx()
/linux-4.1.27/drivers/net/ethernet/octeon/
Docteon_mgmt.c395 struct sk_buff *skb_new; in octeon_mgmt_receive_one() local
434 skb_new = skb_copy_expand(skb, 0, skb2->len, in octeon_mgmt_receive_one()
436 if (!skb_new) in octeon_mgmt_receive_one()
438 if (skb_copy_bits(skb2, 0, skb_tail_pointer(skb_new), in octeon_mgmt_receive_one()
441 skb_put(skb_new, skb2->len); in octeon_mgmt_receive_one()
444 skb = skb_new; in octeon_mgmt_receive_one()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dfec_main.c1364 struct sk_buff *skb_new = NULL; in fec_enet_rx_queue() local
1442 skb_new = netdev_alloc_skb(ndev, FEC_ENET_RX_FRSIZE); in fec_enet_rx_queue()
1443 if (unlikely(!skb_new)) { in fec_enet_rx_queue()
1508 rxq->rx_skbuff[index] = skb_new; in fec_enet_rx_queue()
1509 fec_enet_new_rxbdp(ndev, bdp, skb_new); in fec_enet_rx_queue()
Dgianfar.c2280 struct sk_buff *skb_new; in gfar_start_xmit() local
2282 skb_new = skb_realloc_headroom(skb, fcb_len); in gfar_start_xmit()
2283 if (!skb_new) { in gfar_start_xmit()
2290 skb_set_owner_w(skb_new, skb->sk); in gfar_start_xmit()
2292 skb = skb_new; in gfar_start_xmit()
/linux-4.1.27/drivers/net/ethernet/sun/
Dniu.c6658 struct sk_buff *skb_new; in niu_start_xmit() local
6660 skb_new = skb_realloc_headroom(skb, len); in niu_start_xmit()
6661 if (!skb_new) { in niu_start_xmit()
6666 skb = skb_new; in niu_start_xmit()