/system/netd/server/ |
D | PppController.h | 34 int attachPppd(const char *tty, struct in_addr local, 35 struct in_addr remote, struct in_addr dns1, 36 struct in_addr dns2);
|
D | PppController.cpp | 51 int PppController::attachPppd(const char *tty, struct in_addr local, in attachPppd() 52 struct in_addr remote, struct in_addr dns1, in attachPppd() 53 struct in_addr dns2) { in attachPppd()
|
D | ClatdController.h | 68 in_addr v4; 85 static in_addr_t selectIpv4Address(const in_addr ip, int16_t prefixlen); 86 static int generateIpv6Address(const char* iface, const in_addr v4, const in6_addr& nat64Prefix, 88 static void makeChecksumNeutral(in6_addr* v6, const in_addr v4, const in6_addr& nat64Prefix);
|
D | ClatdControllerTest.cpp | 83 in_addr_t selectIpv4Address(const in_addr a, int16_t b) { in selectIpv4Address() 86 void makeChecksumNeutral(in6_addr* a, const in_addr b, const in6_addr& c) { in makeChecksumNeutral() 92 struct in_addr addr; in TEST_F() 145 in_addr v4 = {inet_addr(kIPv4LocalAddr)}; in TEST_F()
|
D | ClatdController.cpp | 60 static const in_addr kV4Addr = {inet_addr(kV4AddrString)}; 156 in_addr_t ClatdController::selectIpv4Address(const in_addr ip, int16_t prefixlen) { in selectIpv4Address() 181 void ClatdController::makeChecksumNeutral(in6_addr* v6, const in_addr v4, in makeChecksumNeutral() 204 int ClatdController::generateIpv6Address(const char* iface, const in_addr v4, in generateIpv6Address()
|
D | SockDiag.cpp | 153 in_addr& ina = reinterpret_cast<sockaddr_in*>(res->ai_addr)->sin_addr; in sendDumpRequest() 157 in_addr& ina = reinterpret_cast<sockaddr_in*>(res->ai_addr)->sin_addr; in sendDumpRequest()
|
D | InterfaceController.cpp | 515 struct in_addr addr = {}; in getCfg()
|
D | XfrmController.cpp | 197 return fillNlAttr(nlaType, (family == AF_INET) ? sizeof(in_addr) : sizeof(in6_addr), nlAttr); in fillNlAttrIpAddress() 1568 {&binaryLocalAddress, (family == AF_INET) ? sizeof(in_addr) : sizeof(in6_addr)}, in ipSecAddVirtualTunnelInterface() 1572 {&binaryRemoteAddress, (family == AF_INET) ? sizeof(in_addr) : sizeof(in6_addr)}, in ipSecAddVirtualTunnelInterface()
|
D | TetherController.cpp | 310 struct in_addr v4_addr; in startTethering()
|
D | NdcDispatcher.cpp | 224 struct in_addr addr; in runCommand()
|
/system/netd/libnetdutils/include/netdutils/ |
D | InternetAddresses.h | 41 in_addr v4; 58 const in_addr v4a = a.ip.v4; 59 const in_addr v4b = b.ip.v4; 81 const in_addr v4a = a.ip.v4; 82 const in_addr v4b = b.ip.v4; 127 explicit IPAddress(const in_addr& ipv4) in IPAddress() 206 in_addr addr4() const noexcept { return mData.ip.v4; } in addr4()
|
/system/netd/resolv/ |
D | res_state_ext.h | 14 struct in_addr ina;
|
D | DnsProxyListener.cpp | 226 in_addr** list = (in_addr**) hp->h_addr_list; in extractGetHostByNameAnswers() 336 bool isSpecialUseIPv4Address(const struct in_addr& ia) { in isSpecialUseIPv4Address() 359 if (isSpecialUseIPv4Address(*(struct in_addr*) hp->h_addr_list[i])) return false; in onlyNonSpecialUseIPv4Addresses() 431 struct in_addr iaOriginal = *(struct in_addr*) hp->h_addr_list[i]; in synthesizeNat64PrefixWithARecord() 1164 struct in_addr v4addr = {.s_addr = v6addr.s6_addr32[3]}; in doDns64ReverseLookup()
|
D | resolv_private.h | 102 struct in_addr addr;
|
D | libnetd_resolv_test.cpp | 144 {0, sizeof(struct in_addr) /*bad*/, nullptr, nullptr, nullptr, EAI_BADHINTS}, in TEST_F()
|
D | gethnamaddr.cpp | 735 (((struct in_addr*) (void*) (*p))->s_addr & res->sort_list[j].mask)) in addrsort()
|
D | getaddrinfo.cpp | 82 {PF_INET, sizeof(struct in_addr), sizeof(struct sockaddr_in),
|
D | resolver_test.cpp | 2838 struct in_addr v4addr; in TEST_F()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 93 struct in_addr in_addr; in ipaddr_to_string() local 95 in_addr.s_addr = addr; in ipaddr_to_string() 96 return inet_ntoa(in_addr); in ipaddr_to_string() 332 ((struct in_addr *)addr)->s_addr |= htonl((1<<(32-prefixlen))-1); in ifc_act_on_address() 531 int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr dst, int prefix_length, in ifc_act_on_ipv4_route() 532 struct in_addr gw) in ifc_act_on_ipv4_route() 579 struct in_addr in_dst, in_gw; in ifc_create_default_route()
|
D | dhcpclient.c | 88 struct in_addr in_addr; in ipaddr() local 90 in_addr.s_addr = addr; in ipaddr() 91 return inet_ntoa(in_addr); in ipaddr()
|
/system/netd/libnetdbpf/include/netdbpf/ |
D | bpf_shared.h | 133 struct in_addr local4; // The destination IPv4 address
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 38 const in_addr v4 = mData.ip.v4; in toString()
|
D | InternetAddressesTest.cpp | 82 const in_addr IPV4_ANY{htonl(INADDR_ANY)}; 83 const in_addr IPV4_LOOPBACK{htonl(INADDR_LOOPBACK)}; 84 const in_addr IPV4_ONES{~0U};
|
/system/netd/tests/ |
D | tun_interface.cpp | 145 in_addr ip4; in addAddress()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 189 struct in_addr *addr4 = (struct in_addr *) RTA_DATA(rta); in parseIfAddrMessage()
|