Lines Matching refs:new
177 struct sk_buff *new; in skb_deliver() local
180 new = skb_copy_expand(skb, sizeof(struct ipv6hdr), skb_tailroom(skb), in skb_deliver()
184 if (!new) in skb_deliver()
187 skb_push(new, sizeof(struct ipv6hdr)); in skb_deliver()
188 skb_reset_network_header(new); in skb_deliver()
189 skb_copy_to_linear_data(new, hdr, sizeof(struct ipv6hdr)); in skb_deliver()
191 new->protocol = htons(ETH_P_IPV6); in skb_deliver()
192 new->pkt_type = PACKET_HOST; in skb_deliver()
193 new->dev = dev; in skb_deliver()
196 new->data, new->len); in skb_deliver()
198 stat = deliver_skb(new, dev); in skb_deliver()
200 kfree_skb(new); in skb_deliver()
463 struct sk_buff *new; in lowpan_process_data() local
471 new = skb_copy_expand(skb, sizeof(struct udphdr), in lowpan_process_data()
475 if (!new) in lowpan_process_data()
478 skb = new; in lowpan_process_data()