Home
last modified time | relevance | path

Searched refs:INADDR_ANY (Results 1 – 25 of 76) sorted by relevance

1234

/external/libppp/src/
Dncpaddr.c199 if (addr->ncpaddr_ip4addr.s_addr == INADDR_ANY) in ncpaddr_isdefault()
419 range.ncprange_ip4addr.s_addr != INADDR_ANY) { in ncpaddr_aton()
493 if (range->ncprange_ip4addr.s_addr == INADDR_ANY) in ncprange_isdefault()
599 if (from->ncpaddr_ip4addr.s_addr == INADDR_ANY) { in ncprange_sethost()
600 range->ncprange_ip4mask.s_addr = INADDR_ANY; in ncprange_sethost()
667 if (from.s_addr == INADDR_ANY) { in ncprange_setip4host()
668 range->ncprange_ip4mask.s_addr = INADDR_ANY; in ncprange_setip4host()
711 if (host4->sin_addr.s_addr == INADDR_ANY) { in ncprange_setsa()
712 range->ncprange_ip4mask.s_addr = INADDR_ANY; in ncprange_setsa()
977 if (range->ncprange_ip4addr.s_addr == INADDR_ANY) { in ncprange_aton()
[all …]
Dipcp.c267 if (n == 2 && ipcp->ns.dns[0].s_addr == INADDR_ANY) { in ipcp_LoadDNS()
269 ipcp->ns.dns[1].s_addr = INADDR_ANY; in ipcp_LoadDNS()
288 if (ipcp->ns.dns[0].s_addr == INADDR_ANY && in ipcp_WriteDNS()
289 ipcp->ns.dns[1].s_addr == INADDR_ANY) { in ipcp_WriteDNS()
295 if (ipcp->ns.dns[0].s_addr == INADDR_ANY) { in ipcp_WriteDNS()
297 ipcp->ns.dns[1].s_addr = INADDR_ANY; in ipcp_WriteDNS()
308 if (ipcp->ns.dns[1].s_addr != INADDR_ANY && in ipcp_WriteDNS()
459 ipcp->cfg.netmask.s_addr = INADDR_ANY; in ipcp_Init()
474 ipcp->cfg.ns.nbns[0].s_addr = INADDR_ANY; in ipcp_Init()
475 ipcp->cfg.ns.nbns[1].s_addr = INADDR_ANY; in ipcp_Init()
[all …]
Dnat_cmd.c145 aliasaddr.s_addr = INADDR_ANY; in nat_RedirectPort()
156 remoteaddr.s_addr = INADDR_ANY; in nat_RedirectPort()
278 publicIP.s_addr = INADDR_ANY; in nat_RedirectProto()
289 remoteIP.s_addr = INADDR_ANY; in nat_RedirectProto()
419 addr.s_addr = INADDR_ANY; in nat_SetTarget()
428 addr.s_addr = INADDR_ANY; in nat_SetTarget()
Diplist.c133 list->cur.ip.s_addr = INADDR_ANY; in iplist_next()
138 list->cur.ip.s_addr = INADDR_ANY; in iplist_next()
177 list->cur.ip.s_addr = INADDR_ANY; in iplist_setcurpos()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dproxy_unittest.cc103 SocketAddress(INADDR_ANY, 0)); in TEST_F()
106 proxy_socket, SocketAddress(INADDR_ANY, 0), server.address()); in TEST_F()
Dipaddress_unittest.cc196 v4addr.s_addr = INADDR_ANY; in TEST()
308 addr = IPAddress(INADDR_ANY); in TEST()
409 IPAddress addr1(INADDR_ANY); // 0.0.0.0 in TEST()
460 addr2 = IPAddress(INADDR_ANY); in TEST()
559 EXPECT_FALSE(IPIsPrivate(IPAddress(INADDR_ANY))); in TEST()
573 EXPECT_FALSE(IPIsLoopback(IPAddress(INADDR_ANY))); in TEST()
Dipaddress.cc258 return ip == IPAddress(INADDR_ANY); in IPIsAny()
321 return IPAddress(INADDR_ANY); in TruncateIP()
Dsocketaddress.cc286 saddr->sin_addr.s_addr = INADDR_ANY; in ToSockAddr()
391 return SocketAddress(IPAddress(INADDR_ANY), 0); in EmptySocketAddressWithFamily()
Dnetwork.h171 Network() : prefix_(INADDR_ANY), scope_id_(0) {} in Network()
Dvirtualsocket_unittest.cc144 kIPv4AnyAddress(IPAddress(INADDR_ANY), 0), in VirtualSocketServerTest()
795 SocketAddress ipv4_test_addr(IPAddress(INADDR_ANY), 5000); in TEST_F()
853 SocketAddress ipv4_test_addr(IPAddress(INADDR_ANY), 1000); in TEST_F()
863 SocketAddress ipv4_test_addr(IPAddress(INADDR_ANY), 1000); in TEST_F()
/external/dhcpcd/
Dconfigure.c444 if (rt->gate.s_addr == INADDR_ANY) in desc_route()
451 else if (rt->dest.s_addr == INADDR_ANY && rt->net.s_addr == INADDR_ANY) in desc_route()
549 if (net.s_addr == INADDR_BROADCAST || net.s_addr == INADDR_ANY) in get_subnet_route()
564 iface->net.s_addr == INADDR_ANY || in add_subnet_route()
567 iface->state->options->req_addr.s_addr == INADDR_ANY)) in add_subnet_route()
630 r->dest.s_addr = INADDR_ANY; in add_destination_route()
631 r->net.s_addr = INADDR_ANY; in add_destination_route()
646 if (rtp->dest.s_addr != INADDR_ANY) in add_router_host_route()
Dif-linux.c254 rt.dest.s_addr = INADDR_ANY; in link_route()
255 rt.net.s_addr = INADDR_ANY; in link_route()
256 rt.gate.s_addr = INADDR_ANY; in link_route()
317 addr.s_addr = dest.s_addr = INADDR_ANY; in link_addr()
318 dest.s_addr = INADDR_ANY; in link_addr()
566 if (rt->gate.s_addr == INADDR_ANY || in if_route()
Ddhcpcd.c560 (dhcp->ciaddr == INADDR_ANY || dhcp->ciaddr == INADDR_BROADCAST) && in handle_dhcp()
561 (dhcp->yiaddr == INADDR_ANY || dhcp->yiaddr == INADDR_BROADCAST)) in handle_dhcp()
579 lease->server.s_addr = INADDR_ANY; in handle_dhcp()
1048 if (mask && mask->s_addr != INADDR_ANY) { in dhcp_message_new()
1065 if (ifo->req_addr.s_addr != INADDR_ANY) in handle_3rdparty()
1391 if (addr->s_addr == INADDR_ANY) in handle_ifa()
1413 ifo->req_addr.s_addr != INADDR_ANY) in handle_ifa()
1419 ifp->dst.s_addr = dst ? dst->s_addr : INADDR_ANY; in handle_ifa()
1432 dst ? dst->s_addr : INADDR_ANY; in handle_ifa()
/external/compiler-rt/lib/tsan/lit_tests/
Dfd_socket_connect_norace.cc29 addr.sin_port = INADDR_ANY; in main()
Dfd_socket_norace.cc33 addr.sin_port = INADDR_ANY; in main()
/external/chromium_org/net/udp/
Dudp_socket_libevent.cc44 *address = htonl(INADDR_ANY); in GetIPv4AddressFromIndex()
575 mreq.imr_address.s_addr = htonl(INADDR_ANY); in SetSocketOptions()
643 mreq.imr_address.s_addr = htonl(INADDR_ANY); in JoinGroup()
687 mreq.imr_interface.s_addr = INADDR_ANY; in LeaveGroup()
/external/srtp/test/
Drtpw.c285 mreq.imr_interface.s_addr = htonl(INADDR_ANY); in main()
397 local.sin_addr.s_addr = htonl(INADDR_ANY); in main()
/external/openssl/patches/
Dfix_clang_build.patch35 server.sa_in.sin_addr.s_addr=INADDR_ANY;
/external/chromium_org/third_party/openssl/openssl/patches/
Dfix_clang_build.patch35 server.sa_in.sin_addr.s_addr=INADDR_ANY;
/external/dnsmasq/src/
Dnetwork.c328 addr.in.sin_addr.s_addr = INADDR_ANY; in create_wildcard_listeners()
652 addr.in.sin_addr.s_addr = INADDR_ANY; in random_sock()
722 addr->in.sin_addr.s_addr == INADDR_ANY && in allocate_sfd()
778 addr.in.sin_addr.s_addr = INADDR_ANY; in pre_allocate_sfds()
1049 source_addr.in.sin_addr.s_addr = INADDR_ANY; in set_servers()
1162 source_addr.in.sin_addr.s_addr = INADDR_ANY; in reload_servers()
/external/kernel-headers/original/linux/
Din.h220 #define INADDR_ANY ((unsigned long int) 0x00000000) macro
/external/wpa_supplicant_8/src/ap/
Diapp.c460 mreq.imr_address.s_addr = INADDR_ANY; in iapp_init()
514 mreq.imr_address.s_addr = INADDR_ANY; in iapp_deinit()
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Dturnport_unittest.cc91 network_("unittest", "unittest", talk_base::IPAddress(INADDR_ANY), 32), in TurnPortTest()
99 network_.AddIP(talk_base::IPAddress(INADDR_ANY)); in TurnPortTest()
/external/wpa_supplicant_8/wpa_supplicant/
Dctrl_iface_udp.c294 addr.sin_addr.s_addr = INADDR_ANY; in wpa_supplicant_ctrl_iface_init()
549 addr.sin_addr.s_addr = INADDR_ANY; in wpa_supplicant_global_ctrl_iface_init()
/external/chromium_org/net/dns/
Ddns_config_service_posix_unittest.cc139 sa.sin_addr.s_addr = INADDR_ANY; in TEST()

1234