25 RCSIDH(lib_bio_fd_privh,
"$Id: def9c60b8288f670135185fce3b390545151b60b $")
27 #include <freeradius-devel/util/syserror.h>
29 #include <freeradius-devel/bio/bio_priv.h>
30 #include <freeradius-devel/bio/fd.h>
52 #if defined(IP_PKTINFO) || defined(IP_RECVDSTADDR) || defined(IPV6_PKTINFO)
59 #define fr_bio_fd_packet_ctx(_my, _packet_ctx) ((fr_bio_fd_packet_ctx_t *) (((uint8_t *) _packet_ctx) + _my->offset))
void(* fr_bio_callback_t)(fr_bio_t *bio)
static fr_time_delta_t timeout
Run-time status of the socket.
fr_bio_callback_t user_shutdown
user shutdown
size_t offset
where fr_bio_fd_packet_ctx_t is stored
int fr_bio_fd_socket_name(fr_bio_fd_t *my)
int max_tries
how many times we retry on EINTR
int fr_bio_fd_init_connected(fr_bio_fd_t *my)
int fr_filename_to_sockaddr(struct sockaddr_un *sun, socklen_t *sunlen, char const *filename)
int fr_bio_fd_init_listen(fr_bio_fd_t *my)
int fr_bio_fd_init_common(fr_bio_fd_t *my)
struct fr_bio_fd_s fr_bio_fd_t
Our FD bio structure.
struct fr_bio_fd_s::@8 connect
Stores all information relating to an event list.
static fr_event_list_t * el