Lines Matching refs:local_skb
287 struct sk_buff *local_skb; in recv_pkt() local
310 local_skb = skb_copy_expand(skb, NET_SKB_PAD - 1, in recv_pkt()
312 if (!local_skb) in recv_pkt()
315 local_skb->protocol = htons(ETH_P_IPV6); in recv_pkt()
316 local_skb->pkt_type = PACKET_HOST; in recv_pkt()
317 local_skb->dev = dev; in recv_pkt()
319 skb_set_transport_header(local_skb, sizeof(struct ipv6hdr)); in recv_pkt()
321 if (give_skb_to_upper(local_skb, dev) != NET_RX_SUCCESS) { in recv_pkt()
322 kfree_skb(local_skb); in recv_pkt()
329 consume_skb(local_skb); in recv_pkt()
332 local_skb = skb_clone(skb, GFP_ATOMIC); in recv_pkt()
333 if (!local_skb) in recv_pkt()
336 local_skb->dev = dev; in recv_pkt()
338 ret = iphc_decompress(local_skb, dev, peer); in recv_pkt()
341 kfree_skb(local_skb); in recv_pkt()
345 local_skb->protocol = htons(ETH_P_IPV6); in recv_pkt()
346 local_skb->pkt_type = PACKET_HOST; in recv_pkt()
348 if (give_skb_to_upper(local_skb, dev) in recv_pkt()
350 kfree_skb(local_skb); in recv_pkt()
357 consume_skb(local_skb); in recv_pkt()
489 struct sk_buff *local_skb; in send_mcast_pkt() local
507 local_skb = skb_clone(skb, GFP_ATOMIC); in send_mcast_pkt()
513 ret = send_pkt(pentry->chan, local_skb, netdev); in send_mcast_pkt()
517 kfree_skb(local_skb); in send_mcast_pkt()