Lines Matching refs:pskb
631 struct sk_buff *pskb) in netiucv_unpack_skb() argument
637 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
638 pskb->dev = dev; in netiucv_unpack_skb()
639 pskb->ip_summed = CHECKSUM_NONE; in netiucv_unpack_skb()
640 pskb->protocol = ntohs(ETH_P_IP); in netiucv_unpack_skb()
644 struct ll_header *header = (struct ll_header *) pskb->data; in netiucv_unpack_skb()
649 skb_pull(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
653 if (skb_tailroom(pskb) < header->next) { in netiucv_unpack_skb()
655 header->next, skb_tailroom(pskb)); in netiucv_unpack_skb()
658 skb_put(pskb, header->next); in netiucv_unpack_skb()
659 skb_reset_mac_header(pskb); in netiucv_unpack_skb()
660 skb = dev_alloc_skb(pskb->len); in netiucv_unpack_skb()
667 skb_copy_from_linear_data(pskb, skb_put(skb, pskb->len), in netiucv_unpack_skb()
668 pskb->len); in netiucv_unpack_skb()
670 skb->dev = pskb->dev; in netiucv_unpack_skb()
671 skb->protocol = pskb->protocol; in netiucv_unpack_skb()
672 pskb->ip_summed = CHECKSUM_UNNECESSARY; in netiucv_unpack_skb()
680 skb_pull(pskb, header->next); in netiucv_unpack_skb()
681 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()