Searched refs:TAG_HDR_SIZE (Results 1 - 3 of 3) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/ppp-2.4.4/pppd/plugins/rp-pppoe/ |
H A D | common.c | 78 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { 82 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra); 83 curTag = curTag + TAG_HDR_SIZE + tagLen; 133 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) { 138 memcpy(tag, curTag, tagLen + TAG_HDR_SIZE); 141 curTag = curTag + TAG_HDR_SIZE + tagLen; 429 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); 430 cursor += sizeof(pid) + TAG_HDR_SIZE; 431 plen += sizeof(pid) + TAG_HDR_SIZE; 441 memcpy(cursor, &err, elen + TAG_HDR_SIZE); [all...] |
H A D | discovery.c | 255 plen = TAG_HDR_SIZE + namelen; 270 CHECK_ROOM(cursor, packet.payload, namelen+TAG_HDR_SIZE); 275 cursor += namelen + TAG_HDR_SIZE; 284 CHECK_ROOM(cursor, packet.payload, sizeof(pid) + TAG_HDR_SIZE); 285 memcpy(cursor, &hostUniq, sizeof(pid) + TAG_HDR_SIZE); 286 cursor += sizeof(pid) + TAG_HDR_SIZE; 287 plen += sizeof(pid) + TAG_HDR_SIZE; 426 plen = TAG_HDR_SIZE + namelen; 443 cursor += namelen + TAG_HDR_SIZE; 452 CHECK_ROOM(cursor, packet.payload, sizeof(pid)+TAG_HDR_SIZE); [all...] |
H A D | pppoe.h | 235 #define TAG_HDR_SIZE 4 macro
|
Completed in 37 milliseconds