Home
last modified time | relevance | path

Searched refs:POET_HDRLEN (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c208 while (pktlen >= POET_HDRLEN) { in handle_motm_hurl()
213 if (tlen > pktlen - POET_HDRLEN) in handle_motm_hurl()
223 pktlen -= POET_HDRLEN + tlen; in handle_motm_hurl()
224 tagp += POET_HDRLEN + tlen; in handle_motm_hurl()
258 while (pktlen >= POET_HDRLEN) { in handle_ip_route_add()
263 if (tlen > pktlen - POET_HDRLEN) in handle_ip_route_add()
270 pktlen -= POET_HDRLEN + tlen; in handle_ip_route_add()
271 tagp += POET_HDRLEN + tlen; in handle_ip_route_add()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c192 if (tptr < tstart || tptr+POET_HDRLEN > tend || in poe_tagcheck()
193 tptr+POET_HDRLEN+POET_GET_LENG(tptr) > tend) in poe_tagcheck()
207 if (sizeof (*poep) + plen + POET_HDRLEN + dlen > PPPOE_MSGMAX) in poe_tag_insert()
214 poep->poep_length = htons(plen + POET_HDRLEN + dlen); in poe_tag_insert()
264 tlen = POET_GET_LENG(tagp) + POET_HDRLEN; in poe_tag_copy()
/illumos-gate/usr/src/uts/common/net/
H A Dpppoe.h88 #define POET_HDRLEN 4 macro
89 #define POET_DATA(x) ((x)+POET_HDRLEN)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pppoe.c152 while (length >= POET_HDRLEN) { in interpret_tags()
159 tag_length + POET_HDRLEN); in interpret_tags()
167 length -= POET_HDRLEN; in interpret_tags()
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c2122 while (i > POET_HDRLEN) { in sppptun_recv()
2130 i -= POET_GET_LENG(ucp) + POET_HDRLEN; in sppptun_recv()
2133 if (i >= POET_HDRLEN + 4) in sppptun_recv()
2134 sessid = GETLONG(ucp + POET_HDRLEN); in sppptun_recv()