|
OpenVPN
|

Go to the source code of this file.
Functions | |
| void | throw_signal_soft (const int signum, const char *signal_text) |
| Throw a soft global signal. | |
| uint64_t | pull_permission_mask (const struct context *c) |
| void | unlearn_ifconfig (struct multi_context *m, struct multi_instance *mi) |
| void | unlearn_ifconfig_ipv6 (struct multi_context *m, struct multi_instance *mi) |
| void | update_vhash (struct multi_context *m, struct multi_instance *mi, const char *new_ip, const char *new_ipv6) |
| Update the vhash with new IP/IPv6 addresses in the multi_context when a push-update message containing ifconfig/ifconfig-ipv6 options is sent from the server. | |
| bool | options_postprocess_pull (struct options *options, struct env_set *es) |
Definition at line 66 of file mock_push_dependencies.c.
| uint64_t pull_permission_mask | ( | const struct context * | c | ) |
Definition at line 41 of file mock_push_dependencies.c.
References OPT_P_COMP, OPT_P_DHCPDNS, OPT_P_ECHO, OPT_P_EXPLICIT_NOTIFY, OPT_P_MESSAGES, OPT_P_NCP, OPT_P_PEER_ID, OPT_P_PERSIST, OPT_P_PULL_MODE, OPT_P_PUSH_MTU, OPT_P_ROUTE, OPT_P_ROUTE_EXTRAS, OPT_P_SETENV, OPT_P_SHAPER, OPT_P_SOCKBUF, OPT_P_SOCKFLAGS, OPT_P_TIMER, and OPT_P_UP.
| void throw_signal_soft | ( | const int | signum, |
| const char * | signal_text | ||
| ) |
Throw a soft global signal.
Used to register internally generated signals due to errors that require a restart or exit, or restart requests received from the server. A textual description of the signal may be provided.
Definition at line 35 of file mock_push_dependencies.c.
| void unlearn_ifconfig | ( | struct multi_context * | m, |
| struct multi_instance * | mi | ||
| ) |
Definition at line 51 of file mock_push_dependencies.c.
| void unlearn_ifconfig_ipv6 | ( | struct multi_context * | m, |
| struct multi_instance * | mi | ||
| ) |
Definition at line 56 of file mock_push_dependencies.c.
| void update_vhash | ( | struct multi_context * | m, |
| struct multi_instance * | mi, | ||
| const char * | new_ip, | ||
| const char * | new_ipv6 | ||
| ) |
Update the vhash with new IP/IPv6 addresses in the multi_context when a push-update message containing ifconfig/ifconfig-ipv6 options is sent from the server.
| m | The multi_context |
| mi | The multi_instance of the client we are updating |
| new_ip | The new IPv4 address or NULL if no change |
| new_ipv6 | The new IPv6 address or NULL if no change |
Definition at line 61 of file mock_push_dependencies.c.