Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/net/arcnet/
Drfc1051.c40 struct archdr *pkthdr, int length);
43 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
92 struct archdr *pkt = (struct archdr *) skb->data; in type_trans()
126 struct archdr *pkthdr, int length) in rx()
130 struct archdr *pkt = pkthdr; in rx()
149 pkt = (struct archdr *) skb->data; in rx()
152 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
172 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); in build_header()
218 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
Darc-rawmode.c40 struct archdr *pkthdr, int length);
43 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
89 struct archdr *pkthdr, int length) in rx()
93 struct archdr *pkt = pkthdr; in rx()
112 pkt = (struct archdr *) skb->data; in rx()
118 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
139 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); in build_header()
167 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
Dcapmode.c42 struct archdr *pkthdr, int length) in rx()
46 struct archdr *pkt = pkthdr; in rx()
66 pkt = (struct archdr *)skb_mac_header(skb); in rx()
79 sizeof(struct archdr)-ARC_HDR_SIZE-sizeof(pkt->soft.cap.proto)); in rx()
104 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); in build_header()
134 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length, in prepare_tx()
190 struct archdr *ackpkt; in ack_tx()
209 ackpkt = (struct archdr *)skb_mac_header(ackskb); in ack_tx()
Drfc1201.c40 struct archdr *pkthdr, int length);
43 static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
94 struct archdr *pkt = (struct archdr *) skb->data; in type_trans()
135 struct archdr *pkthdr, int length) in rx()
139 struct archdr *pkt = pkthdr; in rx()
190 pkt = (struct archdr *) skb->data; in rx()
194 memcpy(pkt, pkthdr, sizeof(struct archdr)); in rx()
297 pkt = (struct archdr *) skb->data; in rx()
344 pkt = (struct archdr *) in->skb->data; in rx()
379 struct archdr *pkt = (struct archdr *) skb_push(skb, hdr_size); in build_header()
[all …]
Darcnet.c58 struct archdr *pkthdr, int length);
61 static int null_prepare_tx(struct net_device *dev, struct archdr *pkt,
142 sizeof(struct archdr)); in arcnet_init()
331 dev->hard_header_len = sizeof(struct archdr); in arcdev_setup()
598 struct archdr *pkt; in arcnet_send_packet()
609 pkt = (struct archdr *) skb->data; in arcnet_send_packet()
1004 struct archdr pkt; in arcnet_rx()
1061 struct archdr *pkthdr, int length) in null_rx()
1084 static int null_prepare_tx(struct net_device *dev, struct archdr *pkt, in null_prepare_tx()
/linux-2.6.39/include/linux/
Darcdevice.h196 struct archdr * pkthdr, int length);
201 int (*prepare_tx) (struct net_device * dev, struct archdr * pkt, int length,
229 struct archdr *pkt; /* a pointer into the skb */
Dif_arcnet.h118 struct archdr { struct