Home
last modified time | relevance | path

Searched refs:ARC_HDR_SIZE (Results 1 – 6 of 6) sorted by relevance

/linux-6.3-rc2/drivers/net/arcnet/
A Dcapmode.c59 skb = alloc_skb(length + ARC_HDR_SIZE + sizeof(int), GFP_ATOMIC); in rx()
64 skb_put(skb, length + ARC_HDR_SIZE + sizeof(int)); in rx()
68 skb_pull(skb, ARC_HDR_SIZE); in rx()
77 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto)); in rx()
79 pkthdrbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto), in rx()
103 int hdr_size = ARC_HDR_SIZE; in build_header()
140 length -= ARC_HDR_SIZE; in prepare_tx()
170 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in prepare_tx()
199 ackskb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in ack_tx()
203 skb_put(ackskb, length + ARC_HDR_SIZE); in ack_tx()
[all …]
A Darc-rawmode.c54 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in rx()
59 skb_put(skb, length + ARC_HDR_SIZE); in rx()
65 skb_pull(skb, ARC_HDR_SIZE); in rx()
87 int hdr_size = ARC_HDR_SIZE; in build_header()
124 length -= ARC_HDR_SIZE; in prepare_tx()
145 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in prepare_tx()
A Drfc1051.c91 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; in type_trans()
136 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in rx()
141 skb_put(skb, length + ARC_HDR_SIZE); in rx()
164 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; in build_header()
218 length -= ARC_HDR_SIZE; in prepare_tx()
236 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in prepare_tx()
A Drfc1201.c95 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; in type_trans()
181 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); in rx()
186 skb_put(skb, length + ARC_HDR_SIZE); in rx()
291 in->skb = skb = alloc_skb(508 * in->numpackets + ARC_HDR_SIZE, in rx()
303 memcpy(pkt, pkthdr, ARC_HDR_SIZE + RFC1201_HDR_SIZE); in rx()
304 skb_put(skb, ARC_HDR_SIZE + RFC1201_HDR_SIZE); in rx()
381 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; in build_header()
469 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); in load_pkt()
486 length -= ARC_HDR_SIZE; in prepare_tx()
A Darcnet.c723 if (skb->len - ARC_HDR_SIZE > XMTU && !proto->continue_tx) { in arcnet_send_packet()
1132 lp->hw.copy_from_card(dev, bufnum, 0, &rxdata.pkt, ARC_HDR_SIZE); in arcnet_rx()
1153 dev->stats.rx_bytes += length + ARC_HDR_SIZE; in arcnet_rx()
1216 lp->hw.copy_to_card(dev, bufnum, 0, &newpkt, ARC_HDR_SIZE); in null_prepare_tx()
/linux-6.3-rc2/include/uapi/linux/
A Dif_arcnet.h110 #define ARC_HDR_SIZE 4 macro

Completed in 14 milliseconds