Searched refs:ARC_HDR_SIZE (Results 1 - 6 of 6) sorted by relevance
/linux-master/drivers/net/arcnet/ |
H A D | capmode.c | 59 skb = alloc_skb(length + ARC_HDR_SIZE + sizeof(int), GFP_ATOMIC); 64 skb_put(skb, length + ARC_HDR_SIZE + sizeof(int)); 68 skb_pull(skb, ARC_HDR_SIZE); 77 memcpy(pktbuf, pkthdrbuf, ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto)); 78 memcpy(pktbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto) + sizeof(int), 79 pkthdrbuf + ARC_HDR_SIZE + sizeof(pkt->soft.cap.proto), 80 sizeof(struct archdr) - ARC_HDR_SIZE - sizeof(pkt->soft.cap.proto)); 103 int hdr_size = ARC_HDR_SIZE; 140 length -= ARC_HDR_SIZE; 170 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); [all...] |
H A D | arc-rawmode.c | 54 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); 59 skb_put(skb, length + ARC_HDR_SIZE); 65 skb_pull(skb, ARC_HDR_SIZE); 87 int hdr_size = ARC_HDR_SIZE; 124 length -= ARC_HDR_SIZE; 145 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
|
H A D | rfc1051.c | 92 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; 137 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); 142 skb_put(skb, length + ARC_HDR_SIZE); 165 int hdr_size = ARC_HDR_SIZE + RFC1051_HDR_SIZE; 219 length -= ARC_HDR_SIZE; 237 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE);
|
H A D | rfc1201.c | 96 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; 182 skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC); 187 skb_put(skb, length + ARC_HDR_SIZE); 292 in->skb = skb = alloc_skb(508 * in->numpackets + ARC_HDR_SIZE, 304 memcpy(pkt, pkthdr, ARC_HDR_SIZE + RFC1201_HDR_SIZE); 305 skb_put(skb, ARC_HDR_SIZE + RFC1201_HDR_SIZE); 382 int hdr_size = ARC_HDR_SIZE + RFC1201_HDR_SIZE; 470 lp->hw.copy_to_card(dev, bufnum, 0, hard, ARC_HDR_SIZE); 487 length -= ARC_HDR_SIZE;
|
H A D | arcnet.c | 720 if (skb->len - ARC_HDR_SIZE > XMTU && !proto->continue_tx) { 1129 lp->hw.copy_from_card(dev, bufnum, 0, &rxdata.pkt, ARC_HDR_SIZE); 1150 dev->stats.rx_bytes += length + ARC_HDR_SIZE; 1213 lp->hw.copy_to_card(dev, bufnum, 0, &newpkt, ARC_HDR_SIZE);
|
/linux-master/include/uapi/linux/ |
H A D | if_arcnet.h | 110 #define ARC_HDR_SIZE 4 macro
|
Completed in 149 milliseconds