Lines Matching refs:ethHdr
110 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0; in packetIsForMe()
280 memset(packet.ethHdr.h_dest, 0xFF, ETH_ALEN); in sendPADI()
281 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADI()
283 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI()
409 if (NOT_UNICAST(packet.ethHdr.h_source)) { in waitForPADO()
414 && memcmp(packet.ethHdr.h_source, conn->req_peer_mac, ETH_ALEN) != 0) { in waitForPADO()
432 memcpy(conn->peerEth, packet.ethHdr.h_source, ETH_ALEN); in waitForPADO()
465 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); in sendPADR()
466 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADR()
468 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADR()
591 if (memcmp(packet.ethHdr.h_source, conn->peerEth, ETH_ALEN)) continue; in waitForPADS()