Lines Matching refs:RADIUS_PACKET
382 typedef struct _RADIUS_PACKET 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 *);
397 void radius_get_authenticator(const RADIUS_PACKET *, void *);
398 void radius_set_request_packet(RADIUS_PACKET *,
399 const RADIUS_PACKET *);
400 const RADIUS_PACKET *
401 radius_get_request_packet(const RADIUS_PACKET *);
402 int radius_check_response_authenticator(const RADIUS_PACKET *,
405 const RADIUS_PACKET *, const char *);
406 uint8_t *radius_get_authenticator_retval(const RADIUS_PACKET *);
407 uint8_t *radius_get_request_authenticator_retval(const RADIUS_PACKET *);
408 void radius_set_accounting_request_authenticator(RADIUS_PACKET *,
410 void radius_set_response_authenticator(RADIUS_PACKET *,
412 uint16_t radius_get_length(const RADIUS_PACKET *);
413 const void *radius_get_data(const RADIUS_PACKET *);
415 int radius_get_raw_attr(const RADIUS_PACKET *, uint8_t, void *,
417 int radius_get_vs_raw_attr(const RADIUS_PACKET *, uint32_t,
419 int radius_put_raw_attr(RADIUS_PACKET *, uint8_t, const void *,
421 int radius_put_vs_raw_attr(RADIUS_PACKET *, uint32_t, uint8_t,
423 int radius_get_raw_attr_ptr(const RADIUS_PACKET *, uint8_t,
425 int radius_get_vs_raw_attr_ptr(const RADIUS_PACKET *, uint32_t,
427 int radius_get_raw_attr_cat(const RADIUS_PACKET *, uint8_t,
429 int radius_get_vs_raw_attr_cat(const RADIUS_PACKET *, uint32_t,
431 int radius_put_raw_attr_cat(RADIUS_PACKET *, uint8_t,
433 int radius_put_vs_raw_attr_cat(RADIUS_PACKET *, uint32_t, uint8_t,
435 int radius_set_raw_attr(RADIUS_PACKET *, uint8_t, const void *,
437 int radius_set_vs_raw_attr(RADIUS_PACKET *, uint32_t, uint8_t,
440 int radius_del_attr_all(RADIUS_PACKET *, uint8_t);
441 int radius_del_vs_attr_all(RADIUS_PACKET *, uint32_t, uint8_t);
443 bool radius_has_attr(const RADIUS_PACKET *, uint8_t);
444 bool radius_has_vs_attr(const RADIUS_PACKET *, uint32_t, uint8_t);
447 int radius_get_string_attr(const RADIUS_PACKET *, uint8_t, char *,
449 int radius_get_vs_string_attr(const RADIUS_PACKET *, uint32_t,
451 int radius_put_string_attr(RADIUS_PACKET *, uint8_t, const char *);
452 int radius_put_vs_string_attr(RADIUS_PACKET *, uint32_t, uint8_t,
456 int radius_get_uint16_attr(const RADIUS_PACKET *,
458 int radius_get_vs_uint16_attr(const RADIUS_PACKET *,
460 int radius_put_uint16_attr(RADIUS_PACKET *,
462 int radius_put_vs_uint16_attr(RADIUS_PACKET *,
464 int radius_set_uint16_attr(RADIUS_PACKET *,
466 int radius_set_vs_uint16_attr(RADIUS_PACKET *,
470 int radius_get_uint32_attr(const RADIUS_PACKET *,
472 int radius_get_vs_uint32_attr(const RADIUS_PACKET *,
474 int radius_put_uint32_attr(RADIUS_PACKET *,
476 int radius_put_vs_uint32_attr(RADIUS_PACKET *,
478 int radius_set_uint32_attr(RADIUS_PACKET *,
480 int radius_set_vs_uint32_attr(RADIUS_PACKET *,
484 int radius_get_uint64_attr(const RADIUS_PACKET *,
486 int radius_get_vs_uint64_attr(const RADIUS_PACKET *,
488 int radius_put_uint64_attr(RADIUS_PACKET *,
490 int radius_put_vs_uint64_attr(RADIUS_PACKET *,
492 int radius_set_uint64_attr(RADIUS_PACKET *,
494 int radius_set_vs_uint64_attr(RADIUS_PACKET *,
498 int radius_get_ipv4_attr(const RADIUS_PACKET *,
500 int radius_get_vs_ipv4_attr(const RADIUS_PACKET *,
502 int radius_put_ipv4_attr(RADIUS_PACKET *,
504 int radius_put_vs_ipv4_attr(RADIUS_PACKET *,
506 int radius_set_ipv4_attr(RADIUS_PACKET *,
508 int radius_set_vs_ipv4_attr(RADIUS_PACKET *,
512 int radius_get_ipv6_attr(const RADIUS_PACKET *,
514 int radius_get_vs_ipv6_attr(const RADIUS_PACKET *,
516 int radius_put_ipv6_attr(RADIUS_PACKET *,
518 int radius_put_vs_ipv6_attr(RADIUS_PACKET *,
520 int radius_set_ipv6_attr(RADIUS_PACKET *,
522 int radius_set_vs_ipv6_attr(RADIUS_PACKET *,
526 int radius_put_message_authenticator(RADIUS_PACKET *,
528 int radius_set_message_authenticator(RADIUS_PACKET *,
530 int radius_check_message_authenticator(RADIUS_PACKET *,
544 int radius_get_user_password_attr(const RADIUS_PACKET *,
546 int radius_put_user_password_attr(RADIUS_PACKET *,
548 int radius_get_mppe_send_key_attr(const RADIUS_PACKET *, void *,
550 int radius_put_mppe_send_key_attr(RADIUS_PACKET *,
552 int radius_get_mppe_recv_key_attr(const RADIUS_PACKET *,
554 int radius_put_mppe_recv_key_attr(RADIUS_PACKET *, const void *,
557 int radius_get_eap_msk(const RADIUS_PACKET *, void *, size_t *,
561 RADIUS_PACKET *radius_recvfrom(int, int, struct sockaddr *, socklen_t *);
562 int radius_sendto(int, const RADIUS_PACKET *, int flags,
564 RADIUS_PACKET *radius_recv(int, int);
565 int radius_send(int, const RADIUS_PACKET *, int);
566 RADIUS_PACKET *radius_recvmsg(int, struct msghdr *, int);
567 int radius_sendmsg(int, const RADIUS_PACKET *,