Home
last modified time | relevance | path

Searched refs:new_skb (Results 1 – 12 of 12) sorted by relevance

/net/mac80211/
Dmesh_ps.c407 struct sk_buff *new_skb, *skb = skb_peek_tail(frames); in mpsp_qos_null_append() local
414 new_skb = mps_qos_null_get(sta); in mpsp_qos_null_append()
415 if (!new_skb) in mpsp_qos_null_append()
424 new_skb->priority = 1; in mpsp_qos_null_append()
425 skb_set_queue_mapping(new_skb, IEEE80211_AC_BK); in mpsp_qos_null_append()
426 ieee80211_set_qos_hdr(sdata, new_skb); in mpsp_qos_null_append()
428 info = IEEE80211_SKB_CB(new_skb); in mpsp_qos_null_append()
432 __skb_queue_tail(frames, new_skb); in mpsp_qos_null_append()
/net/irda/irlan/
Dirlan_eth.c174 struct sk_buff *new_skb = in irlan_eth_xmit() local
181 if (new_skb == NULL) in irlan_eth_xmit()
185 skb = new_skb; in irlan_eth_xmit()
/net/batman-adv/
Drouting.c808 struct sk_buff *new_skb; in batadv_route_unicast_packet() local
849 ret = batadv_frag_reassemble_skb(skb, bat_priv, &new_skb); in batadv_route_unicast_packet()
855 if (!new_skb) { in batadv_route_unicast_packet()
860 skb = new_skb; in batadv_route_unicast_packet()
1113 struct sk_buff *new_skb = NULL; in batadv_recv_ucast_frag_packet() local
1126 ret = batadv_frag_reassemble_skb(skb, bat_priv, &new_skb); in batadv_recv_ucast_frag_packet()
1132 if (!new_skb) in batadv_recv_ucast_frag_packet()
1135 if (batadv_dat_snoop_incoming_arp_request(bat_priv, new_skb, in batadv_recv_ucast_frag_packet()
1138 if (batadv_dat_snoop_incoming_arp_reply(bat_priv, new_skb, in batadv_recv_ucast_frag_packet()
1142 batadv_interface_rx(recv_if->soft_iface, new_skb, recv_if, in batadv_recv_ucast_frag_packet()
Dunicast.c181 struct sk_buff **new_skb) in batadv_frag_reassemble_skb() argument
189 *new_skb = NULL; in batadv_frag_reassemble_skb()
212 *new_skb = batadv_frag_merge_packet(&orig_node->frag_list, in batadv_frag_reassemble_skb()
215 if (*new_skb) in batadv_frag_reassemble_skb()
Dunicast.h30 struct sk_buff **new_skb);
/net/atm/
Dmpc.c688 struct sk_buff *new_skb; in mpc_push() local
761 new_skb = skb_realloc_headroom(skb, eg->ctrl_info.DH_length); in mpc_push()
764 if (new_skb == NULL) { in mpc_push()
768 skb_push(new_skb, eg->ctrl_info.DH_length); /* add MAC header */ in mpc_push()
769 skb_copy_to_linear_data(new_skb, eg->ctrl_info.DLL_header, in mpc_push()
771 new_skb->protocol = eth_type_trans(new_skb, dev); in mpc_push()
772 skb_reset_network_header(new_skb); in mpc_push()
774 eg->latest_ip_addr = ip_hdr(new_skb)->saddr; in mpc_push()
778 memset(ATM_SKB(new_skb), 0, sizeof(struct atm_skb_data)); in mpc_push()
779 netif_rx(new_skb); in mpc_push()
/net/netfilter/ipvs/
Dip_vs_xmit.c855 struct sk_buff *new_skb = in ip_vs_tunnel_xmit() local
858 if (!new_skb) in ip_vs_tunnel_xmit()
861 skb = new_skb; in ip_vs_tunnel_xmit()
946 struct sk_buff *new_skb = in ip_vs_tunnel_xmit_v6() local
949 if (!new_skb) in ip_vs_tunnel_xmit_v6()
952 skb = new_skb; in ip_vs_tunnel_xmit_v6()
/net/irda/irnet/
Dirnet_ppp.c880 struct sk_buff * new_skb; in irnet_prepare_skb() local
885 new_skb = skb_realloc_headroom(skb, ap->max_header_size + needaddr); in irnet_prepare_skb()
891 DABORT(new_skb == NULL, NULL, PPP_ERROR, "Could not realloc skb\n"); in irnet_prepare_skb()
894 skb = new_skb; in irnet_prepare_skb()
/net/nfc/
Dllcp_core.c1352 struct sk_buff *new_skb; in nfc_llcp_recv_agf() local
1376 new_skb = nfc_alloc_recv_skb(pdu_len, GFP_KERNEL); in nfc_llcp_recv_agf()
1377 if (new_skb == NULL) { in nfc_llcp_recv_agf()
1382 memcpy(skb_put(new_skb, pdu_len), skb->data, pdu_len); in nfc_llcp_recv_agf()
1384 nfc_llcp_rx_skb(local, new_skb); in nfc_llcp_recv_agf()
1386 kfree_skb(new_skb); in nfc_llcp_recv_agf()
/net/ipv6/
Dip6_gre.c633 struct sk_buff *new_skb; in ip6gre_xmit2() local
702 new_skb = skb_realloc_headroom(skb, max_headroom); in ip6gre_xmit2()
705 if (!new_skb) in ip6gre_xmit2()
709 skb_set_owner_w(new_skb, skb->sk); in ip6gre_xmit2()
711 skb = new_skb; in ip6gre_xmit2()
Dsit.c829 struct sk_buff *new_skb = skb_realloc_headroom(skb, max_headroom); in ipip6_tunnel_xmit() local
830 if (!new_skb) { in ipip6_tunnel_xmit()
837 skb_set_owner_w(new_skb, skb->sk); in ipip6_tunnel_xmit()
839 skb = new_skb; in ipip6_tunnel_xmit()
Dip6_tunnel.c1006 struct sk_buff *new_skb; in ip6_tnl_xmit2() local
1008 if (!(new_skb = skb_realloc_headroom(skb, max_headroom))) in ip6_tnl_xmit2()
1012 skb_set_owner_w(new_skb, skb->sk); in ip6_tnl_xmit2()
1014 skb = new_skb; in ip6_tnl_xmit2()