Searched refs:in_addr (Results 1 – 11 of 11) sorted by relevance
/system/netd/ |
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 | TetherController.h | 25 typedef android::netd::List<struct in_addr> NetAddressCollection; 40 int startTethering(int num_addrs, struct in_addr* addrs);
|
D | ResolverController.h | 31 int setInterfaceAddress(const char* iface, struct in_addr* addr);
|
D | ResolverController.cpp | 50 int ResolverController::setInterfaceAddress(const char* iface, struct in_addr* addr) { in setInterfaceAddress()
|
D | TetherController.cpp | 99 int TetherController::startTethering(int num_addrs, struct in_addr* addrs) { in startTethering() 207 struct in_addr a; in setDnsForwarders()
|
D | CommandListener.cpp | 310 struct in_addr addr; in runCommand() 363 struct in_addr addr; in runCommand() 585 in_addr *addrs = (in_addr *)malloc(sizeof(in_addr) * num_addrs); in runCommand() 681 struct in_addr l, r, dns1, dns2; in runCommand() 683 memset(&dns1, sizeof(struct in_addr), 0); in runCommand() 684 memset(&dns2, sizeof(struct in_addr), 0); in runCommand() 772 struct in_addr addr; in runCommand()
|
/system/core/netcfg/ |
D | netcfg.c | 39 struct in_addr in_addr; in ipaddr() local 41 in_addr.s_addr = addr; in ipaddr() 42 return inet_ntoa(in_addr); in ipaddr()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 89 struct in_addr in_addr; in ipaddr_to_string() local 91 in_addr.s_addr = addr; in ipaddr_to_string() 92 return inet_ntoa(in_addr); in ipaddr_to_string() 504 int ifc_act_on_ipv4_route(int action, const char *ifname, struct in_addr dst, int prefix_length, in ifc_act_on_ipv4_route() 505 struct in_addr gw) in ifc_act_on_ipv4_route() 551 struct in_addr in_dst, in_gw; in ifc_create_default_route() 564 struct in_addr in_dst, in_gw; in ifc_add_host_route() 655 struct in_addr addr; in ifc_remove_host_routes() 744 struct in_addr addr; in ifc_set_default_route() 939 int ifc_add_ipv4_route(const char *ifname, struct in_addr dst, int prefix_length, in ifc_add_ipv4_route() [all …]
|
D | dhcp_utils.c | 166 struct in_addr in_addr; in ipaddr_to_string() local 168 in_addr.s_addr = addr; in ipaddr_to_string() 169 return inet_ntoa(in_addr); in ipaddr_to_string()
|
D | dhcpclient.c | 90 struct in_addr in_addr; in ipaddr() local 92 in_addr.s_addr = addr; in ipaddr() 93 return inet_ntoa(in_addr); in ipaddr()
|