Lines Matching defs:skb
45 struct sk_buff *skb;
57 skb = alloc_skb(length + ARC_HDR_SIZE + sizeof(int), GFP_ATOMIC);
58 if (skb == NULL) {
63 skb_put(skb, length + ARC_HDR_SIZE + sizeof(int));
64 skb->dev = dev;
65 skb_reset_mac_header(skb);
66 pkt = (struct archdr *)skb_mac_header(skb);
67 skb_pull(skb, ARC_HDR_SIZE);
87 BUGLVL(D_SKB) arcnet_dump_skb(dev, skb, "rx");
89 skb->protocol = cpu_to_be16(ETH_P_ARCNET);
90 netif_rx(skb);
98 static int build_header(struct sk_buff *skb,
104 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size);
190 lp->outgoing.skb->protocol, acked);
192 BUGLVL(D_SKB) arcnet_dump_skb(dev, lp->outgoing.skb, "ack_tx");
194 /* Now alloc a skb to send back up through the layers: */
208 skb_copy_from_linear_data(lp->outgoing.skb, ackpkt,
222 dev_kfree_skb_irq(lp->outgoing.skb);