Lines Matching refs:plen
174 int plen;
181 plen = poe_length(poep);
182 if (plen + sizeof (*poep) > length)
186 tend = tstart + plen;
203 int plen;
206 plen = poe_length(poep);
209 if (sizeof (*poep) + plen + POET_HDRLEN + dlen > PPPOE_MSGMAX)
211 dp = (uint8_t *)(poep + 1) + plen;
216 poep->poep_length = htons(plen + POET_HDRLEN + dlen);
264 int plen;
267 plen = poe_length(poep);
268 if (sizeof (*poep) + plen + tlen > PPPOE_MSGMAX)
270 (void) memcpy((uint8_t *)(poep + 1) + plen, tagp, tlen);
271 poep->poep_length = htons(tlen + plen);