Lines Matching refs:pskb
597 struct sk_buff *pskb) in netiucv_unpack_skb() argument
603 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
604 pskb->dev = dev; in netiucv_unpack_skb()
605 pskb->ip_summed = CHECKSUM_NONE; in netiucv_unpack_skb()
606 pskb->protocol = cpu_to_be16(ETH_P_IP); in netiucv_unpack_skb()
610 struct ll_header *header = (struct ll_header *) pskb->data; in netiucv_unpack_skb()
615 skb_pull(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
619 if (skb_tailroom(pskb) < header->next) { in netiucv_unpack_skb()
621 header->next, skb_tailroom(pskb)); in netiucv_unpack_skb()
624 skb_put(pskb, header->next); in netiucv_unpack_skb()
625 skb_reset_mac_header(pskb); in netiucv_unpack_skb()
626 skb = dev_alloc_skb(pskb->len); in netiucv_unpack_skb()
633 skb_copy_from_linear_data(pskb, skb_put(skb, pskb->len), in netiucv_unpack_skb()
634 pskb->len); in netiucv_unpack_skb()
636 skb->dev = pskb->dev; in netiucv_unpack_skb()
637 skb->protocol = pskb->protocol; in netiucv_unpack_skb()
638 pskb->ip_summed = CHECKSUM_UNNECESSARY; in netiucv_unpack_skb()
646 skb_pull(pskb, header->next); in netiucv_unpack_skb()
647 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()