27 RTR_INVALID_PARAM = -2
34 RTR_INTERVAL_MODE_IGNORE_ANY,
35 RTR_INTERVAL_MODE_ACCEPT_ANY,
36 RTR_INTERVAL_MODE_DEFAULT_MIN_MAX,
37 RTR_INTERVAL_MODE_IGNORE_ON_FAILURE
111 unsigned int refresh_interval;
113 unsigned int expire_interval;
114 unsigned int retry_interval;
118 bool request_session_id;
119 uint32_t serial_number;
120 struct pfx_table *pfx_table;
123 void *connection_state_fp_param_config;
124 void *connection_state_fp_param_group;
125 unsigned int version;
126 bool has_received_pdus;
127 struct spki_table *spki_table;
A transport socket datastructure.
Definition: transport.h:95
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:83
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:33
rtr_socket_state
States of the RTR socket.
Definition: rtr.h:43
A RTR socket.
Definition: rtr.h:109
const char * rtr_state_to_str(enum rtr_socket_state state)
Converts a rtr_socket_state to a String.