Lines Matching refs:tlen
201 int tlen; in handle_motm_hurl() local
212 tlen = POET_GET_LENG(tagp); in handle_motm_hurl()
213 if (tlen > pktlen - POET_HDRLEN) in handle_motm_hurl()
216 if ((str = malloc(tlen + 1)) == NULL) { in handle_motm_hurl()
220 (void) memcpy(str, POET_DATA(tagp), tlen); in handle_motm_hurl()
221 str[tlen] = '\0'; in handle_motm_hurl()
223 pktlen -= POET_HDRLEN + tlen; in handle_motm_hurl()
224 tagp += POET_HDRLEN + tlen; in handle_motm_hurl()
247 int tlen; in handle_ip_route_add() local
262 tlen = POET_GET_LENG(tagp); in handle_ip_route_add()
263 if (tlen > pktlen - POET_HDRLEN) in handle_ip_route_add()
265 if (ttype == POETT_RTEADD && tlen >= sizeof (poer) && 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()