Lines Matching refs:pskb
630 struct sk_buff *pskb) in netiucv_unpack_skb() argument
636 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
637 pskb->dev = dev; in netiucv_unpack_skb()
638 pskb->ip_summed = CHECKSUM_NONE; in netiucv_unpack_skb()
639 pskb->protocol = ntohs(ETH_P_IP); in netiucv_unpack_skb()
643 struct ll_header *header = (struct ll_header *) pskb->data; in netiucv_unpack_skb()
648 skb_pull(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
652 if (skb_tailroom(pskb) < header->next) { in netiucv_unpack_skb()
654 header->next, skb_tailroom(pskb)); in netiucv_unpack_skb()
657 skb_put(pskb, header->next); in netiucv_unpack_skb()
658 skb_reset_mac_header(pskb); in netiucv_unpack_skb()
659 skb = dev_alloc_skb(pskb->len); in netiucv_unpack_skb()
666 skb_copy_from_linear_data(pskb, skb_put(skb, pskb->len), in netiucv_unpack_skb()
667 pskb->len); in netiucv_unpack_skb()
669 skb->dev = pskb->dev; in netiucv_unpack_skb()
670 skb->protocol = pskb->protocol; in netiucv_unpack_skb()
671 pskb->ip_summed = CHECKSUM_UNNECESSARY; in netiucv_unpack_skb()
679 skb_pull(pskb, header->next); in netiucv_unpack_skb()
680 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()