Lines Matching refs:tlen
448 int tlen; in display_pppoe() local
466 tlen = POET_GET_LENG(tagp); in display_pppoe()
510 if (tlen > 0 && *dp == '\0') in display_pppoe()
511 tlen = 0; in display_pppoe()
518 (void) fprintf(out, "%s:\"%.*s\" ", str, tlen, dp); in display_pppoe()
524 while (--tlen >= 0) in display_pppoe()
530 if (tlen >= 4) { in display_pppoe()
536 tlen -= 4; in display_pppoe()
539 while (--tlen >= 0) in display_pppoe()
547 if (tlen != sizeof (poer)) { in display_pppoe()
548 (void) fprintf(out, "RTE%d? ", tlen); in display_pppoe()
572 (void) fprintf(out, "%s:%d ", poe_tagname(ttyp), tlen); in display_pppoe()
837 int tlen; in send_padr() local
856 tlen = POET_GET_LENG(tagp); in send_padr()
862 if (tlen == 0) { in send_padr()
867 (tlen == strlen(service) && in send_padr()
868 memcmp(service, POET_DATA(tagp), tlen) == 0)) { in send_padr()
1075 int tlen, ttyp; in act_open() local
1128 tlen = POET_GET_LENG(tagp); in act_open()
1131 acc_len = tlen; in act_open()
1133 if (serv_len == 0 && ttyp == POETT_SERVICE && tlen != 0) { in act_open()
1135 serv_len = tlen; in act_open()
1174 tlen = POET_GET_LENG(tagp); in act_open()
1175 if (ttyp == POETT_VENDOR && tlen >= 4) { in act_open()
1179 tlen -= 4; in act_open()
1181 while (--tlen >= 0) in act_open()
1321 int tlen; in use_server() local
1340 tlen = POET_GET_LENG(tagp); in use_server()
1341 if (service[0] == '\0' || (strlen(service) == tlen && in use_server()
1342 memcmp(service, POET_DATA(tagp), tlen) == 0)) in use_server()