Lines Matching refs:packet
167 const char *p) /* Packet */
180 len=s+ETH_HLEN; /* actual length of packet */
209 /* write packet */
265 /* read packet */
269 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet, rx_fifo / 2);
271 nic->packet[rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
282 insw(BASE + VX_W1_RX_PIO_RD_1, nic->packet+nic->packetlen, rx_fifo / 2);
284 nic->packet[nic->packetlen+rx_fifo-1]=inb(BASE + VX_W1_RX_PIO_RD_1);
299 /* acknowledge reception of packet */
303 type = (nic->packet[12]<<8) | nic->packet[13];
304 if(nic->packet[0]+nic->packet[1]+nic->packet[2]+nic->packet[3]+nic->packet[4]+
305 nic->packet[5] == 0xFF*ETH_ALEN)