Lines Matching refs:areq
959 struct tac_author_request *areq;
963 areq = &h->request.u.author_request;
964 areq->authen_meth = method;
965 areq->priv_lvl = TAC_PRIV_LVL_USER;
966 areq->authen_type = type;
967 areq->service = service;
1114 struct tac_author_request *areq = &h->request.u.author_request;
1121 for (areq->av_cnt=0, i=0; i<MAXAVPAIRS; i++)
1123 areq->av_cnt++;
1129 h->request.length = ntohl(htonl(h->request.length) + areq->av_cnt);
1132 if (add_str_8(h, &areq->user_len, &h->user) == -1 ||
1133 add_str_8(h, &areq->port_len, &h->port) == -1 ||
1134 add_str_8(h, &areq->rem_addr_len, &h->rem_addr) == -1)
1137 /* Add each AV pair, the size of each placed in areq->rest[current] */
1140 if (add_str_8(h, &areq->rest[current++],