API to deserialise packets in detail file format and inject them into the server. More...
Go to the source code of this file.
Data Structures | |
struct | listen_detail_t |
Typedefs | |
typedef enum detail_state_t | detail_state_t |
typedef struct listen_detail_t | listen_detail_t |
Enumerations | |
enum | detail_state_t { STATE_UNOPENED = 0, STATE_UNLOCKED, STATE_HEADER, STATE_READING, STATE_QUEUED, STATE_RUNNING, STATE_NO_REPLY, STATE_REPLIED } |
Functions | |
int | detail_decode (UNUSED rad_listen_t *this, UNUSED REQUEST *request) |
int | detail_encode (UNUSED rad_listen_t *this, UNUSED REQUEST *request) |
void | detail_free (rad_listen_t *this) |
int | detail_parse (CONF_SECTION *cs, rad_listen_t *this) |
int | detail_print (rad_listen_t const *this, char *buffer, size_t bufsize) |
int | detail_recv (rad_listen_t *listener) |
int | detail_send (rad_listen_t *listener, REQUEST *request) |
int | detail_socket_open (CONF_SECTION *cs, rad_listen_t *this) |
API to deserialise packets in detail file format and inject them into the server.
Definition in file detail.h.
struct listen_detail_t |
Data Fields | ||
---|---|---|
fr_ipaddr_t | client_ip | |
uint32_t | counter | |
int | delay_time | |
RADCLIENT | detail_client | |
bool | done_entry | Are we done reading this entry? |
fr_event_t * | ev | |
char const * | filename | |
char const * | filename_work | |
FILE * | fp | |
int | has_rtt | |
off_t | last_offset | |
struct timeval | last_packet | |
uint32_t | load_factor | |
char const * | name | Identifier used in log messages. |
off_t | offset | |
bool | one_shot | |
int | outstanding | |
int | packets | |
uint32_t | poll_interval | |
uint32_t | retry_interval | |
int | rttvar | |
time_t | running | |
int | signal | |
int | srtt | |
detail_state_t | state | |
time_t | timestamp | |
off_t | timestamp_offset | |
bool | track | Do we track progress through the file? |
int | tries | |
VALUE_PAIR * | vps | |
int | work_fd |
typedef enum detail_state_t detail_state_t |
typedef struct listen_detail_t listen_detail_t |
enum detail_state_t |
int detail_decode | ( | UNUSED rad_listen_t * | this, |
UNUSED REQUEST * | request | ||
) |
int detail_encode | ( | UNUSED rad_listen_t * | this, |
UNUSED REQUEST * | request | ||
) |
void detail_free | ( | rad_listen_t * | this | ) |
int detail_parse | ( | CONF_SECTION * | cs, |
rad_listen_t * | this | ||
) |
int detail_print | ( | rad_listen_t const * | this, |
char * | buffer, | ||
size_t | bufsize | ||
) |
int detail_recv | ( | rad_listen_t * | listener | ) |
int detail_send | ( | rad_listen_t * | listener, |
REQUEST * | request | ||
) |
int detail_socket_open | ( | CONF_SECTION * | cs, |
rad_listen_t * | this | ||
) |