26 RCSIDH(packet_h,
"$Id: 5fb7226db232b84b356c5539b485df035bdd224b $")
77 # define fr_packet2myptr(TYPE, MEMBER, PTR) (TYPE *) (((char *)PTR) - offsetof(TYPE, MEMBER))
bool fr_packet_list_id_free(fr_packet_list_t *pl, RADIUS_PACKET *request, bool yank)
RADIUS_PACKET ** fr_packet_list_find_byreply(fr_packet_list_t *pl, RADIUS_PACKET *reply)
int fr_is_inaddr_any(fr_ipaddr_t *ipaddr)
Determine if an address is the INADDR_ANY address for its address family.
bool fr_packet_list_socket_del(fr_packet_list_t *pl, int sockfd)
void fr_request_from_reply(RADIUS_PACKET *request, RADIUS_PACKET const *reply)
bool fr_packet_list_socket_thaw(fr_packet_list_t *pl, int sockfd)
static char const * proto
int fr_packet_list_fd_set(fr_packet_list_t *pl, fd_set *set)
void fr_packet_header_print(FILE *fp, RADIUS_PACKET *packet, bool received)
int fr_packet_list_walk(fr_packet_list_t *pl, void *ctx, rb_walker_t callback)
fr_packet_list_t * fr_packet_list_create(int alloc_id)
int(* rb_walker_t)(void *ctx, void *data)
uint32_t fr_packet_list_num_elements(fr_packet_list_t *pl)
RADIUS_PACKET ** fr_packet_list_find(fr_packet_list_t *pl, RADIUS_PACKET *request)
bool fr_packet_list_yank(fr_packet_list_t *pl, RADIUS_PACKET *request)
void fr_packet_list_free(fr_packet_list_t *pl)
int fr_socket(fr_ipaddr_t *ipaddr, uint16_t port)
bool fr_packet_list_id_alloc(fr_packet_list_t *pl, int proto, RADIUS_PACKET **request_p, void **pctx)
bool fr_packet_list_socket_freeze(fr_packet_list_t *pl, int sockfd)
uint32_t fr_packet_list_num_incoming(fr_packet_list_t *pl)
bool fr_packet_list_socket_add(fr_packet_list_t *pl, int sockfd, int proto, fr_ipaddr_t *dst_ipaddr, uint16_t dst_port, void *ctx)
uint32_t fr_packet_list_num_outgoing(fr_packet_list_t *pl)
bool fr_packet_list_insert(fr_packet_list_t *pl, RADIUS_PACKET **request_p)
RADIUS_PACKET * fr_packet_list_recv(fr_packet_list_t *pl, fd_set *set)
int fr_packet_cmp(RADIUS_PACKET const *a, RADIUS_PACKET const *b)