OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TAG_HDR_SIZE
(Results
1 - 4
of
4
) sorted by null
/external/ppp/pppd/plugins/rp-pppoe/
common.c
75
if ((curTag - packet->payload) + tagLen +
TAG_HDR_SIZE
> len) {
79
func(tagType, tagLen, curTag+
TAG_HDR_SIZE
, extra);
80
curTag = curTag +
TAG_HDR_SIZE
+ tagLen;
128
memcpy(cursor, &hostUniq, sizeof(pid) +
TAG_HDR_SIZE
);
129
cursor += sizeof(pid) +
TAG_HDR_SIZE
;
130
plen += sizeof(pid) +
TAG_HDR_SIZE
;
140
memcpy(cursor, &err, elen +
TAG_HDR_SIZE
);
141
cursor += elen +
TAG_HDR_SIZE
;
142
plen += elen +
TAG_HDR_SIZE
;
148
ntohs(conn->cookie.length) +
TAG_HDR_SIZE
);
[
all
...]
discovery.c
289
plen =
TAG_HDR_SIZE
+ namelen;
298
cursor += namelen +
TAG_HDR_SIZE
;
310
CHECK_ROOM(cursor, packet.payload, sizeof(pid) +
TAG_HDR_SIZE
);
311
memcpy(cursor, &hostUniq, sizeof(pid) +
TAG_HDR_SIZE
);
312
cursor += sizeof(pid) +
TAG_HDR_SIZE
;
313
plen += sizeof(pid) +
TAG_HDR_SIZE
;
323
CHECK_ROOM(cursor, packet.payload, sizeof(mru) +
TAG_HDR_SIZE
);
324
memcpy(cursor, &maxPayload, sizeof(mru) +
TAG_HDR_SIZE
);
325
cursor += sizeof(mru) +
TAG_HDR_SIZE
;
326
plen += sizeof(mru) +
TAG_HDR_SIZE
;
[
all
...]
pppoe-discovery.c
294
if ((curTag - packet->payload) + tagLen +
TAG_HDR_SIZE
> len) {
298
func(tagType, tagLen, curTag+
TAG_HDR_SIZE
, extra);
299
curTag = curTag +
TAG_HDR_SIZE
+ tagLen;
454
plen =
TAG_HDR_SIZE
+ namelen;
468
CHECK_ROOM(cursor, packet.payload, namelen+
TAG_HDR_SIZE
);
473
cursor += namelen +
TAG_HDR_SIZE
;
482
CHECK_ROOM(cursor, packet.payload, sizeof(pid) +
TAG_HDR_SIZE
);
483
memcpy(cursor, &hostUniq, sizeof(pid) +
TAG_HDR_SIZE
);
484
cursor += sizeof(pid) +
TAG_HDR_SIZE
;
485
plen += sizeof(pid) +
TAG_HDR_SIZE
;
[
all
...]
pppoe.h
209
#define
TAG_HDR_SIZE
4
Completed in 89 milliseconds