Lines Matching refs:areq
961 struct tac_author_request *areq; in tac_create_author() local
965 areq = &h->request.u.author_request; in tac_create_author()
966 areq->authen_meth = method; in tac_create_author()
967 areq->priv_lvl = TAC_PRIV_LVL_USER; in tac_create_author()
968 areq->authen_type = type; in tac_create_author()
969 areq->service = service; in tac_create_author()
1115 struct tac_author_request *areq = &h->request.u.author_request; in tac_send_author() local
1122 for (areq->av_cnt=0, i=0; i<MAXAVPAIRS; i++) in tac_send_author()
1124 areq->av_cnt++; in tac_send_author()
1130 h->request.length = ntohl(htonl(h->request.length) + areq->av_cnt); in tac_send_author()
1133 if (add_str_8(h, &areq->user_len, &h->user) == -1 || in tac_send_author()
1134 add_str_8(h, &areq->port_len, &h->port) == -1 || in tac_send_author()
1135 add_str_8(h, &areq->rem_addr_len, &h->rem_addr) == -1) in tac_send_author()
1141 if (add_str_8(h, &areq->rest[current++], in tac_send_author()