/openbsd/lib/libradius/ |
H A D | radius.h | 382 typedef struct _RADIUS_PACKET RADIUS_PACKET; typedef 386 RADIUS_PACKET *radius_new_response_packet(uint8_t, const RADIUS_PACKET *); 390 int radius_delete_packet(RADIUS_PACKET *); 399 const RADIUS_PACKET *); 400 const RADIUS_PACKET * 405 const RADIUS_PACKET *, const char *); 502 int radius_put_ipv4_attr(RADIUS_PACKET *, 506 int radius_set_ipv4_attr(RADIUS_PACKET *, 516 int radius_put_ipv6_attr(RADIUS_PACKET *, 520 int radius_set_ipv6_attr(RADIUS_PACKET *, [all …]
|
H A D | radius.c | 105 RADIUS_PACKET * 108 RADIUS_PACKET *packet; in radius_new_request_packet() 129 RADIUS_PACKET * 132 RADIUS_PACKET *packet; in radius_new_response_packet() 143 RADIUS_PACKET * 146 RADIUS_PACKET *packet; in radius_convert_packet() 221 const RADIUS_PACKET * request) in radius_set_request_packet() 226 const RADIUS_PACKET * 321 RADIUS_PACKET * 348 RADIUS_PACKET * [all …]
|
H A D | radius_attr.c | 294 radius_set_raw_attr(RADIUS_PACKET * packet, in radius_set_raw_attr() 308 radius_set_vs_raw_attr(RADIUS_PACKET * packet, in radius_set_vs_raw_attr() 322 radius_del_attr_all(RADIUS_PACKET * packet, uint8_t type) in radius_del_attr_all() 352 radius_has_attr(const RADIUS_PACKET * packet, uint8_t type) in radius_has_attr() 391 radius_get_vs_string_attr(const RADIUS_PACKET * packet, in radius_get_vs_string_attr() 418 radius_put_vs_string_attr(RADIUS_PACKET * packet, in radius_put_vs_string_attr() 459 int radius_put_ ## ftname ## _attr(RADIUS_PACKET *packet, \ 468 int radius_put_vs_ ## ftname ## _attr(RADIUS_PACKET *packet, \ 478 int radius_set_ ## ftname ## _attr(RADIUS_PACKET *packet, \ 527 int radius_put_ ## ftname ## _attr(RADIUS_PACKET *packet, \ [all …]
|
H A D | radius_mppe.c | 126 radius_get_mppe_key_attr(const RADIUS_PACKET * packet, uint8_t vtype, in radius_get_mppe_key_attr() 142 radius_put_mppe_key_attr(RADIUS_PACKET * packet, uint8_t vtype, in radius_put_mppe_key_attr() 159 radius_get_mppe_send_key_attr(const RADIUS_PACKET * packet, void *buf, in radius_get_mppe_send_key_attr() 167 radius_put_mppe_send_key_attr(RADIUS_PACKET * packet, const void *buf, in radius_put_mppe_send_key_attr() 175 radius_get_mppe_recv_key_attr(const RADIUS_PACKET * packet, void *buf, in radius_get_mppe_recv_key_attr() 183 radius_put_mppe_recv_key_attr(RADIUS_PACKET * packet, const void *buf, in radius_put_mppe_recv_key_attr()
|
H A D | radius_msgauth.c | 45 radius_calc_message_authenticator(RADIUS_PACKET * packet, const char *secret, in radius_calc_message_authenticator() 106 radius_put_message_authenticator(RADIUS_PACKET * packet, const char *secret) in radius_put_message_authenticator() 123 radius_set_message_authenticator(RADIUS_PACKET * packet, const char *secret) in radius_set_message_authenticator() 135 radius_check_message_authenticator(RADIUS_PACKET * packet, const char *secret) in radius_check_message_authenticator()
|
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_userpass.c | 116 radius_get_user_password_attr(const RADIUS_PACKET * packet, char *buf, in radius_get_user_password_attr() 133 radius_put_user_password_attr(RADIUS_PACKET * packet, const char *buf, in radius_put_user_password_attr()
|
H A D | radius_eapmsk.c | 37 radius_get_eap_msk(const RADIUS_PACKET * packet, void *buf, size_t *len, in radius_get_eap_msk()
|
/openbsd/usr.sbin/radiusd/ |
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; in module_standard_reqdeco() 295 RADIUS_PACKET *radres = NULL; in module_standard_resdeco() 332 RADIUS_PACKET *radpkt = NULL; in module_accounting_request() 443 radius_u32_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type, in radius_u32_print() 454 radius_str_print(FILE *fout, RADIUS_PACKET *radpkt, uint8_t attr_type, in radius_str_print() [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; in module_file_access_request() 400 auth_pap(struct module_file *self, u_int q_id, RADIUS_PACKET *radpkt, in auth_pap() 403 RADIUS_PACKET *respkt = NULL; in auth_pap() 431 RADIUS_PACKET *respkt = NULL; in auth_md5chap() 473 RADIUS_PACKET *respkt = NULL; in auth_mschapv2() 595 auth_reject(struct module_file *self, u_int q_id, RADIUS_PACKET *radpkt, in auth_reject() [all …]
|
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_eap2mschap.c | 163 RADIUS_PACKET *pkt; in eap2mschap_access_request() 193 RADIUS_PACKET *pkt = NULL; in eap2mschap_next_response() 290 eap_recv(struct eap2mschap *self, u_int q_id, RADIUS_PACKET *pkt) in eap_recv() 347 RADIUS_PACKET *radres = NULL; in eap_recv() 455 RADIUS_PACKET *pkt, struct eap_chap *chap) in eap_recv_mschap() 536 RADIUS_PACKET *radres = NULL; in eap_recv_mschap() 619 RADIUS_PACKET *pkt) in eap_resp_mschap() 637 RADIUS_PACKET *respkt; in eap_resp_mschap() 719 eap_send_reject(struct access_req *req, RADIUS_PACKET *reqp, u_int q_id) in eap_send_reject() 721 RADIUS_PACKET *resp; in eap_send_reject()
|
H A D | radiusd_local.h | 139 RADIUS_PACKET *req; 140 RADIUS_PACKET *res; 204 void radiusd_access_request_next(struct radius_query *, RADIUS_PACKET *);
|
/openbsd/usr.sbin/npppd/npppd/ |
H A D | radius_req.h | 67 typedef void (radius_response)(void *context, RADIUS_PACKET *pkt, int flags, RADIUS_REQUEST_CTX req… 107 void radius_request (RADIUS_REQUEST_CTX, RADIUS_PACKET *); 108 int radius_prepare_nas_address (radius_req_setting *, RADIUS_PACKET *);
|
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 *); 81 ppp_process_radius_attrs(npppd_ppp *_this, RADIUS_PACKET *pkt) in ppp_process_radius_attrs() 174 npppd_ppp_radius_acct_reqcb(void *context, RADIUS_PACKET *pkt, int flags, in npppd_ppp_radius_acct_reqcb() 240 RADIUS_PACKET *radpkt; in radius_acct_request() 382 RADIUS_PACKET *radpkt = NULL; in radius_acct_on() 419 radius_acct_on_cb(void *context, RADIUS_PACKET *pkt, int flags, in radius_acct_on_cb() 431 pptp_put_tunnel_attributes(RADIUS_PACKET *radpkt, void *call0) in pptp_put_tunnel_attributes() 487 l2tp_put_tunnel_attributes(RADIUS_PACKET *radpkt, void *call0) in l2tp_put_tunnel_attributes() 544 radius_req_setting *rad_setting, RADIUS_PACKET *radpkt) in ppp_set_radius_attrs_for_authreq() [all …]
|
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.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) in radius_request() 120 RADIUS_PACKET *pkt) in radius_prepare_nas_address() 416 RADIUS_PACKET *respkt; in radius_request_io_event() 471 radius_on_response(RADIUS_REQUEST_CTX ctx, RADIUS_PACKET *pkt, int flags, in radius_on_response()
|
/openbsd/regress/lib/libradius/ |
H A D | test10.c | 11 RADIUS_PACKET *request; in test10() 12 RADIUS_PACKET *response; in test10()
|
H A D | test23.c | 11 RADIUS_PACKET *packet; in test23() 12 RADIUS_PACKET *response; in test23()
|
H A D | test06.c | 9 RADIUS_PACKET *pkt; in test06()
|
H A D | test05.c | 9 RADIUS_PACKET *req0, *req1, *resp; in test05()
|
H A D | test11.c | 11 RADIUS_PACKET *packet; in test11()
|
H A D | test00.c | 9 RADIUS_PACKET *packet; in test00()
|
/openbsd/sbin/iked/ |
H A D | radius.c | 46 void iked_radius_fill_attributes(struct iked_sa *, RADIUS_PACKET *); 47 void iked_radius_config(struct iked_radserver_req *, const RADIUS_PACKET *, 70 RADIUS_PACKET *pkt; in iked_radius_request() 153 RADIUS_PACKET *pkt; in iked_radius_on_event() 510 iked_radius_fill_attributes(struct iked_sa *sa, RADIUS_PACKET *pkt) in iked_radius_fill_attributes() 529 iked_radius_config(struct iked_radserver_req *req, const RADIUS_PACKET *pkt, in iked_radius_config() 676 RADIUS_PACKET *pkt; in iked_radius_acct_request() 814 RADIUS_PACKET *req = NULL, *res = NULL; in iked_radius_dae_on_event()
|
/openbsd/usr.sbin/radiusctl/ |
H A D | radiusctl.c | 55 static void radius_dump(FILE *, RADIUS_PACKET *, bool, 230 RADIUS_PACKET *reqpkt; 246 RADIUS_PACKET *reqpkt; in radius_test() 417 RADIUS_PACKET *reqpkt = test->reqpkt; in radius_test_send() 445 RADIUS_PACKET *respkt; in radius_test_recv() 446 RADIUS_PACKET *reqpkt = test->reqpkt; in radius_test_recv() 486 radius_dump(FILE *out, RADIUS_PACKET *pkt, bool resp, const char *secret) in radius_dump()
|