Searched refs:in_addr (Results 1 – 19 of 19) sorted by relevance
/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 | 52 int PppController::attachPppd(const char *tty, struct in_addr local, in attachPppd() 53 struct in_addr remote, struct in_addr dns1, in attachPppd() 54 struct in_addr dns2) { in attachPppd()
|
D | ClatdController.h | 66 in_addr v4; 87 static in_addr_t selectIpv4Address(const in_addr ip, int16_t prefixlen); 88 static int generateIpv6Address(const char* iface, const in_addr v4, const in6_addr& nat64Prefix, 90 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)}; 149 in_addr_t ClatdController::selectIpv4Address(const in_addr ip, int16_t prefixlen) { in selectIpv4Address() 174 void ClatdController::makeChecksumNeutral(in6_addr* v6, const in_addr v4, in makeChecksumNeutral() 197 int ClatdController::generateIpv6Address(const char* iface, const in_addr v4, in generateIpv6Address()
|
D | SockDiag.cpp | 154 in_addr& ina = reinterpret_cast<sockaddr_in*>(res->ai_addr)->sin_addr; in sendDumpRequest() 158 in_addr& ina = reinterpret_cast<sockaddr_in*>(res->ai_addr)->sin_addr; in sendDumpRequest()
|
D | InterfaceController.cpp | 510 struct in_addr addr = {}; in getCfg()
|
D | XfrmController.cpp | 196 return fillNlAttr(nlaType, (family == AF_INET) ? sizeof(in_addr) : sizeof(in6_addr), nlAttr); in fillNlAttrIpAddress() 1566 {&binaryLocalAddress, (family == AF_INET) ? sizeof(in_addr) : sizeof(in6_addr)}, in ipSecAddVirtualTunnelInterface() 1570 {&binaryRemoteAddress, (family == AF_INET) ? sizeof(in_addr) : sizeof(in6_addr)}, in ipSecAddVirtualTunnelInterface()
|
D | NdcDispatcher.cpp | 224 struct in_addr addr; in runCommand()
|
D | TetherController.cpp | 354 struct in_addr v4_addr; in startTethering()
|
/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; 137 explicit IPAddress(const in_addr& ipv4) in IPAddress() 221 in_addr addr4() const noexcept { return mData.ip.v4; } in addr4()
|
/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() 331 ((struct in_addr *)addr)->s_addr |= htonl((1<<(32-prefixlen))-1); in ifc_act_on_address() 533 int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr dst, int prefix_length, in ifc_act_on_ipv4_route() 534 struct in_addr gw) in ifc_act_on_ipv4_route() 581 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 | 166 struct in_addr local4; // The destination IPv4 address 179 struct in_addr local4; // The source IPv4 address
|
/system/netd/libnetdutils/ |
D | InternetAddresses.cpp | 40 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 | 149 in_addr ip4; in addAddress()
|
D | binder_test.cpp | 2157 IPAddress addr(*(in_addr*)msg->id.idiag_src); in findDnsSockets() 2258 in_addr loopback = {htonl(INADDR_LOOPBACK)}; in TEST_F() 2658 struct in_addr addr = {}; in getInterfaceIPv4Addr()
|
/system/core/libsysutils/src/ |
D | NetlinkEvent.cpp | 211 struct in_addr *addr4 = (struct in_addr *) RTA_DATA(rta); in parseIfAddrMessage()
|