Searched defs:curTag (Results 1 - 1 of 1) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
H A Dcommon.c49 unsigned char *curTag; local
68 curTag = packet->payload;
69 while(curTag - packet->payload < len) {
71 tagType = (((UINT16_t) curTag[0]) << 8) +
72 (UINT16_t) curTag[1];
73 tagLen = (((UINT16_t) curTag[2]) << 8) +
74 (UINT16_t) curTag[3];
78 if ((curTag - packet->payload) + tagLen + TAG_HDR_SIZE > len) {
82 func(tagType, tagLen, curTag+TAG_HDR_SIZE, extra);
83 curTag
104 unsigned char *curTag; local
[all...]

Completed in 68 milliseconds