Lines Matching refs:Network
64 const Network& network) { in IsIgnoredNetwork()
153 Network ipv4_network1("test_eth0", "Test Network Adapter 1", in TEST_F()
163 Network ipv4_network1("test_eth0", "Test Network Adapter 1", in TEST_F()
165 Network ipv4_network2("test_eth1", "Test Network Adapter 2", in TEST_F()
174 Network ignore_me("ignore_me", "Ignore me please!", in TEST_F()
176 Network include_me("include_me", "Include me please!", in TEST_F()
260 Network ipv4_network1("test_eth0", "Test Network Adapter 1", in TEST_F()
262 Network ipv4_network2("test_eth1", "Test Network Adapter 2", in TEST_F()
270 list.push_back(new Network(ipv4_network1)); in TEST_F()
281 Network* net1 = list[0]; in TEST_F()
285 list.push_back(new Network(ipv4_network2)); in TEST_F()
295 Network* net2 = list[0]; in TEST_F()
299 list.push_back(new Network(ipv4_network1)); in TEST_F()
300 list.push_back(new Network(ipv4_network2)); in TEST_F()
316 list.push_back(new Network(ipv4_network2)); in TEST_F()
317 list.push_back(new Network(ipv4_network1)); in TEST_F()
340 Network ipv6_eth0_linklocalnetwork("test_eth0", "Test NetworkAdapter 1", in SetupNetworks()
344 Network ipv6_eth1_linklocalnetwork("test_eth1", "Test NetworkAdapter 2", in SetupNetworks()
350 Network ipv6_eth0_publicnetwork1_ip1("test_eth0", "Test NetworkAdapter 1", in SetupNetworks()
355 Network ipv6_eth1_publicnetwork1_ip1("test_eth1", "Test NetworkAdapter 1", in SetupNetworks()
358 list->push_back(new Network(ipv6_eth0_linklocalnetwork)); in SetupNetworks()
359 list->push_back(new Network(ipv6_eth1_linklocalnetwork)); in SetupNetworks()
360 list->push_back(new Network(ipv6_eth0_publicnetwork1_ip1)); in SetupNetworks()
361 list->push_back(new Network(ipv6_eth1_publicnetwork1_ip1)); in SetupNetworks()
401 Network* ipv6_network = in TEST_F()
402 new Network("test_eth0", "Test Network Adapter 1", prefix, 64 - i); in TEST_F()
408 Network* ipv4_network = new Network("test_eth0", "Test Network Adapter 1", in TEST_F()
474 Network* network_to_change = new Network("test_eth0", in TEST_F()
477 Network* changed_network = new Network(*network_to_change); in TEST_F()
517 Network ipv6_eth0_publicnetwork1_ip2("test_eth0", "Test NetworkAdapter 1", in TEST_F()
522 original_list.push_back(new Network(ipv6_eth0_publicnetwork1_ip2)); in TEST_F()
574 Network ipv6_eth0_publicnetwork2_ip1("test_eth0", "Test NetworkAdapter 1", in TEST_F()
577 original_list.push_back(new Network(ipv6_eth0_publicnetwork2_ip1)); in TEST_F()
661 Network ipv4_network1("test_eth0", "Test Network Adapter 1", in TEST_F()
669 Network ipv6_eth1_publicnetwork1_ip1("test_eth1", "Test NetworkAdapter 2", in TEST_F()
674 list.push_back(new Network(ipv4_network1)); in TEST_F()
675 list.push_back(new Network(ipv6_eth1_publicnetwork1_ip1)); in TEST_F()
676 Network* net1 = list[0]; in TEST_F()
677 Network* net2 = list[1]; in TEST_F()
687 Network wifi("wlan0", "Wireless Adapter", IPAddress(0x12345600U), 24, in TEST_F()
690 Network ethernet("eth0", "Ethernet", IPAddress(0x12345600U), 24, in TEST_F()
693 Network cellular("test_cell", "Cellular Adapter", IPAddress(0x12345600U), 24, in TEST_F()
696 Network vpn("bridge_test", "VPN Adapter", IPAddress(0x12345600U), 24, in TEST_F()
699 Network unknown("test", "Test Adapter", IPAddress(0x12345600U), 24, in TEST_F()
809 Network* net1 = new Network("em1", "em1", TruncateIP(ip1, 64), 64); in TEST_F()
810 Network* net2 = new Network("em1", "em1", TruncateIP(ip1, 64), 64); in TEST_F()
837 Network network1("test_wifi", "Test Network Adapter 1", in TEST_F()
839 Network network2("test_eth0", "Test Network Adapter 2", in TEST_F()
844 Network* net1 = new Network(network1); in TEST_F()
855 Network* net2 = new Network(network2); in TEST_F()
866 list.push_back(new Network(network1)); in TEST_F()
885 Network ipv6_network( in TEST_F()
953 std::vector<Network*> networks; in TEST_F()