Searched refs:in_addr (Results 1 – 15 of 15) sorted by relevance
/system/core/nexus/ |
D | InterfaceConfig.h | 40 struct in_addr mIp; 41 struct in_addr mNetmask; 42 struct in_addr mGateway; 43 struct in_addr mBroadcast; 44 struct in_addr mDns[2]; 53 const struct in_addr &getIp() const { return mIp; } in getIp() 54 const struct in_addr &getNetmask() const { return mNetmask; } in getNetmask() 55 const struct in_addr &getGateway() const { return mGateway; } in getGateway() 56 const struct in_addr &getBroadcast() const { return mBroadcast; } in getBroadcast() 57 const struct in_addr &getDns(int idx) const { return mDns[idx]; } in getDns() [all …]
|
D | InterfaceConfig.cpp | 42 void InterfaceConfig::setIp(struct in_addr *addr) { in setIp() 43 memcpy(&mIp, addr, sizeof(struct in_addr)); in setIp() 46 void InterfaceConfig::setNetmask(struct in_addr *addr) { in setNetmask() 47 memcpy(&mNetmask, addr, sizeof(struct in_addr)); in setNetmask() 50 void InterfaceConfig::setGateway(struct in_addr *addr) { in setGateway() 51 memcpy(&mGateway, addr, sizeof(struct in_addr)); in setGateway() 54 void InterfaceConfig::setBroadcast(struct in_addr *addr) { in setBroadcast() 55 memcpy(&mBroadcast, addr, sizeof(struct in_addr)); in setBroadcast() 58 void InterfaceConfig::setDns(int idx, struct in_addr *addr) { in setDns() 59 memcpy(&mDns[idx], addr, sizeof(struct in_addr)); in setDns() [all …]
|
D | IDhcpEventHandlers.h | 27 struct in_addr *addr, struct in_addr *net, 28 struct in_addr *brd, 29 struct in_addr *gw, struct in_addr *dns1, 30 struct in_addr *dns2) = 0;
|
D | Property.h | 42 virtual int set(int idx, struct in_addr *value) = 0; 46 virtual int get(int idx, struct in_addr *buffer) = 0; 61 int set(int idx, struct in_addr *value); 65 int get(int idx, struct in_addr *buffer); 85 int set(int idx, struct in_addr *value); 89 int get(int idx, struct in_addr *buffer); 107 virtual int set(int idx, struct in_addr *value) = 0; 111 virtual int get(int idx, struct in_addr *buffer) = 0; 115 struct in_addr *mBuffer; 117 IPV4AddressPropertyHelper(const char *name, bool ro, struct in_addr *buf); [all …]
|
D | NetworkManager.h | 90 struct in_addr *addr, struct in_addr *net, 91 struct in_addr *brd, 92 struct in_addr *gw, struct in_addr *dns1, 93 struct in_addr *dns2);
|
D | Property.cpp | 45 int StringProperty::set(int idx, struct in_addr *value) { in set() 55 int StringProperty::get(int idx, struct in_addr *buffer) { in get() 97 int IntegerProperty::set(int idx, struct in_addr *value) { in set() 107 int IntegerProperty::get(int idx, struct in_addr *buffer) { in get() 165 struct in_addr *buffer) : in IPV4AddressPropertyHelper() 170 int IPV4AddressPropertyHelper::set(int idx, struct in_addr *value) { in set() 176 memcpy(mBuffer, value, sizeof(struct in_addr)); in set() 180 int IPV4AddressPropertyHelper::get(int idx, struct in_addr *buffer) { in get() 186 memcpy(buffer, mBuffer, sizeof(struct in_addr)); in get()
|
D | NetworkManager.cpp | 175 void NetworkManager::onDhcpLeaseUpdated(Controller *c, struct in_addr *addr, in onDhcpLeaseUpdated() 176 struct in_addr *net, in onDhcpLeaseUpdated() 177 struct in_addr *brd, in onDhcpLeaseUpdated() 178 struct in_addr *gw, in onDhcpLeaseUpdated() 179 struct in_addr *dns1, in onDhcpLeaseUpdated() 180 struct in_addr *dns2) { in onDhcpLeaseUpdated()
|
D | VpnController.h | 58 virtual int set(int idx, struct in_addr *value) = 0; 59 virtual int get(int idx, struct in_addr *buffer) = 0; 75 struct in_addr mGateway;
|
D | DhcpListener.cpp | 65 struct in_addr ipaddr, netmask, gateway, broadcast, dns1, dns2; in onDataAvailable()
|
D | PropertyManager.cpp | 139 struct in_addr tmp; in doSet() 174 struct in_addr tmp; in doGet()
|
/system/core/libnetutils/ |
D | ifc_utils.c | 50 struct in_addr in_addr; in ipaddr_to_string() local 52 in_addr.s_addr = addr; in ipaddr_to_string() 53 return inet_ntoa(in_addr); in ipaddr_to_string() 278 struct in_addr addr; in ifc_remove_host_routes() 364 struct in_addr addr; in ifc_set_default_route()
|
D | dhcp_utils.c | 72 struct in_addr addr; in fill_ip_info()
|
/system/core/include/cutils/ |
D | adb_networking.h | 28 extern int adb_networking_gethostbyname(const char *name, struct in_addr *p_out_addr);
|
/system/core/libcutils/ |
D | adb_networking.c | 114 int adb_networking_gethostbyname(const char *name, struct in_addr *p_out_addr) in adb_networking_gethostbyname() 169 memset(p_out_addr, 0, sizeof(struct in_addr)); in adb_networking_gethostbyname()
|
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/ |
D | eth_utils.c | 40 extern char* inet_ntoa(struct in_addr);
|