47 #ifdef HAVE_SYS_STAT_H 48 # include <sys/stat.h> 228 int aci_check(
xht acls,
const char *type,
const char *name);
237 int message_log(
nad_t nad, router_t r,
const char *msg_from,
const char *msg_to);
sx_env_t sx_env
sx environment
int filter_load(router_t r)
jqueue_t closefd
list of mio_fd_t waiting to be closed
#define INET6_ADDRSTRLEN
maximum length of the string representation of an IPv6 address
xht routes
valid routes, key is route name (packet "to" address), var is component_t
struct router_st * router_t
xht aci
access control lists
int message_log(nad_t nad, router_t r, const char *msg_from, const char *msg_to)
jqueue_t deadroutes
list of routes_t waiting to be cleaned up
multi component route - route by 'from'
int filter_packet(router_t r, nad_t nad)
void routes_free(routes_t routes)
const char * default_route
default route, only one
struct routes_st * routes_t
int legacy
true if this is an old component:accept stream
holder for the config hash and nad
const char * local_private_key_password
access_t access
access controls
void router_sx_handshake(sx_t s, sx_buf_t buf, void *arg)
jqueue_t tq
throttle queue
mio_action_t
these are the actions and a handler type assigned by the applicaiton using mio
int message_logging_enabled
simple message logging
struct component_st * component_t
time_t last_activity
timestamps for idle timeouts
mio_fd_t fd
listening socket
xht routes
valid routes to this component, key is route name
holds the state for a single stream
const char * local_pemfile
const char * local_ciphers
multi component route - route by 'to'
jqueue_t dead
list of sx_t waiting to be cleaned up
alias_t aliases
configured aliases
int byte_rate_total
default byte rates (karma)
mio_fd_t fd
file descriptor
int aci_check(xht acls, const char *type, const char *name)
see if a username is in an acl
const char * log_facility
xht log_sinks
log sinks, key is route name, var is component_t
int check_interval
time checks
void user_table_unload(router_t r)
int router_mio_callback(mio_t m, mio_action_t a, mio_fd_t fd, void *data, void *arg)
int user_table_load(router_t r)
user table manager
void aci_unload(xht aci)
unload aci table
log_type_t log_type
log data
int conn_rate_total
connection rates
const char * local_secret
int io_max_fds
max file descriptors
xht components
attached components, key is 'ip:port', var is component_t
struct alias_st * alias_t
void filter_unload(router_t r)
filter manager
const char * local_ip
how we listen for stuff
const char * message_logging_file