OpenVPN
Macros | Functions | Variables
test_push_update_msg.c File Reference
#include <stdlib.h>
#include <stdarg.h>
#include <setjmp.h>
#include <cmocka.h>
#include "push.h"
#include "options_util.h"
#include "multi.h"
Include dependency graph for test_push_update_msg.c:

Go to the source code of this file.

Macros

#define PUSH_BUNDLE_SIZE_TEST   184
 

Functions

void throw_signal_soft (const int signum, const char *signal_text)
 Throw a soft global signal.
 
unsigned int pull_permission_mask (const struct context *c)
 
void update_vhash (struct multi_context *m, struct multi_instance *mi, const char *old_ip, const char *old_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)
 
bool apply_push_options (struct context *c, struct options *options, struct buffer *buf, unsigned int permission_mask, unsigned int *option_types_found, struct env_set *es, bool is_update)
 
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)
 
const char * tls_common_name (const struct tls_multi *multi, const bool null)
 Returns the common name field for the given tunnel.
 
bool send_control_channel_string (struct context *c, const char *str, int msglevel)
 
struct multi_instancelookup_by_cid (struct multi_context *m, const unsigned long cid)
 
bool mroute_extract_openvpn_sockaddr (struct mroute_addr *addr, const struct openvpn_sockaddr *osaddr, bool use_port)
 
static void test_incoming_push_message_basic (void **state)
 
static void test_incoming_push_message_error1 (void **state)
 
static void test_incoming_push_message_error2 (void **state)
 
static void test_incoming_push_message_1 (void **state)
 
static void test_incoming_push_message_bad_format (void **state)
 
static void test_incoming_push_message_not_updatable_option (void **state)
 
static void test_incoming_push_message_mix (void **state)
 
static void test_incoming_push_message_mix2 (void **state)
 
static void test_send_push_msg0 (void **state)
 
static void test_send_push_msg1 (void **state)
 
static void test_send_push_msg2 (void **state)
 
static void test_send_push_msg3 (void **state)
 
static void test_send_push_msg4 (void **state)
 
static void test_send_push_msg5 (void **state)
 
static void test_send_push_msg6 (void **state)
 
static void test_send_push_msg7 (void **state)
 
static void test_send_push_msg8 (void **state)
 
static void test_send_push_msg9 (void **state)
 
static void test_send_push_msg10 (void **state)
 
static int setup2 (void **state)
 
static int teardown2 (void **state)
 
static int setup (void **state)
 
static int teardown (void **state)
 
int main (void)
 

Variables

char ** res
 
int i
 
char * r0 []
 
char * r1 []
 
char * r3 []
 
char * r4 []
 
char * r5 []
 
char * r6 []
 
char * r7 []
 
char * r8 []
 
char * r9 []
 
const char * msg0 = "redirect-gateway local,route 192.168.1.0 255.255.255.0"
 
const char * msg1
 
const char * msg2 = ""
 
const char * msg3 = ",,"
 
const char * msg4
 
const char * msg5
 
const char * msg6
 
const char * msg7 = ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"
 
const char * msg8
 
const char * msg9 = ","
 
const char * msg10
 

Macro Definition Documentation

◆ PUSH_BUNDLE_SIZE_TEST

#define PUSH_BUNDLE_SIZE_TEST   184

Definition at line 348 of file test_push_update_msg.c.

Function Documentation

◆ apply_push_options()

bool apply_push_options ( struct context c,
struct options options,
struct buffer buf,
unsigned int  permission_mask,
unsigned int *  option_types_found,
struct env_set es,
bool  is_update 
)

◆ lookup_by_cid()

struct multi_instance * lookup_by_cid ( struct multi_context m,
const unsigned long  cid 
)

Definition at line 135 of file test_push_update_msg.c.

References multi_context::instances.

◆ main()

int main ( void  )

◆ mroute_extract_openvpn_sockaddr()

bool mroute_extract_openvpn_sockaddr ( struct mroute_addr addr,
const struct openvpn_sockaddr osaddr,
bool  use_port 
)

Definition at line 141 of file test_push_update_msg.c.

◆ options_postprocess_pull()

bool options_postprocess_pull ( struct options options,
struct env_set es 
)

Definition at line 38 of file test_push_update_msg.c.

◆ process_incoming_push_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 
)

◆ pull_permission_mask()

unsigned int pull_permission_mask ( const struct context c)

◆ send_control_channel_string()

bool send_control_channel_string ( struct context c,
const char *  str,
int  msglevel 
)

Definition at line 123 of file test_push_update_msg.c.

References i, buffer::len, and res.

◆ setup()

static int setup ( void **  state)
static

Definition at line 484 of file test_push_update_msg.c.

References context::options, options::pull, and options::route_nopull.

Referenced by main().

◆ setup2()

static int setup2 ( void **  state)
static

Definition at line 462 of file test_push_update_msg.c.

References multi_context::instances.

Referenced by main().

◆ teardown()

static int teardown ( void **  state)
static

Definition at line 494 of file test_push_update_msg.c.

Referenced by main().

◆ teardown2()

static int teardown2 ( void **  state)
static

Definition at line 473 of file test_push_update_msg.c.

References multi_context::instances.

Referenced by main().

◆ test_incoming_push_message_1()

static void test_incoming_push_message_1 ( void **  state)
static

◆ test_incoming_push_message_bad_format()

static void test_incoming_push_message_bad_format ( void **  state)
static

◆ test_incoming_push_message_basic()

static void test_incoming_push_message_basic ( void **  state)
static

◆ test_incoming_push_message_error1()

static void test_incoming_push_message_error1 ( void **  state)
static

◆ test_incoming_push_message_error2()

static void test_incoming_push_message_error2 ( void **  state)
static

◆ test_incoming_push_message_mix()

static void test_incoming_push_message_mix ( void **  state)
static

◆ test_incoming_push_message_mix2()

static void test_incoming_push_message_mix2 ( void **  state)
static

◆ test_incoming_push_message_not_updatable_option()

static void test_incoming_push_message_not_updatable_option ( void **  state)
static

◆ test_send_push_msg0()

static void test_send_push_msg0 ( void **  state)
static

Definition at line 351 of file test_push_update_msg.c.

References i, msg0, PUSH_BUNDLE_SIZE_TEST, r0, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg1()

static void test_send_push_msg1 ( void **  state)
static

Definition at line 360 of file test_push_update_msg.c.

References i, msg1, PUSH_BUNDLE_SIZE_TEST, r1, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg10()

static void test_send_push_msg10 ( void **  state)
static

Definition at line 450 of file test_push_update_msg.c.

References i, msg10, PUSH_BUNDLE_SIZE_TEST, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg2()

static void test_send_push_msg2 ( void **  state)
static

Definition at line 370 of file test_push_update_msg.c.

References i, msg2, PUSH_BUNDLE_SIZE_TEST, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg3()

static void test_send_push_msg3 ( void **  state)
static

Definition at line 380 of file test_push_update_msg.c.

References i, msg3, PUSH_BUNDLE_SIZE_TEST, r3, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg4()

static void test_send_push_msg4 ( void **  state)
static

Definition at line 390 of file test_push_update_msg.c.

References i, msg4, PUSH_BUNDLE_SIZE_TEST, r4, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg5()

static void test_send_push_msg5 ( void **  state)
static

Definition at line 400 of file test_push_update_msg.c.

References i, msg5, PUSH_BUNDLE_SIZE_TEST, r5, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg6()

static void test_send_push_msg6 ( void **  state)
static

Definition at line 410 of file test_push_update_msg.c.

References i, msg6, PUSH_BUNDLE_SIZE_TEST, r6, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg7()

static void test_send_push_msg7 ( void **  state)
static

Definition at line 420 of file test_push_update_msg.c.

References i, msg7, PUSH_BUNDLE_SIZE_TEST, r7, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg8()

static void test_send_push_msg8 ( void **  state)
static

Definition at line 430 of file test_push_update_msg.c.

References i, msg8, PUSH_BUNDLE_SIZE_TEST, r8, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ test_send_push_msg9()

static void test_send_push_msg9 ( void **  state)
static

Definition at line 440 of file test_push_update_msg.c.

References i, msg9, PUSH_BUNDLE_SIZE_TEST, r9, res, send_push_update(), and UPT_BY_CID.

Referenced by main().

◆ throw_signal_soft()

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 16 of file test_push_update_msg.c.

References M_WARN, and msg.

◆ tls_common_name()

const char * tls_common_name ( const struct tls_multi multi,
const bool  null 
)

Returns the common name field for the given tunnel.

Parameters
multiThe tunnel to return the common name for
nullWhether null may be returned. If not, "UNDEF" will be returned.

Definition at line 107 of file test_push_update_msg.c.

References buffer::len.

◆ update_vhash()

void update_vhash ( struct multi_context m,
struct multi_instance mi,
const char *  old_ip,
const char *  old_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.

This function should be called after a push-update and old_ip/old_ipv6 are the previous addresses of the client in ctx->options.ifconfig_local and ctx->options.ifconfig_ipv6_local.

Definition at line 32 of file test_push_update_msg.c.

Variable Documentation

◆ i

int i

Definition at line 120 of file test_push_update_msg.c.

Referenced by __wrap_rand_bytes(), add_block_local_routes(), add_bypass_address(), add_bypass_routes(), add_in6_addr(), add_option(), add_proxy_headers(), apply_push_options(), argv_clone(), argv_extend(), argv_insert_head__non_empty_argv__head_added(), argv_parse_cmd(), argv_prep_format(), argv_printf__long_args__data_correct(), argv_reset(), ascii2af(), ascii2ipset(), ascii2proto(), AsyncPipeOp(), atoi_constrained(), atoi_warn(), backend_tls_ctx_reload_crl(), bio_read(), bio_write(), buf_substring_len(), buffer_list_aggregate_separator(), cert_hash_compare(), cert_hash_copy(), cert_hash_free(), check_dns_option(), check_push_update_option_flags(), check_session_buf_not_used(), check_session_hmac_and_pkt_id(), client_nat_transform(), close_fds_except(), close_fds_except(), CmdInstallServices(), CmdRemoveServices(), cmp_prefix(), command_line_add(), command_line_get(), context_init_1(), convert_tls13_list_to_openssl(), copy_acks_to_mru(), copy_client_nat_option_list(), create_key(), crypto_test_epoch_key_overflow(), crypto_test_epoch_key_rotation(), CvtHex(), dco_get_peer_stats_multi(), dco_wait_ready(), del_bypass_routes(), do_close_link_socket(), do_data_channel_round_trip(), do_deferred_options(), do_dns_domain_service(), do_dns_service(), do_extract(), do_init_route_ipv6_list(), do_init_socket_phase1(), do_init_socket_phase2(), do_link_socket_new(), do_preresolve(), do_wins_service(), env_filter_match(), env_set_print(), epoch_generate_future_receive_keys(), exec_command(), format_hex_ex(), fragment_list_buf_free(), fragment_list_buf_init(), fragment_list_get_buf(), fragment_ttl_reap(), free_epoch_key_ctx(), gen_nonce(), generate_key_expansion(), get_adapter_ip_netmask(), get_cipher_name_pair(), get_default_gateway_row(), get_device_instance_id_interface(), get_dhcp_message_type(), get_env(), get_env(), get_env(), get_env(), get_env(), get_env(), get_env(), get_env(), get_env(), get_interface_info(), get_num_elements(), get_panel_reg(), get_signal(), get_tap_reg(), get_unique_adapter_name(), get_unspecified_device_guid(), GetItfDnsDomains(), GetItfDnsServersV6(), GetNrptExcludeData(), handle_data_channel_packet(), HandleDNSConfigMessage(), HandleDNSConfigNrptMessage(), HandleWINSConfigMessage(), has_udp_in_local_list(), hash_free(), hash_init(), HasValidSearchList(), ifconfig_pool_acquire(), ifconfig_pool_find(), ifconfig_pool_free(), ifconfig_pool_ipv6_base_to_handle(), ifconfig_pool_list(), init_connection_list(), init_instance(), init_static(), io_wait_dowork(), ip_addr_member_of(), ip_addr_one_to_one(), ip_addr_string_to_array(), ip_checksum(), ipset2ascii_all(), is_adapter_up(), is_ip_in_adapter_subnet(), IsAuthorizedUser(), IsUserInGroup(), key_is_zero(), local_route(), log_history_free_contents(), log_history_resize(), log_index(), make_arg_copy(), make_env_array(), make_inline_array(), man_dispatch_command(), man_history(), man_need(), man_process_command(), man_remote_entry_get(), mbuf_dereference_instance(), mbuf_free(), mbuf_peek_dowork(), md_kt_name(), message_splitter(), mroute_helper_regenerate(), mroute_learnable_address(), multi_assign_peer_id(), multi_client_connect_post_plugin(), multi_get_instance_by_virtual_addr(), multi_io_process_flags(), multi_io_process_io(), multi_io_wait(), my_conv(), netmask_to_netbits(), netmask_to_netbits2(), netsh_ifconfig_options(), netsh_set_dns6_servers(), ntlm_phase_3(), open_plugins(), openvpn_base64_encode(), openvpn_decrypt_aead(), openvpn_encrypt_aead(), openvpn_plugin_client_connect(), openvpn_plugin_open_v1(), openvpn_plugin_open_v3(), OptionLookup(), options_postprocess_filechecks(), options_postprocess_http_proxy_override(), options_postprocess_mutate(), options_postprocess_verify(), options_postprocess_verify_ce(), packet_id_reap(), parse_argv(), parse_hash_fingerprint(), parse_line(), parse_signal(), plugin_abort(), plugin_call_ssl(), plugin_common_close(), plugin_common_init(), plugin_common_open(), plugin_defined(), plugin_mask_string(), plugin_option_list_print(), plugin_per_client_destroy(), plugin_per_client_init(), plugin_return_free(), plugin_return_get_column(), plugin_show_string_array(), positive_atoi(), print_argv(), print_client_nat_list(), print_key_id(), print_key_id_not_found_reason(), print_str_int(), prng_bytes(), ProcessDeferredAction(), proto2ascii(), proto2ascii_all(), query_user_add(), query_user_clear(), query_user_exec_builtin(), read_key_file(), RegisterDNS(), reliable_ack_packet_id_present(), reliable_ack_parse(), reliable_ack_print(), reliable_ack_write(), reliable_can_get(), reliable_can_send(), reliable_empty(), reliable_free(), reliable_get_buf(), reliable_get_buf_output_sequenced(), reliable_get_entry_sequenced(), reliable_get_num_output_sequenced_available(), reliable_init(), reliable_mark_active_incoming(), reliable_mark_active_outgoing(), reliable_mark_deleted(), reliable_not_replay(), reliable_schedule_now(), reliable_send(), reliable_send_purge(), reliable_send_timeout(), remove_option(), route_ipv6_match_host(), run_dns_up_down(), run_up_down_service(), send_control_channel_string(), send_single_push_update(), server_pushed_signal(), session_user_set(), set_openssl_env_vars(), setenv_connection_entry(), setenv_format_indexed_name(), setenv_int_i(), setenv_local_entry(), setenv_route(), setenv_route_addr(), setenv_route_ipv6(), setenv_routes(), setenv_routes_ipv6(), setenv_settings(), setenv_str_i(), SetNameServerAddresses(), SetNrptExcludeRules(), SetNrptRules(), show(), show_available_ciphers(), show_available_tls_ciphers_list(), show_connection_entries(), show_connection_entry(), show_dhcp_option_addrs(), show_dhcp_option_list(), show_dns_options(), show_http_proxy_options(), show_routes(), show_settings(), show_valid_win32_tun_subnets(), signal_name(), signal_priority(), sockets_read_residual(), string_array_len(), string_array_len(), string_array_len(), string_check_buf(), teardown_pkcs11(), test_cipher_names(), test_crypto(), test_get_user_pass_authfile_file(), test_get_user_pass_authfile_stdin(), test_get_user_pass_dynamic_challenge(), test_get_user_pass_inline_creds(), test_get_user_pass_needok(), test_get_user_pass_static_challenge(), test_list(), test_local_addr(), test_mssfix_mtu_calculation(), test_pkcs11_ids(), test_route(), test_send_push_msg0(), test_send_push_msg1(), test_send_push_msg10(), test_send_push_msg2(), test_send_push_msg3(), test_send_push_msg4(), test_send_push_msg5(), test_send_push_msg6(), test_send_push_msg7(), test_send_push_msg8(), test_send_push_msg9(), test_tls_decrypt_lite_crypt(), tls_authenticate_key(), tls_authentication_status(), tls_ctx_load_ca(), tls_ctx_load_pkcs12(), tls_deauthenticate(), tls_multi_free(), tls_multi_process(), tls_pre_decrypt(), tls_select_encryption_key(), tls_session_free(), tls_update_remote_addr(), tls_verify_crl_missing(), token_decode(), tuntap_options_postprocess_dns(), unicodize(), valid_integer(), ValidateOptions(), verify_cert(), verify_fix_key2(), we_del_event(), we_del_index(), we_get_rw_indices(), we_set_event(), we_wait(), wide_cmd_line(), wmain(), wmain(), wmain(), write_dhcp_search_str(), write_dhcp_u32_array(), write_key_file(), x509_print_info(), x509_setenv(), x509_setenv_track(), x509_verify_cert_eku(), x509_verify_cert_ku(), and x_msg_va().

◆ msg0

const char* msg0 = "redirect-gateway local,route 192.168.1.0 255.255.255.0"

Definition at line 323 of file test_push_update_msg.c.

Referenced by test_send_push_msg0().

◆ msg1

const char* msg1
Initial value:
= "-dhcp-option,blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,"
" akakakakakakakakakakakaf, dhcp-option DNS 8.8.8.8,redirect-gateway local,route 192.168.1.0 255.255.255.0"

Definition at line 324 of file test_push_update_msg.c.

Referenced by test_send_push_msg1(), and ValidateOptions().

◆ msg10

const char* msg10
Initial value:
= "abandon ability able about above absent absorb abstract absurd abuse access accident account accuse achieve"
"acid acoustic acquire across act action actor actress actual adapt add addict address adjust"
"baby bachelor bacon badge bag balance balcony ball bamboo banana banner bar barely bargain barrel base basic"
"basket battle beach bean beauty because become beef before begin behave behind"
"cabbage cabin cable cactus cage cake call calm camera camp can canal cancel candy cannon canoe canvas canyon"
"capable capital captain car carbon card cargo carpet carry cart case"
"daisy damage damp dance danger daring dash daughter dawn day deal debate debris decade december decide decline"
"decorate decrease deer defense define defy degree delay deliver demand demise denial"

Definition at line 339 of file test_push_update_msg.c.

Referenced by test_send_push_msg10().

◆ msg2

const char* msg2 = ""

Definition at line 326 of file test_push_update_msg.c.

Referenced by test_send_push_msg2(), and ValidateOptions().

◆ msg3

const char* msg3 = ",,"

Definition at line 327 of file test_push_update_msg.c.

Referenced by test_send_push_msg3().

◆ msg4

const char* msg4
Initial value:
= "-dhcp-option, blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,"
" akakakakakakakakakakakaf,dhcp-option DNS 8.8.8.8, redirect-gateway local, route 192.168.1.0 255.255.255.0,"

Definition at line 328 of file test_push_update_msg.c.

Referenced by test_send_push_msg4().

◆ msg5

const char* msg5
Initial value:
= ",-dhcp-option, blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,"
" akakakakakakakakakakakaf,dhcp-option DNS 8.8.8.8, redirect-gateway local, route 192.168.1.0 255.255.255.0"

Definition at line 330 of file test_push_update_msg.c.

Referenced by test_send_push_msg5().

◆ msg6

const char* msg6
Initial value:
= "-dhcp-option,blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf, akakakakakakakakakakakaf,"
" dhcp-option DNS 8.8.8.8, redirect-gateway 10.10.10.10,, route 192.168.1.0 255.255.255.0,"

Definition at line 332 of file test_push_update_msg.c.

Referenced by test_send_push_msg6().

◆ msg7

const char* msg7 = ",,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,"

Definition at line 334 of file test_push_update_msg.c.

Referenced by test_send_push_msg7().

◆ msg8

const char* msg8
Initial value:
= "-dhcp-option,blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf, akakakakakakakakakakakaf,"
" dhcp-option DNS 8.8.8.8,redirect-gateway\n local,route 192.168.1.0 255.255.255.0\n\n\n"

Definition at line 335 of file test_push_update_msg.c.

Referenced by test_send_push_msg8().

◆ msg9

const char* msg9 = ","

Definition at line 337 of file test_push_update_msg.c.

Referenced by test_send_push_msg9().

◆ r0

char* r0[]
Initial value:
= {
"PUSH_UPDATE,redirect-gateway local,route 192.168.1.0 255.255.255.0"
}

Definition at line 283 of file test_push_update_msg.c.

Referenced by test_send_push_msg0().

◆ r1

char* r1[]
Initial value:
= {
"PUSH_UPDATE,-dhcp-option,blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,push-continuation 2",
"PUSH_UPDATE, akakakakakakakakakakakaf, dhcp-option DNS 8.8.8.8,redirect-gateway local,push-continuation 2",
"PUSH_UPDATE,route 192.168.1.0 255.255.255.0,push-continuation 1"
}

Definition at line 286 of file test_push_update_msg.c.

Referenced by add_block_local_item(), and test_send_push_msg1().

◆ r3

char* r3[]
Initial value:
= {
"PUSH_UPDATE,,,"
}

Definition at line 291 of file test_push_update_msg.c.

Referenced by test_send_push_msg3().

◆ r4

char* r4[]
Initial value:
= {
"PUSH_UPDATE,-dhcp-option, blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,push-continuation 2",
"PUSH_UPDATE, akakakakakakakakakakakaf,dhcp-option DNS 8.8.8.8, redirect-gateway local,push-continuation 2",
"PUSH_UPDATE, route 192.168.1.0 255.255.255.0,,push-continuation 1"
}

Definition at line 294 of file test_push_update_msg.c.

Referenced by test_send_push_msg4().

◆ r5

char* r5[]
Initial value:
= {
"PUSH_UPDATE,,-dhcp-option, blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,push-continuation 2",
"PUSH_UPDATE, akakakakakakakakakakakaf,dhcp-option DNS 8.8.8.8, redirect-gateway local,push-continuation 2",
"PUSH_UPDATE, route 192.168.1.0 255.255.255.0,push-continuation 1"
}

Definition at line 299 of file test_push_update_msg.c.

Referenced by test_send_push_msg5().

◆ r6

char* r6[]
Initial value:
= {
"PUSH_UPDATE,-dhcp-option,blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,push-continuation 2",
"PUSH_UPDATE, akakakakakakakakakakakaf, dhcp-option DNS 8.8.8.8, redirect-gateway 10.10.10.10,,push-continuation 2",
"PUSH_UPDATE, route 192.168.1.0 255.255.255.0,,push-continuation 1"
}

Definition at line 304 of file test_push_update_msg.c.

Referenced by add_route_connected_v6_net(), add_route_ipv6(), delete_route_connected_v6_net(), delete_route_ipv6(), delete_routes_v6(), init_route_ipv6(), init_route_ipv6_list(), route_ipv6_clear_host_bits(), route_ipv6_match_host(), setenv_route_ipv6(), setenv_routes_ipv6(), and test_send_push_msg6().

◆ r7

char* r7[]
Initial value:
= {
"PUSH_UPDATE,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,push-continuation 2",
"PUSH_UPDATE,,,,,,,,,,,,,,,,,,,push-continuation 1"
}

Definition at line 309 of file test_push_update_msg.c.

Referenced by test_send_push_msg7().

◆ r8

char* r8[]
Initial value:
= {
"PUSH_UPDATE,-dhcp-option,blablalalalalalalalalalalalalf, lalalalalalalalalalalalalalaf,push-continuation 2",
"PUSH_UPDATE, akakakakakakakakakakakaf, dhcp-option DNS 8.8.8.8,redirect-gateway\n local,push-continuation 2",
"PUSH_UPDATE,route 192.168.1.0 255.255.255.0\n\n\n,push-continuation 1"
}

Definition at line 313 of file test_push_update_msg.c.

Referenced by test_send_push_msg8().

◆ r9

char* r9[]
Initial value:
= {
"PUSH_UPDATE,,"
}

Definition at line 318 of file test_push_update_msg.c.

Referenced by test_send_push_msg9().

◆ res

char** res