Lines Matching refs:rad_handle

62 static void	 clear_password(struct rad_handle *);
63 static void generr(struct rad_handle *, const char *, ...)
65 static void insert_scrambled_password(struct rad_handle *, int);
66 static void insert_request_authenticator(struct rad_handle *, int);
67 static void insert_message_authenticator(struct rad_handle *, int);
68 static int is_valid_response(struct rad_handle *, int,
70 static int put_password_attr(struct rad_handle *, int,
72 static int put_raw_attr(struct rad_handle *, int,
77 clear_password(struct rad_handle *h)
87 generr(struct rad_handle *h, const char *format, ...)
97 insert_scrambled_password(struct rad_handle *h, int srv)
131 insert_request_authenticator(struct rad_handle *h, int resp)
151 insert_message_authenticator(struct rad_handle *h, int resp)
183 is_valid_response(struct rad_handle *h, int srv,
267 is_valid_request(struct rad_handle *h)
333 put_password_attr(struct rad_handle *h, int type, const void *value, size_t len)
363 put_raw_attr(struct rad_handle *h, int type, const void *value, size_t len)
381 rad_add_server(struct rad_handle *h, const char *host, int port,
392 rad_add_server_ex(struct rad_handle *h, const char *host, int port,
447 rad_close(struct rad_handle *h)
463 rad_bind_to(struct rad_handle *h, in_addr_t addr)
470 rad_config(struct rad_handle *h, const char *path)
649 rad_continue_send_request(struct rad_handle *h, int selected, int *fd,
764 rad_receive_request(struct rad_handle *h)
801 rad_send_response(struct rad_handle *h)
833 rad_create_request(struct rad_handle *h, int code)
865 rad_create_response(struct rad_handle *h, int code)
927 rad_get_attr(struct rad_handle *h, const void **value, size_t *len)
952 rad_init_send_request(struct rad_handle *h, int *fd, struct timeval *tv)
1038 * Create and initialize a rad_handle structure, and return it to the
1042 struct rad_handle *
1045 struct rad_handle *h;
1047 h = (struct rad_handle *)malloc(sizeof(struct rad_handle));
1067 struct rad_handle *
1070 struct rad_handle *h;
1078 struct rad_handle *
1081 struct rad_handle *h;
1091 struct rad_handle *
1098 rad_put_addr(struct rad_handle *h, int type, struct in_addr addr)
1104 rad_put_addr6(struct rad_handle *h, int type, struct in6_addr addr)
1111 rad_put_attr(struct rad_handle *h, int type, const void *value, size_t len)
1156 rad_put_int(struct rad_handle *h, int type, u_int32_t value)
1165 rad_put_string(struct rad_handle *h, int type, const char *str)
1171 rad_put_message_authentic(struct rad_handle *h)
1200 rad_send_request(struct rad_handle *h)
1248 rad_strerror(struct rad_handle *h)
1345 rad_put_vendor_addr(struct rad_handle *h, int vendor, int type,
1353 rad_put_vendor_addr6(struct rad_handle *h, int vendor, int type,
1362 rad_put_vendor_attr(struct rad_handle *h, int vendor, int type,
1395 rad_put_vendor_int(struct rad_handle *h, int vendor, int type, u_int32_t i)
1404 rad_put_vendor_string(struct rad_handle *h, int vendor, int type,
1411 rad_request_authenticator(struct rad_handle *h, char *buf, size_t len)
1422 rad_demangle(struct rad_handle *h, const void *mangled, size_t mlen)
1476 rad_demangle_mppe_key(struct rad_handle *h, const void *mangled,
1554 rad_server_secret(struct rad_handle *h)