Lines Matching refs:local_skb
259 struct sk_buff *local_skb; in recv_pkt() local
282 local_skb = skb_copy_expand(skb, NET_SKB_PAD - 1, in recv_pkt()
284 if (!local_skb) in recv_pkt()
287 local_skb->protocol = htons(ETH_P_IPV6); in recv_pkt()
288 local_skb->pkt_type = PACKET_HOST; in recv_pkt()
289 local_skb->dev = dev; in recv_pkt()
291 skb_set_transport_header(local_skb, sizeof(struct ipv6hdr)); in recv_pkt()
293 if (give_skb_to_upper(local_skb, dev) != NET_RX_SUCCESS) { in recv_pkt()
294 kfree_skb(local_skb); in recv_pkt()
301 consume_skb(local_skb); in recv_pkt()
304 local_skb = skb_clone(skb, GFP_ATOMIC); in recv_pkt()
305 if (!local_skb) in recv_pkt()
308 local_skb->dev = dev; in recv_pkt()
310 ret = iphc_decompress(local_skb, dev, peer); in recv_pkt()
313 kfree_skb(local_skb); in recv_pkt()
317 local_skb->protocol = htons(ETH_P_IPV6); in recv_pkt()
318 local_skb->pkt_type = PACKET_HOST; in recv_pkt()
320 if (give_skb_to_upper(local_skb, dev) in recv_pkt()
322 kfree_skb(local_skb); in recv_pkt()
329 consume_skb(local_skb); in recv_pkt()
461 struct sk_buff *local_skb; in send_mcast_pkt() local
479 local_skb = skb_clone(skb, GFP_ATOMIC); in send_mcast_pkt()
485 ret = send_pkt(pentry->chan, local_skb, netdev); in send_mcast_pkt()
489 kfree_skb(local_skb); in send_mcast_pkt()