Lines Matching defs:as
890 struct tac_authen_start *as;
894 as = &h->request.u.authen_start;
895 as->action = action;
896 as->priv_lvl = TAC_PRIV_LVL_USER;
897 as->authen_type = type;
898 as->service = service;
922 struct tac_acct_start *as;
926 as = &h->request.u.acct_start;
927 as->action = acct;
928 as->authen_action = action;
929 as->priv_lvl = TAC_PRIV_LVL_USER;
930 as->authen_type = type;
931 as->authen_service = service;
1012 struct tac_authen_start *as;
1014 as = &h->request.u.authen_start;
1017 if (add_str_8(h, &as->user_len, &h->user) == -1 ||
1018 add_str_8(h, &as->port_len, &h->port) == -1 ||
1019 add_str_8(h, &as->rem_addr_len, &h->rem_addr) == -1 ||
1020 add_str_8(h, &as->data_len, &h->data) == -1)
1132 struct tac_acct_start *as = &h->request.u.acct_start;
1136 as = &h->request.u.acct_start;
1138 for (as->av_cnt = 0, i = 0; i < MAXAVPAIRS; i++)
1140 as->av_cnt++;
1141 h->request.length = ntohl(htonl(h->request.length) + as->av_cnt);
1143 if (add_str_8(h, &as->user_len, &h->user) == -1 ||
1144 add_str_8(h, &as->port_len, &h->port) == -1 ||
1145 add_str_8(h, &as->rem_addr_len, &h->rem_addr) == -1)
1150 if (add_str_8(h, &as->rest[current++], &(h->avs[i])) == -1)