Home
last modified time | relevance | path

Searched refs:in_addr (Results 1 – 10 of 10) sorted by relevance

/system/netd/server/
DPppController.h34 int attachPppd(const char *tty, struct in_addr local,
35 struct in_addr remote, struct in_addr dns1,
36 struct in_addr dns2);
DPppController.cpp51 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()
DTetherController.h25 typedef android::netd::List<struct in_addr> NetAddressCollection;
43 int startTethering(int num_addrs, struct in_addr* addrs);
DTetherController.cpp105 int TetherController::startTethering(int num_addrs, struct in_addr* addrs) { in startTethering()
220 struct in_addr a; in setDnsForwarders()
DCommandListener.cpp293 struct in_addr addr; in runCommand()
346 struct in_addr addr; in runCommand()
599 in_addr *addrs = (in_addr *)malloc(sizeof(in_addr) * num_addrs); in runCommand()
703 struct in_addr l, r, dns1, dns2; in runCommand()
705 memset(&dns1, 0, sizeof(struct in_addr)); in runCommand()
706 memset(&dns2, 0, sizeof(struct in_addr)); in runCommand()
/system/core/netcfg/
Dnetcfg.c34 struct in_addr in_addr; in ipaddr() local
36 in_addr.s_addr = addr; in ipaddr()
37 return inet_ntoa(in_addr); in ipaddr()
/system/core/libnetutils/
Ddhcp_utils.c171 struct in_addr in_addr; in ipaddr_to_string() local
173 in_addr.s_addr = addr; in ipaddr_to_string()
174 return inet_ntoa(in_addr); in ipaddr_to_string()
Difc_utils.c94 struct in_addr in_addr; in ipaddr_to_string() local
96 in_addr.s_addr = addr; in ipaddr_to_string()
97 return inet_ntoa(in_addr); in ipaddr_to_string()
509 int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr dst, int prefix_length, in ifc_act_on_ipv4_route()
510 struct in_addr gw) in ifc_act_on_ipv4_route()
556 struct in_addr in_dst, in_gw; in ifc_create_default_route()
Ddhcpclient.c90 struct in_addr in_addr; in ipaddr() local
92 in_addr.s_addr = addr; in ipaddr()
93 return inet_ntoa(in_addr); in ipaddr()
/system/core/libsysutils/src/
DNetlinkEvent.cpp191 struct in_addr *addr4 = (struct in_addr *) RTA_DATA(rta); in parseIfAddrMessage()