The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Listener API. More...
#include <freeradius-devel/server/client.h>
#include <freeradius-devel/server/socket.h>
#include <freeradius-devel/server/stats.h>
#include <freeradius-devel/util/event.h>
#include <freeradius-devel/util/packet.h>
#include <freeradius-devel/util/pcap.h>
Go to the source code of this file.
Data Structures | |
struct | rad_listen |
Typedefs | |
typedef void(* | rad_listen_debug_t) (request_t *, fr_packet_t *, fr_pair_list_t *, bool received) |
typedef int(* | rad_listen_decode_t) (rad_listen_t *, request_t *) |
typedef int(* | rad_listen_encode_t) (rad_listen_t *, request_t *) |
typedef int(* | rad_listen_error_t) (rad_listen_t *, int) |
typedef int(* | rad_listen_print_t) (rad_listen_t const *, char *, size_t) |
typedef int(* | rad_listen_recv_t) (rad_listen_t *) |
typedef int(* | rad_listen_send_t) (rad_listen_t *, request_t *) |
typedef enum RAD_LISTEN_STATUS | RAD_LISTEN_STATUS |
typedef struct rad_listen | rad_listen_t |
typedef enum RAD_LISTEN_TYPE | RAD_LISTEN_TYPE |
typedef struct rad_protocol_s | rad_protocol_t |
Enumerations | |
enum | RAD_LISTEN_STATUS { RAD_LISTEN_STATUS_INIT = 0 , RAD_LISTEN_STATUS_KNOWN , RAD_LISTEN_STATUS_FROZEN , RAD_LISTEN_STATUS_EOL , RAD_LISTEN_STATUS_REMOVE_NOW } |
enum | RAD_LISTEN_TYPE { RAD_LISTEN_NONE = 0 , RAD_LISTEN_PROXY , RAD_LISTEN_AUTH , RAD_LISTEN_ACCT , RAD_LISTEN_DETAIL , RAD_LISTEN_VQP , RAD_LISTEN_DHCP , RAD_LISTEN_COMMAND , RAD_LISTEN_COA , RAD_LISTEN_MAX } |
Listener API.
Binds sockets to protocol encoders/decoders.
Definition in file listen.h.
struct rad_listen |
Data Fields | ||
---|---|---|
fr_rb_tree_t * | children | |
int | count | |
CONF_SECTION const * | cs | |
void * | data | |
rad_listen_debug_t | debug | |
rad_listen_decode_t | decode | |
bool | dual | |
rad_listen_encode_t | encode | |
rad_listen_error_t | error | |
int | fd | |
rad_listen_t * | next | |
bool | nodup | |
bool | old_style | |
rad_listen_t * | parent | |
rad_listen_print_t | ||
rad_protocol_t const * | proto | |
rad_listen_recv_t | recv | |
rad_listen_send_t | send | |
char const * | server | Name of the virtual server that the listener is associated with. |
CONF_SECTION * | server_cs | Virtual server that the listener is associated with. |
RAD_LISTEN_STATUS | status | |
RAD_LISTEN_TYPE | type |
typedef void(* rad_listen_debug_t) (request_t *, fr_packet_t *, fr_pair_list_t *, bool received) |
typedef int(* rad_listen_decode_t) (rad_listen_t *, request_t *) |
typedef int(* rad_listen_encode_t) (rad_listen_t *, request_t *) |
typedef int(* rad_listen_error_t) (rad_listen_t *, int) |
typedef int(* rad_listen_print_t) (rad_listen_t const *, char *, size_t) |
typedef int(* rad_listen_recv_t) (rad_listen_t *) |
typedef int(* rad_listen_send_t) (rad_listen_t *, request_t *) |
typedef enum RAD_LISTEN_STATUS RAD_LISTEN_STATUS |
typedef struct rad_listen rad_listen_t |
typedef enum RAD_LISTEN_TYPE RAD_LISTEN_TYPE |
typedef struct rad_protocol_s rad_protocol_t |
enum RAD_LISTEN_STATUS |
enum RAD_LISTEN_TYPE |