Home
last modified time | relevance | path

Searched refs:archdr (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/net/arcnet/
Drfc1051.c41 struct archdr *pkthdr, int length);
44 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
90 struct archdr *pkt = (struct archdr *)skb->data; in type_trans()
123 struct archdr *pkthdr, int length) in rx()
127 struct archdr *pkt = pkthdr; in rx()
145 pkt = (struct archdr *)skb->data; in rx()
148 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
166 struct archdr *pkt = skb_push(skb, hdr_size); in build_header()
208 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
Dcapmode.c43 struct archdr *pkthdr, int length) in rx()
47 struct archdr *pkt; in rx()
67 pkt = (struct archdr *)skb_mac_header(skb); in rx()
80 sizeof(struct archdr) - ARC_HDR_SIZE - sizeof(pkt->soft.cap.proto)); in rx()
104 struct archdr *pkt = skb_push(skb, hdr_size); in build_header()
132 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
189 struct archdr *ackpkt; in ack_tx()
207 ackpkt = (struct archdr *)skb_mac_header(ackskb); in ack_tx()
Darc-rawmode.c40 struct archdr *pkthdr, int length) in rx()
44 struct archdr *pkt = pkthdr; in rx()
62 pkt = (struct archdr *)skb->data; in rx()
68 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
88 struct archdr *pkt = skb_push(skb, hdr_size); in build_header()
113 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
Drfc1201.c43 struct archdr *pkthdr, int length);
46 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
94 struct archdr *pkt = (struct archdr *)skb->data; in type_trans()
134 struct archdr *pkthdr, int length) in rx()
138 struct archdr *pkt = pkthdr; in rx()
190 pkt = (struct archdr *)skb->data; in rx()
196 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
301 pkt = (struct archdr *)skb->data; in rx()
348 pkt = (struct archdr *)in->skb->data; in rx()
383 struct archdr *pkt = skb_push(skb, hdr_size); in build_header()
[all …]
Darcdevice.h200 struct archdr *pkthdr, int length);
205 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt,
231 struct archdr *pkt; /* a pointer into the skb */
Darcnet.c64 struct archdr *pkthdr, int length);
67 static int null_prepare_tx(struct net_device *dev, struct archdr *pkt,
134 sizeof(struct archdr)); in arcnet_init()
700 struct archdr *pkt; in arcnet_send_packet()
711 pkt = (struct archdr *)skb->data; in arcnet_send_packet()
1122 struct archdr pkt; in arcnet_rx()
1179 struct archdr *pkthdr, int length) in null_rx()
1200 static int null_prepare_tx(struct net_device *dev, struct archdr *pkt, in null_prepare_tx()
/linux-6.12.1/include/uapi/linux/
Dif_arcnet.h116 struct archdr { struct