Searched refs:POET_HDRLEN (Results 1 – 5 of 5) sorted by relevance
208 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()
194 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()
90 #define POET_HDRLEN 4 macro91 #define POET_DATA(x) ((x)+POET_HDRLEN)
154 while (length >= POET_HDRLEN) { in interpret_tags()161 tag_length + POET_HDRLEN); in interpret_tags()169 length -= POET_HDRLEN; in interpret_tags()
2118 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()