Home
last modified time | relevance | path

Searched refs:v4_addr (Results 1 – 5 of 5) sorted by relevance

/external/android-clat/
Dmain.c59 char *v4_addr = NULL, *v6_addr = NULL, *tunfd_str = NULL; in main() local
73 v4_addr = optarg; in main()
129 v4_addr ? v4_addr : "(none)", v6_addr ? v6_addr : "(none)"); in main()
145 configure_interface(uplink_interface, plat_prefix, v4_addr, v6_addr, &tunnel, net_id); in main()
Dclatd.c140 static in_addr_t ipv4_address_from_cmdline(const char *v4_addr) { in ipv4_address_from_cmdline() argument
142 if (!inet_pton(AF_INET, v4_addr, &localaddr)) { in ipv4_address_from_cmdline()
143 logmsg(ANDROID_LOG_FATAL, "Invalid IPv4 address %s", v4_addr); in ipv4_address_from_cmdline()
153 void configure_tun_ip(const struct tun_data *tunnel, const char *v4_addr) { in configure_tun_ip() argument
154 if (v4_addr) { in configure_tun_ip()
155 Global_Clatd_Config.ipv4_local_subnet.s_addr = ipv4_address_from_cmdline(v4_addr); in configure_tun_ip()
356 void configure_interface(const char *uplink_interface, const char *plat_prefix, const char *v4_addr, in configure_interface() argument
383 configure_tun_ip(tunnel, v4_addr); in configure_interface()
Dclatd.h39 void configure_tun_ip(const struct tun_data *tunnel, const char *v4_addr);
46 void configure_interface(const char *uplink_interface, const char *plat_prefix, const char *v4_addr,
/external/webrtc/webrtc/base/
Dipaddress_unittest.cc801 IPAddress v4_addr(kIPv4PublicAddr); in TEST() local
802 EXPECT_FALSE(IPIs6Bone(v4_addr)); in TEST()
803 EXPECT_FALSE(IPIs6To4(v4_addr)); in TEST()
804 EXPECT_FALSE(IPIsSiteLocal(v4_addr)); in TEST()
805 EXPECT_FALSE(IPIsTeredo(v4_addr)); in TEST()
806 EXPECT_FALSE(IPIsULA(v4_addr)); in TEST()
807 EXPECT_FALSE(IPIsV4Compatibility(v4_addr)); in TEST()
808 EXPECT_FALSE(IPIsV4Mapped(v4_addr)); in TEST()
Dnetwork.cc502 sockaddr_in* v4_addr = in GetPrefix() local
504 current_prefix = IPAddress(v4_addr->sin_addr); in GetPrefix()
573 sockaddr_in* v4_addr = in CreateNetworks() local
575 ip = IPAddress(v4_addr->sin_addr); in CreateNetworks()