OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ethHdr
(Results
1 - 6
of
6
) sorted by null
/external/ppp/pppd/plugins/rp-pppoe/
debug.c
132
(unsigned) packet->
ethHdr
.h_source[0],
133
(unsigned) packet->
ethHdr
.h_source[1],
134
(unsigned) packet->
ethHdr
.h_source[2],
135
(unsigned) packet->
ethHdr
.h_source[3],
136
(unsigned) packet->
ethHdr
.h_source[4],
137
(unsigned) packet->
ethHdr
.h_source[5],
138
(unsigned) packet->
ethHdr
.h_dest[0],
139
(unsigned) packet->
ethHdr
.h_dest[1],
140
(unsigned) packet->
ethHdr
.h_dest[2],
141
(unsigned) packet->
ethHdr
.h_dest[3]
[
all
...]
common.c
109
memcpy(packet.
ethHdr
.h_dest, conn->peerEth, ETH_ALEN);
110
memcpy(packet.
ethHdr
.h_source, conn->myEth, ETH_ALEN);
112
packet.
ethHdr
.h_proto = htons(Eth_PPPOE_Discovery);
176
switch (ntohs(packet->
ethHdr
.h_proto)) {
209
ntohs(packet->
ethHdr
.h_proto));
212
printer(arg, " dst %02x:%02x:%02x:%02x:%02x:%02x ", EH(packet->
ethHdr
.h_dest));
213
printer(arg, " src %02x:%02x:%02x:%02x:%02x:%02x\n", EH(packet->
ethHdr
.h_source));
214
if (ntohs(packet->
ethHdr
.h_proto) != ETH_PPPOE_DISCOVERY)
discovery.c
110
if (memcmp(packet->
ethHdr
.h_dest, conn->myEth, ETH_ALEN)) return 0;
280
memset(packet.
ethHdr
.h_dest, 0xFF, ETH_ALEN);
281
memcpy(packet.
ethHdr
.h_source, conn->myEth, ETH_ALEN);
283
packet.
ethHdr
.h_proto = htons(Eth_PPPOE_Discovery);
409
if (NOT_UNICAST(packet.
ethHdr
.h_source)) {
414
&& memcmp(packet.
ethHdr
.h_source, conn->req_peer_mac, ETH_ALEN) != 0) {
432
memcpy(conn->peerEth, packet.
ethHdr
.h_source, ETH_ALEN);
465
memcpy(packet.
ethHdr
.h_dest, conn->peerEth, ETH_ALEN);
466
memcpy(packet.
ethHdr
.h_source, conn->myEth, ETH_ALEN);
468
packet.
ethHdr
.h_proto = htons(Eth_PPPOE_Discovery)
[
all
...]
pppoe-discovery.c
82
UINT16_t type = (UINT16_t) ntohs(packet->
ethHdr
.h_proto);
347
if (memcmp(packet->
ethHdr
.h_dest, conn->myEth, ETH_ALEN)) return 0;
458
memset(packet.
ethHdr
.h_dest, 0xFF, ETH_ALEN);
459
memcpy(packet.
ethHdr
.h_source, conn->myEth, ETH_ALEN);
461
packet.
ethHdr
.h_proto = htons(Eth_PPPOE_Discovery);
568
if (BROADCAST(packet.
ethHdr
.h_source)) {
586
memcpy(conn->peerEth, packet.
ethHdr
.h_source, ETH_ALEN);
if.c
77
UINT16_t type = (UINT16_t) ntohs(packet->
ethHdr
.h_proto);
pppoe.h
180
struct
ethhdr
ethHdr
; /* Ethernet header */
194
#define HDR_SIZE (sizeof(struct
ethhdr
) + PPPOE_OVERHEAD)
Completed in 915 milliseconds