Lines Matching defs:msg_type

104 	 * msg_type - Message type
106 RadiusType msg_type;
257 * @msg_type: RADIUS client type (RADIUS_AUTH or RADIUS_ACCT)
271 RadiusType msg_type,
282 if (msg_type == RADIUS_ACCT) {
305 int s, RadiusType msg_type)
318 if (msg_type == RADIUS_ACCT || msg_type == RADIUS_ACCT_INTERIM)
335 if (entry->msg_type == RADIUS_ACCT ||
336 entry->msg_type == RADIUS_ACCT_INTERIM) {
363 radius_client_handle_send_error(radius, s, entry->msg_type);
413 if (entry->msg_type == RADIUS_ACCT ||
414 entry->msg_type == RADIUS_ACCT_INTERIM)
449 if (entry->msg_type == RADIUS_AUTH)
473 if (entry->msg_type == RADIUS_ACCT ||
474 entry->msg_type == RADIUS_ACCT_INTERIM)
520 RadiusType msg_type,
543 entry->msg_type = msg_type;
573 RadiusType msg_type, const u8 *addr)
583 if (entry->msg_type == msg_type &&
609 * @msg_type: Message type (RADIUS_AUTH, RADIUS_ACCT, RADIUS_ACCT_INTERIM)
628 struct radius_msg *msg, RadiusType msg_type,
638 if (msg_type == RADIUS_ACCT_INTERIM) {
640 radius_client_list_del(radius, msg_type, addr);
643 if (msg_type == RADIUS_ACCT || msg_type == RADIUS_ACCT_INTERIM) {
682 radius_client_handle_send_error(radius, s, msg_type);
684 radius_client_list_add(radius, msg, msg_type, shared_secret,
695 RadiusType msg_type = (RadiusType) sock_ctx;
707 if (msg_type == RADIUS_ACCT) {
764 if ((req->msg_type == msg_type ||
765 (req->msg_type == RADIUS_ACCT_INTERIM &&
766 msg_type == RADIUS_ACCT)) &&
780 msg_type, hdr->identifier);
829 msg_type, hdr->code, hdr->identifier,
898 if (!only_auth || entry->msg_type == RADIUS_AUTH) {
929 if (entry->msg_type == RADIUS_ACCT) {
984 if ((auth && entry->msg_type != RADIUS_AUTH) ||
985 (!auth && entry->msg_type != RADIUS_ACCT))
1334 if (entry->msg_type == RADIUS_AUTH &&
1370 if (msg->msg_type == RADIUS_AUTH)
1419 if (msg->msg_type == RADIUS_ACCT ||
1420 msg->msg_type == RADIUS_ACCT_INTERIM)