Lines Matching defs:msg_type

98 	 * msg_type - Message type
100 RadiusType msg_type;
251 * @msg_type: RADIUS client type (RADIUS_AUTH or RADIUS_ACCT)
265 RadiusType msg_type,
276 if (msg_type == RADIUS_ACCT) {
299 int s, RadiusType msg_type)
312 if (msg_type == RADIUS_ACCT || msg_type == RADIUS_ACCT_INTERIM)
329 if (entry->msg_type == RADIUS_ACCT ||
330 entry->msg_type == RADIUS_ACCT_INTERIM) {
357 radius_client_handle_send_error(radius, s, entry->msg_type);
407 if (entry->msg_type == RADIUS_ACCT ||
408 entry->msg_type == RADIUS_ACCT_INTERIM)
443 if (entry->msg_type == RADIUS_AUTH)
467 if (entry->msg_type == RADIUS_ACCT ||
468 entry->msg_type == RADIUS_ACCT_INTERIM)
514 RadiusType msg_type,
537 entry->msg_type = msg_type;
567 RadiusType msg_type, const u8 *addr)
577 if (entry->msg_type == msg_type &&
603 * @msg_type: Message type (RADIUS_AUTH, RADIUS_ACCT, RADIUS_ACCT_INTERIM)
622 struct radius_msg *msg, RadiusType msg_type,
632 if (msg_type == RADIUS_ACCT_INTERIM) {
634 radius_client_list_del(radius, msg_type, addr);
637 if (msg_type == RADIUS_ACCT || msg_type == RADIUS_ACCT_INTERIM) {
676 radius_client_handle_send_error(radius, s, msg_type);
678 radius_client_list_add(radius, msg, msg_type, shared_secret,
689 RadiusType msg_type = (RadiusType) sock_ctx;
701 if (msg_type == RADIUS_ACCT) {
758 if ((req->msg_type == msg_type ||
759 (req->msg_type == RADIUS_ACCT_INTERIM &&
760 msg_type == RADIUS_ACCT)) &&
774 msg_type, hdr->identifier);
823 msg_type, hdr->code, hdr->identifier,
892 if (!only_auth || entry->msg_type == RADIUS_AUTH) {
923 if (entry->msg_type == RADIUS_ACCT) {
978 if ((auth && entry->msg_type != RADIUS_AUTH) ||
979 (!auth && entry->msg_type != RADIUS_ACCT))
1328 if (entry->msg_type == RADIUS_AUTH &&
1364 if (msg->msg_type == RADIUS_AUTH)
1413 if (msg->msg_type == RADIUS_ACCT ||
1414 msg->msg_type == RADIUS_ACCT_INTERIM)