Lines Matching full:radius
2 * RADIUS message processing
15 #include "radius.h"
19 * struct radius_msg - RADIUS message structure for new and parsed messages
23 * buf - Allocated buffer for RADIUS message
28 * hdr - Pointer to the RADIUS header in buf
94 * radius_msg_new - Create a new RADIUS message
95 * @code: Code for RADIUS header
96 * @identifier: Identifier for RADIUS header
97 * Returns: Context for RADIUS message or %NULL on failure
124 * radius_msg_free - Free a RADIUS message
125 * @msg: RADIUS message from radius_msg_new() or radius_msg_parse()
333 printf("RADIUS message: code=%d (%s) identifier=%d length=%d\n",
356 wpa_printf(MSG_WARNING, "RADIUS: Could not add "
367 wpa_printf(MSG_WARNING, "RADIUS: Too long message (%lu)",
408 wpa_printf(MSG_WARNING, "RADIUS: Too long message (%lu)",
447 wpa_printf(MSG_WARNING, "RADIUS: Too long message (%lu)",
470 wpa_printf(MSG_WARNING, "RADIUS: Too long messages (%lu)",
530 "in RADIUS message");
615 * radius_msg_parse - Parse a RADIUS message
616 * @data: RADIUS message to be parsed
618 * Returns: Parsed RADIUS message or %NULL on failure
620 * This parses a RADIUS message and makes a copy of its data. The caller is
638 wpa_printf(MSG_INFO, "RADIUS: Invalid message length");
643 wpa_printf(MSG_DEBUG, "RADIUS: Ignored %lu extra bytes after "
644 "RADIUS message", (unsigned long) len - msg_len);
760 "attributes in RADIUS message\n");
879 /* Get Vendor-specific RADIUS Attribute from a parsed RADIUS message.
1207 /* Add User-Password attribute to a RADIUS message and encrypt it as specified
1333 * radius_msg_get_vlanid - Parse RADIUS attributes for VLAN tunnel information
1334 * @msg: RADIUS message
1403 * radius_msg_get_tunnel_password - Parse RADIUS attribute Tunnel-Password
1404 * @msg: Received RADIUS message
1406 * @secret: RADIUS shared secret
1408 * @sent_msg: Sent RADIUS message