Lines Matching refs:pskb
579 struct sk_buff *pskb) in netiucv_unpack_skb() argument
585 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
586 pskb->dev = dev; in netiucv_unpack_skb()
587 pskb->ip_summed = CHECKSUM_NONE; in netiucv_unpack_skb()
588 pskb->protocol = cpu_to_be16(ETH_P_IP); in netiucv_unpack_skb()
592 struct ll_header *header = (struct ll_header *) pskb->data; in netiucv_unpack_skb()
597 skb_pull(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()
601 if (skb_tailroom(pskb) < header->next) { in netiucv_unpack_skb()
603 header->next, skb_tailroom(pskb)); in netiucv_unpack_skb()
606 skb_put(pskb, header->next); in netiucv_unpack_skb()
607 skb_reset_mac_header(pskb); in netiucv_unpack_skb()
608 skb = dev_alloc_skb(pskb->len); in netiucv_unpack_skb()
615 skb_copy_from_linear_data(pskb, skb_put(skb, pskb->len), in netiucv_unpack_skb()
616 pskb->len); in netiucv_unpack_skb()
618 skb->dev = pskb->dev; in netiucv_unpack_skb()
619 skb->protocol = pskb->protocol; in netiucv_unpack_skb()
620 pskb->ip_summed = CHECKSUM_UNNECESSARY; in netiucv_unpack_skb()
624 skb_pull(pskb, header->next); in netiucv_unpack_skb()
625 skb_put(pskb, NETIUCV_HDRLEN); in netiucv_unpack_skb()