Home
last modified time | relevance | path

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

/titanic_50/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()
/titanic_50/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dcommon.c194 if (tptr < tstart || tptr+POET_HDRLEN > tend || in poe_tagcheck()
195 tptr+POET_HDRLEN+POET_GET_LENG(tptr) > tend) in poe_tagcheck()
209 if (sizeof (*poep) + plen + POET_HDRLEN + dlen > PPPOE_MSGMAX) in poe_tag_insert()
216 poep->poep_length = htons(plen + POET_HDRLEN + dlen); in poe_tag_insert()
266 tlen = POET_GET_LENG(tagp) + POET_HDRLEN; in poe_tag_copy()
/titanic_50/usr/src/uts/common/net/
H A Dpppoe.h90 #define POET_HDRLEN 4 macro
91 #define POET_DATA(x) ((x)+POET_HDRLEN)
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_pppoe.c154 while (length >= POET_HDRLEN) { in interpret_tags()
161 tag_length + POET_HDRLEN); in interpret_tags()
169 length -= POET_HDRLEN; in interpret_tags()
/titanic_50/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c2118 while (i > POET_HDRLEN) { in sppptun_recv()
2126 i -= POET_GET_LENG(ucp) + POET_HDRLEN; in sppptun_recv()
2129 if (i >= POET_HDRLEN + 4) in sppptun_recv()
2130 sessid = GETLONG(ucp + POET_HDRLEN); in sppptun_recv()