Searched refs:UPAP_HEADERLEN (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dupap.h48 #define UPAP_HEADERLEN 4 macro
H A Dupap.c348 if (l < UPAP_HEADERLEN) {
349 error("PAP: packet is too small (%d < %d)", l, UPAP_HEADERLEN);
355 if ((len < UPAP_HEADERLEN) || (len > l)) {
357 UPAP_HEADERLEN, l);
360 len -= UPAP_HEADERLEN;
608 outlen = UPAP_HEADERLEN + 2 * sizeof (u_char) + u->us_userlen + pwlen;
644 outlen = UPAP_HEADERLEN + sizeof (u_char) + msglen;
675 if (plen < UPAP_HEADERLEN)
681 if (len < UPAP_HEADERLEN || len > plen)
689 len -= UPAP_HEADERLEN;
[all...]

Completed in 183 milliseconds