Go to the documentation of this file.
29 #define PUSH_MSG_ERROR 0
30 #define PUSH_MSG_REQUEST 1
31 #define PUSH_MSG_REPLY 2
32 #define PUSH_MSG_REQUEST_DEFERRED 3
33 #define PUSH_MSG_AUTH_FAILURE 4
34 #define PUSH_MSG_CONTINUATION 5
35 #define PUSH_MSG_ALREADY_REPLIED 6
41 bool honor_received_options,
42 unsigned int permission_mask,
43 unsigned int *option_types_found);
83 unsigned int timeout);
Contains all state information for one tunnel.
void receive_cr_response(struct context *c, const struct buffer *buffer)
void push_reset(struct options *o)
void send_restart(struct context *c, const char *kill_msg)
int process_incoming_push_msg(struct context *c, const struct buffer *buffer, bool honor_received_options, unsigned int permission_mask, unsigned int *option_types_found)
Security parameter state for a single VPN tunnel.
void server_pushed_signal(struct context *c, const struct buffer *buffer, const bool restart, const int adv)
int process_incoming_push_request(struct context *c)
void push_remove_option(struct options *o, const char *p)
bool send_push_request(struct context *c)
void receive_auth_failed(struct context *c, const struct buffer *buffer)
Wrapper structure for dynamically allocated memory.
void clone_push_list(struct options *o)
void incoming_push_message(struct context *c, const struct buffer *buffer)
Security parameter state of a single session within a VPN tunnel.
bool send_auth_pending_messages(struct tls_multi *tls_multi, struct tls_session *session, const char *extra, unsigned int timeout)
Sends the auth pending control messages to a client.
Garbage collection arena used to keep track of dynamically allocated memory.
void remove_iroutes_from_push_route_list(struct options *o)
void push_option(struct options *o, const char *opt, int msglevel)
void send_push_reply_auth_token(struct tls_multi *multi)
Sends a push reply message only containin the auth-token to update the auth-token on the client.
void receive_auth_pending(struct context *c, const struct buffer *buffer)
Parses an AUTH_PENDING message and if in pull mode extends the timeout.
void receive_exit_message(struct context *c)
void push_options(struct options *o, char **p, int msglevel, struct gc_arena *gc)
void server_pushed_info(struct context *c, const struct buffer *buffer, const int adv)
void send_auth_failed(struct context *c, const char *client_reason)