Lines Matching refs:etherHead
853 } etherHead; typedef
1156 static int encapsulate(struct airo_info *ai, etherHead *pPacket, MICBuffer *buffer, int len);
1157 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *pPacket, u16 payLen);
1402 static int encapsulate(struct airo_info *ai, etherHead *frame, MICBuffer *mic, int payLen) in encapsulate()
1458 static int decapsulate(struct airo_info *ai, MICBuffer *mic, etherHead *eth, u16 payLen) in decapsulate()
2020 if (encapsulate(ai, (etherHead *)buffer, &pMic, len - sizeof(etherHead)) != SUCCESS) in mpi_send_packet()
2023 *payloadLen = cpu_to_le16(len-sizeof(etherHead)+sizeof(pMic)); in mpi_send_packet()
2026 memcpy (sendbuf, buffer, sizeof(etherHead)); in mpi_send_packet()
2027 buffer += sizeof(etherHead); in mpi_send_packet()
2028 sendbuf += sizeof(etherHead); in mpi_send_packet()
2031 memcpy (sendbuf, buffer, len - sizeof(etherHead)); in mpi_send_packet()
2033 *payloadLen = cpu_to_le16(len - sizeof(etherHead)); in mpi_send_packet()
3390 if (decapsulate(ai, &micbuf, (etherHead*) buffer, len)) in airo_handle_rx()
3692 if (decapsulate (ai, &micbuf, (etherHead*)buffer, len - off - ETH_ALEN * 2)) { in mpi_receive_802_3()
4376 if (encapsulate(ai, (etherHead *)pPacket,&pMic, len) != SUCCESS) in transmit_802_3_packet()
4387 bap_write(ai, (__le16*)pPacket, sizeof(etherHead), BAP1); in transmit_802_3_packet()
4390 bap_write(ai, (__le16*)(pPacket + sizeof(etherHead)), len, BAP1); in transmit_802_3_packet()