Searched refs:skb_new (Results 1 - 7 of 7) sorted by relevance
/linux-4.4.14/drivers/net/wireless/ipw2x00/ |
H A D | libipw_tx.c | 356 struct sk_buff *skb_new = dev_alloc_skb(len); libipw_xmit() local 358 if (unlikely(!skb_new)) libipw_xmit() 361 skb_reserve(skb_new, crypt->ops->extra_msdu_prefix_len); libipw_xmit() 362 memcpy(skb_put(skb_new, hdr_len), &header, hdr_len); libipw_xmit() 364 libipw_copy_snap(skb_put(skb_new, SNAP_SIZE + sizeof(u16)), libipw_xmit() 366 skb_copy_from_linear_data(skb, skb_put(skb_new, skb->len), skb->len); libipw_xmit() 367 res = crypt->ops->encrypt_msdu(skb_new, hdr_len, crypt->priv); libipw_xmit() 370 dev_kfree_skb_any(skb_new); libipw_xmit() 374 skb = skb_new; libipw_xmit()
|
/linux-4.4.14/net/batman-adv/ |
H A D | distributed-arp-table.c | 948 struct sk_buff *skb_new; batadv_dat_snoop_outgoing_arp_request() local 988 skb_new = arp_create(ARPOP_REPLY, ETH_P_ARP, ip_src, batadv_dat_snoop_outgoing_arp_request() 991 if (!skb_new) batadv_dat_snoop_outgoing_arp_request() 995 skb_new = vlan_insert_tag(skb_new, htons(ETH_P_8021Q), batadv_dat_snoop_outgoing_arp_request() 998 skb_reset_mac_header(skb_new); batadv_dat_snoop_outgoing_arp_request() 999 skb_new->protocol = eth_type_trans(skb_new, batadv_dat_snoop_outgoing_arp_request() 1005 netif_rx(skb_new); batadv_dat_snoop_outgoing_arp_request() 1034 struct sk_buff *skb_new; batadv_dat_snoop_incoming_arp_request() local 1062 skb_new = arp_create(ARPOP_REPLY, ETH_P_ARP, ip_src, batadv_dat_snoop_incoming_arp_request() 1066 if (!skb_new) batadv_dat_snoop_incoming_arp_request() 1072 skb_reset_mac_header(skb_new); batadv_dat_snoop_incoming_arp_request() 1075 skb_new = vlan_insert_tag(skb_new, htons(ETH_P_8021Q), batadv_dat_snoop_incoming_arp_request() 1083 err = batadv_send_skb_via_tt_4addr(bat_priv, skb_new, batadv_dat_snoop_incoming_arp_request() 1087 err = batadv_send_skb_via_tt(bat_priv, skb_new, NULL, vid); batadv_dat_snoop_incoming_arp_request()
|
/linux-4.4.14/drivers/net/ethernet/ |
H A D | korina.c | 352 struct sk_buff *skb, *skb_new; korina_rx() local 361 skb_new = NULL; korina_rx() 401 skb_new = netdev_alloc_skb_ip_align(dev, KORINA_RBSIZE); korina_rx() 403 if (!skb_new) korina_rx() 418 lp->rx_skb[lp->rx_next_done] = skb_new; korina_rx() 424 if (skb_new) korina_rx() 425 rd->ca = CPHYSADDR(skb_new->data); korina_rx()
|
/linux-4.4.14/drivers/net/ethernet/octeon/ |
H A D | octeon_mgmt.c | 395 struct sk_buff *skb_new; octeon_mgmt_receive_one() local 434 skb_new = skb_copy_expand(skb, 0, skb2->len, octeon_mgmt_receive_one() 436 if (!skb_new) octeon_mgmt_receive_one() 438 if (skb_copy_bits(skb2, 0, skb_tail_pointer(skb_new), octeon_mgmt_receive_one() 441 skb_put(skb_new, skb2->len); octeon_mgmt_receive_one() 444 skb = skb_new; octeon_mgmt_receive_one()
|
/linux-4.4.14/drivers/net/ethernet/freescale/ |
H A D | fec_main.c | 1375 struct sk_buff *skb_new = NULL; fec_enet_rx_queue() local 1453 skb_new = netdev_alloc_skb(ndev, FEC_ENET_RX_FRSIZE); fec_enet_rx_queue() 1454 if (unlikely(!skb_new)) { fec_enet_rx_queue() 1519 rxq->rx_skbuff[index] = skb_new; fec_enet_rx_queue() 1520 fec_enet_new_rxbdp(ndev, bdp, skb_new); fec_enet_rx_queue()
|
H A D | gianfar.c | 2353 struct sk_buff *skb_new; gfar_start_xmit() local 2355 skb_new = skb_realloc_headroom(skb, fcb_len); gfar_start_xmit() 2356 if (!skb_new) { gfar_start_xmit() 2363 skb_set_owner_w(skb_new, skb->sk); gfar_start_xmit() 2365 skb = skb_new; gfar_start_xmit()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
H A D | niu.c | 6658 struct sk_buff *skb_new; niu_start_xmit() local 6660 skb_new = skb_realloc_headroom(skb, len); niu_start_xmit() 6661 if (!skb_new) niu_start_xmit() 6664 skb = skb_new; niu_start_xmit()
|
Completed in 302 milliseconds