23 enum rtr_rtvals { RTR_SUCCESS = 0, RTR_ERROR = -1, RTR_INVALID_PARAM = -2 };
88 void *connection_state_fp_param_config,
void *connection_state_fp_param_group);
118 unsigned int refresh_interval;
120 unsigned int expire_interval;
121 unsigned int retry_interval;
125 bool request_session_id;
126 uint32_t serial_number;
130 void *connection_state_fp_param_config;
131 void *connection_state_fp_param_group;
132 unsigned int version;
133 bool has_received_pdus;
134 struct spki_table *spki_table;
A transport socket datastructure.
Definition: transport.h:102
void(* rtr_connection_state_fp)(const struct rtr_socket *rtr_socket, const enum rtr_socket_state state, void *connection_state_fp_param_config, void *connection_state_fp_param_group)
A function pointer that is called if the state of the rtr socket has changed.
Definition: rtr.h:87
pfx_table.
Definition: trie-pfx.h:65
enum rtr_interval_mode rtr_get_interval_mode(struct rtr_socket *rtr_socket)
Get the current interval mode.
void rtr_set_interval_mode(struct rtr_socket *rtr_socket, enum rtr_interval_mode option)
Set the interval option to the desired one. It's either RTR_INTERVAL_MODE_IGNORE_ANY, RTR_INTERVAL_MODE_APPLY_ANY, RTR_INTERVAL_MODE_DEFAULT_MIN_MAX or RTR_INTERVAL_MODE_IGNORE_ON_FAILURE.
rtr_interval_mode
These modes let the user configure how received intervals should be handled.
Definition: rtr.h:28
rtr_socket_state
States of the RTR socket.
Definition: rtr.h:45
A RTR socket.
Definition: rtr.h:116
const char * rtr_state_to_str(enum rtr_socket_state state)
Converts a rtr_socket_state to a String.