Searched refs:ethHdr (Results 1 – 5 of 5) sorted by relevance
/external/ppp/pppd/plugins/rp-pppoe/ |
D | debug.c | 130 (unsigned) packet->ethHdr.h_source[0], in dumpPacket() 131 (unsigned) packet->ethHdr.h_source[1], in dumpPacket() 132 (unsigned) packet->ethHdr.h_source[2], in dumpPacket() 133 (unsigned) packet->ethHdr.h_source[3], in dumpPacket() 134 (unsigned) packet->ethHdr.h_source[4], in dumpPacket() 135 (unsigned) packet->ethHdr.h_source[5], in dumpPacket() 136 (unsigned) packet->ethHdr.h_dest[0], in dumpPacket() 137 (unsigned) packet->ethHdr.h_dest[1], in dumpPacket() 138 (unsigned) packet->ethHdr.h_dest[2], in dumpPacket() 139 (unsigned) packet->ethHdr.h_dest[3], in dumpPacket() [all …]
|
D | discovery.c | 86 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0; in packetIsForMe() 259 memset(packet.ethHdr.h_dest, 0xFF, ETH_ALEN); in sendPADI() 260 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADI() 262 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADI() 368 if (NOT_UNICAST(packet.ethHdr.h_source)) { in waitForPADO() 386 memcpy(conn->peerEth, packet.ethHdr.h_source, ETH_ALEN); in waitForPADO() 429 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); in sendPADR() 430 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADR() 432 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADR() 542 if (memcmp(packet.ethHdr.h_source, conn->peerEth, ETH_ALEN)) continue; in waitForPADS()
|
D | common.c | 409 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); in sendPADT() 410 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADT() 412 packet.ethHdr.h_proto = htons(Eth_PPPOE_Discovery); in sendPADT()
|
D | if.c | 128 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); in etherType() 551 tmp_sap = htons(pkt->ethHdr.h_proto); in sendPacket() 554 memcpy((char *)phys, (char *)pkt->ethHdr.h_dest, ETHERADDRL); in sendPacket()
|
D | pppoe.h | 207 struct ethhdr ethHdr; /* Ethernet header */ member
|