OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:ethHdr
(Results
1 - 5
of
5
) sorted by null
/external/ppp/pppd/plugins/rp-pppoe/
debug.c
130
(unsigned) packet->
ethHdr
.h_source[0],
131
(unsigned) packet->
ethHdr
.h_source[1],
132
(unsigned) packet->
ethHdr
.h_source[2],
133
(unsigned) packet->
ethHdr
.h_source[3],
134
(unsigned) packet->
ethHdr
.h_source[4],
135
(unsigned) packet->
ethHdr
.h_source[5],
136
(unsigned) packet->
ethHdr
.h_dest[0],
137
(unsigned) packet->
ethHdr
.h_dest[1],
138
(unsigned) packet->
ethHdr
.h_dest[2],
139
(unsigned) packet->
ethHdr
.h_dest[3]
[
all
...]
discovery.c
86
if (memcmp(packet->
ethHdr
.h_dest, conn->myEth, ETH_ALEN)) return 0;
259
memset(packet.
ethHdr
.h_dest, 0xFF, ETH_ALEN);
260
memcpy(packet.
ethHdr
.h_source, conn->myEth, ETH_ALEN);
262
packet.
ethHdr
.h_proto = htons(Eth_PPPOE_Discovery);
368
if (NOT_UNICAST(packet.
ethHdr
.h_source)) {
386
memcpy(conn->peerEth, packet.
ethHdr
.h_source, ETH_ALEN);
429
memcpy(packet.
ethHdr
.h_dest, conn->peerEth, ETH_ALEN);
430
memcpy(packet.
ethHdr
.h_source, conn->myEth, ETH_ALEN);
432
packet.
ethHdr
.h_proto = htons(Eth_PPPOE_Discovery);
542
if (memcmp(packet.
ethHdr
.h_source, conn->peerEth, ETH_ALEN)) continue
[
all
...]
common.c
409
memcpy(packet.
ethHdr
.h_dest, conn->peerEth, ETH_ALEN);
410
memcpy(packet.
ethHdr
.h_source, conn->myEth, ETH_ALEN);
412
packet.
ethHdr
.h_proto = htons(Eth_PPPOE_Discovery);
pppoe.h
81
#define
ethhdr
ether_header
macro
95
#define
ethhdr
ether_header
macro
207
struct
ethhdr
ethHdr
; /* Ethernet header */
223
#define HDR_SIZE (sizeof(struct
ethhdr
) + PPPOE_OVERHEAD)
if.c
128
UINT16_t type = (UINT16_t) ntohs(packet->
ethHdr
.h_proto);
551
tmp_sap = htons(pkt->
ethHdr
.h_proto);
552
data_size = size - sizeof(struct
ethhdr
);
554
memcpy((char *)phys, (char *)pkt->
ethHdr
.h_dest, ETHERADDRL);
556
memcpy((char *)xmitbuf, (char *)pkt + sizeof(struct
ethhdr
), data_size);
Completed in 162 milliseconds