Home
last modified time | relevance | path

Searched refs:ackskb (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/arcnet/
Dcapmode.c188 struct sk_buff *ackskb; in ack_tx() local
199 ackskb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in ack_tx()
200 if (!ackskb) in ack_tx()
203 skb_put(ackskb, length + ARC_HDR_SIZE); in ack_tx()
204 ackskb->dev = dev; in ack_tx()
206 skb_reset_mac_header(ackskb); in ack_tx()
207 ackpkt = (struct archdr *)skb_mac_header(ackskb); in ack_tx()
218 ackskb->protocol = cpu_to_be16(ETH_P_ARCNET); in ack_tx()
221 arcnet_dump_skb(dev, ackskb, "ack_tx_recv"); in ack_tx()
222 netif_rx(ackskb); in ack_tx()
Darcnet.c400 struct sk_buff *ackskb, *skb; in arcnet_reply_tasklet() local
414 ackskb = skb_clone_sk(skb); in arcnet_reply_tasklet()
417 if (!ackskb) { in arcnet_reply_tasklet()
422 serr = SKB_EXT_ERR(ackskb); in arcnet_reply_tasklet()
433 ackskb->dev = lp->dev; in arcnet_reply_tasklet()
435 ret = sock_queue_err_skb(sk, ackskb); in arcnet_reply_tasklet()
437 kfree_skb(ackskb); in arcnet_reply_tasklet()