Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/arcnet/
Drfc1051.c41 struct archdr *pkthdr, int length);
44 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
89 struct archdr *pkt = (struct archdr *)skb->data; in type_trans()
122 struct archdr *pkthdr, int length) in rx()
126 struct archdr *pkt = pkthdr; in rx()
144 pkt = (struct archdr *)skb->data; in rx()
147 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
165 struct archdr *pkt = skb_push(skb, hdr_size); in build_header()
207 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.c42 struct archdr *pkthdr, int length);
45 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
93 struct archdr *pkt = (struct archdr *)skb->data; in type_trans()
133 struct archdr *pkthdr, int length) in rx()
137 struct archdr *pkt = pkthdr; in rx()
189 pkt = (struct archdr *)skb->data; in rx()
195 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
300 pkt = (struct archdr *)skb->data; in rx()
347 pkt = (struct archdr *)in->skb->data; in rx()
382 struct archdr *pkt = skb_push(skb, hdr_size); in build_header()
[all …]
Darcdevice.h199 struct archdr *pkthdr, int length);
204 int (*prepare_tx)(struct net_device *dev, struct archdr *pkt,
230 struct archdr *pkt; /* a pointer into the skb */
Darcnet.c63 struct archdr *pkthdr, int length);
66 static int null_prepare_tx(struct net_device *dev, struct archdr *pkt,
132 sizeof(struct archdr)); in arcnet_init()
698 struct archdr *pkt; in arcnet_send_packet()
709 pkt = (struct archdr *)skb->data; in arcnet_send_packet()
1120 struct archdr pkt; in arcnet_rx()
1177 struct archdr *pkthdr, int length) in null_rx()
1198 static int null_prepare_tx(struct net_device *dev, struct archdr *pkt, in null_prepare_tx()
/linux-6.6.21/include/uapi/linux/
Dif_arcnet.h116 struct archdr { struct