/openbsd-current/lib/libradius/ |
H A D | radius.h | 382 typedef struct _RADIUS_PACKET RADIUS_PACKET; typedef in typeref:struct:_RADIUS_PACKET 385 RADIUS_PACKET *radius_new_request_packet(uint8_t); 386 RADIUS_PACKET *radius_new_response_packet(uint8_t, const RADIUS_PACKET *); 387 RADIUS_PACKET *radius_convert_packet(const void *, size_t); 390 int radius_delete_packet(RADIUS_PACKET *); 393 uint8_t radius_get_id(const RADIUS_PACKET *); 394 void radius_update_id(RADIUS_PACKET * packet); 395 void radius_set_id(RADIUS_PACKET *, uint8_t); 396 uint8_t radius_get_code(const RADIUS_PACKET *); [all...] |
H A D | radius.c | 81 radius_ensure_add_capacity(RADIUS_PACKET * packet, size_t capacity) 105 RADIUS_PACKET * 108 RADIUS_PACKET *packet; 110 packet = malloc(sizeof(RADIUS_PACKET)); 129 RADIUS_PACKET * 130 radius_new_response_packet(uint8_t code, const RADIUS_PACKET * request) 132 RADIUS_PACKET *packet; 143 RADIUS_PACKET * 146 RADIUS_PACKET *packet; 151 packet = malloc(sizeof(RADIUS_PACKET)); [all...] |
H A D | radius_attr.c | 86 radius_get_raw_attr_ptr(const RADIUS_PACKET * packet, uint8_t type, 99 radius_get_vs_raw_attr_ptr(const RADIUS_PACKET * packet, uint32_t vendor, 112 radius_get_raw_attr(const RADIUS_PACKET * packet, uint8_t type, void *buf, 125 radius_get_vs_raw_attr(const RADIUS_PACKET * packet, uint32_t vendor, 138 radius_get_raw_attr_cat(const RADIUS_PACKET * packet, uint8_t type, void *buf, 160 radius_get_vs_raw_attr_cat(const RADIUS_PACKET * packet, uint32_t vendor, 182 radius_put_raw_attr(RADIUS_PACKET * packet, uint8_t type, const void *buf, 203 radius_unshift_raw_attr(RADIUS_PACKET * packet, uint8_t type, const void *buf, 228 radius_put_vs_raw_attr(RADIUS_PACKET * packet, uint32_t vendor, uint8_t vtype, 254 radius_put_raw_attr_cat(RADIUS_PACKET * packe [all...] |
H A D | radius_local.h | 58 const RADIUS_PACKET *request; 76 int radius_ensure_add_capacity(RADIUS_PACKET * packet, size_t capacity); 77 int radius_unshift_raw_attr(RADIUS_PACKET * packet, uint8_t type,
|
H A D | radius_mppe.c | 126 radius_get_mppe_key_attr(const RADIUS_PACKET * packet, uint8_t vtype, 142 radius_put_mppe_key_attr(RADIUS_PACKET * packet, uint8_t vtype, 159 radius_get_mppe_send_key_attr(const RADIUS_PACKET * packet, void *buf, 167 radius_put_mppe_send_key_attr(RADIUS_PACKET * packet, const void *buf, 175 radius_get_mppe_recv_key_attr(const RADIUS_PACKET * packet, void *buf, 183 radius_put_mppe_recv_key_attr(RADIUS_PACKET * packet, const void *buf,
|
H A D | radius_eapmsk.c | 37 radius_get_eap_msk(const RADIUS_PACKET * packet, void *buf, size_t *len,
|
H A D | radius_msgauth.c | 45 radius_calc_message_authenticator(RADIUS_PACKET * packet, const char *secret, 106 radius_put_message_authenticator(RADIUS_PACKET * packet, const char *secret) 123 radius_set_message_authenticator(RADIUS_PACKET * packet, const char *secret) 135 radius_check_message_authenticator(RADIUS_PACKET * packet, const char *secret)
|
H A D | radius_userpass.c | 116 radius_get_user_password_attr(const RADIUS_PACKET * packet, char *buf, 133 radius_put_user_password_attr(RADIUS_PACKET * packet, const char *buf,
|
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | npppd_radius.h | 25 void ppp_proccess_radius_framed_ip(npppd_ppp *, RADIUS_PACKET *); 27 RADIUS_PACKET *);
|
H A D | radius_req.h | 67 typedef void (radius_response)(void *context, RADIUS_PACKET *pkt, int flags, RADIUS_REQUEST_CTX reqctx); 107 void radius_request (RADIUS_REQUEST_CTX, RADIUS_PACKET *); 108 int radius_prepare_nas_address (radius_req_setting *, RADIUS_PACKET *);
|
H A D | radius_req.c | 67 RADIUS_PACKET *pkt; 74 static void radius_on_response(RADIUS_REQUEST_CTX, RADIUS_PACKET *, int, int); 98 radius_request(RADIUS_REQUEST_CTX ctx, RADIUS_PACKET *pkt) 120 RADIUS_PACKET *pkt) 416 RADIUS_PACKET *respkt; 471 radius_on_response(RADIUS_REQUEST_CTX ctx, RADIUS_PACKET *pkt, int flags,
|
H A D | npppd_radius.c | 67 static int l2tp_put_tunnel_attributes(RADIUS_PACKET *, void *); 68 static int pptp_put_tunnel_attributes(RADIUS_PACKET *, void *); 70 static void radius_acct_on_cb(void *, RADIUS_PACKET *, int, RADIUS_REQUEST_CTX); 71 static void npppd_ppp_radius_acct_reqcb(void *, RADIUS_PACKET *, int, RADIUS_REQUEST_CTX); 81 ppp_process_radius_attrs(npppd_ppp *_this, RADIUS_PACKET *pkt) 174 npppd_ppp_radius_acct_reqcb(void *context, RADIUS_PACKET *pkt, int flags, 240 RADIUS_PACKET *radpkt; 382 RADIUS_PACKET *radpkt = NULL; 419 radius_acct_on_cb(void *context, RADIUS_PACKET *pkt, int flags, 431 pptp_put_tunnel_attributes(RADIUS_PACKET *radpk [all...] |
/openbsd-current/regress/lib/libradius/ |
H A D | test06.c | 9 RADIUS_PACKET *pkt;
|
H A D | test10.c | 11 RADIUS_PACKET *request; 12 RADIUS_PACKET *response;
|
H A D | test05.c | 9 RADIUS_PACKET *req0, *req1, *resp;
|
H A D | test11.c | 11 RADIUS_PACKET *packet;
|
H A D | test00.c | 9 RADIUS_PACKET *packet;
|
H A D | test23.c | 11 RADIUS_PACKET *packet; 12 RADIUS_PACKET *response;
|
H A D | test03.c | 9 RADIUS_PACKET *packet;
|
H A D | test20.c | 9 RADIUS_PACKET *packet;
|
H A D | test24.c | 14 RADIUS_PACKET *packet;
|
/openbsd-current/usr.sbin/radiusd/ |
H A D | eap2mschap_local.h | 120 RADIUS_PACKET *pkt; 196 *eap_recv(struct eap2mschap *, u_int, RADIUS_PACKET *); 199 RADIUS_PACKET *, struct eap_chap *); 201 RADIUS_PACKET *); 202 static void eap_send_reject(struct access_req *, RADIUS_PACKET *, u_int);
|
H A D | radiusd_standard.c | 59 static void radius_const_print(FILE *, RADIUS_PACKET *, uint8_t, 68 static void radius_u32_print(FILE *, RADIUS_PACKET *, uint8_t, 70 static void radius_str_print(FILE *, RADIUS_PACKET *, uint8_t, 72 static void radius_ipv4_print(FILE *, RADIUS_PACKET *, uint8_t, 74 static void radius_ipv6_print(FILE *, RADIUS_PACKET *, uint8_t, 220 RADIUS_PACKET *radpkt = NULL; 295 RADIUS_PACKET *radres = NULL; 332 RADIUS_PACKET *radpkt = NULL; 424 radius_const_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type, 443 radius_u32_print(FILE *fout, RADIUS_PACKET *radpk [all...] |
H A D | radiusd_file.c | 79 static void auth_pap(struct module_file *, u_int, RADIUS_PACKET *, char *, 81 static void auth_md5chap(struct module_file *, u_int, RADIUS_PACKET *, 83 static void auth_mschapv2(struct module_file *, u_int, RADIUS_PACKET *, 85 static void auth_reject(struct module_file *, u_int, RADIUS_PACKET *, 345 RADIUS_PACKET *radpkt = NULL; 400 auth_pap(struct module_file *self, u_int q_id, RADIUS_PACKET *radpkt, 403 RADIUS_PACKET *respkt = NULL; 428 auth_md5chap(struct module_file *self, u_int q_id, RADIUS_PACKET *radpkt, 431 RADIUS_PACKET *respkt = NULL; 470 auth_mschapv2(struct module_file *self, u_int q_id, RADIUS_PACKET *radpk [all...] |
H A D | radiusd_local.h | 31 #include <radius.h> /* for RADIUS_PACKET */ 139 RADIUS_PACKET *req; 140 RADIUS_PACKET *res; 204 void radiusd_access_request_next(struct radius_query *, RADIUS_PACKET *);
|