Searched refs:in_addr (Results 1 - 18 of 18) sorted by relevance

/system/core/nexus/
H A DIDhcpEventHandlers.h27 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;
H A DInterfaceConfig.h40 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; }
54 const struct in_addr &getNetmask() const { return mNetmask; }
55 const struct in_addr &getGateway() const { return mGateway; }
56 const struct in_addr &getBroadcast() const { return mBroadcast; }
57 const struct in_addr
[all...]
H A DInterfaceConfig.cpp42 void InterfaceConfig::setIp(struct in_addr *addr) {
43 memcpy(&mIp, addr, sizeof(struct in_addr));
46 void InterfaceConfig::setNetmask(struct in_addr *addr) {
47 memcpy(&mNetmask, addr, sizeof(struct in_addr));
50 void InterfaceConfig::setGateway(struct in_addr *addr) {
51 memcpy(&mGateway, addr, sizeof(struct in_addr));
54 void InterfaceConfig::setBroadcast(struct in_addr *addr) {
55 memcpy(&mBroadcast, addr, sizeof(struct in_addr));
58 void InterfaceConfig::setDns(int idx, struct in_addr *addr) {
59 memcpy(&mDns[idx], addr, sizeof(struct in_addr));
[all...]
H A DProperty.h42 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 *bu
[all...]
H A DNetworkManager.h90 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);
H A DProperty.cpp45 int StringProperty::set(int idx, struct in_addr *value) {
55 int StringProperty::get(int idx, struct in_addr *buffer) {
97 int IntegerProperty::set(int idx, struct in_addr *value) {
107 int IntegerProperty::get(int idx, struct in_addr *buffer) {
165 struct in_addr *buffer) :
170 int IPV4AddressPropertyHelper::set(int idx, struct in_addr *value) {
176 memcpy(mBuffer, value, sizeof(struct in_addr));
180 int IPV4AddressPropertyHelper::get(int idx, struct in_addr *buffer) {
186 memcpy(buffer, mBuffer, sizeof(struct in_addr));
H A DNetworkManager.cpp175 void NetworkManager::onDhcpLeaseUpdated(Controller *c, struct in_addr *addr,
176 struct in_addr *net,
177 struct in_addr *brd,
178 struct in_addr *gw,
179 struct in_addr *dns1,
180 struct in_addr *dns2) {
H A DVpnController.h58 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;
H A DDhcpListener.cpp65 struct in_addr ipaddr, netmask, gateway, broadcast, dns1, dns2;
H A DPropertyManager.cpp139 struct in_addr tmp;
174 struct in_addr tmp;
/system/netd/
H A 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);
H A DTetherController.h25 typedef android::List<struct in_addr> NetAddressCollection;
40 int startTethering(int num_addrs, struct in_addr* addrs);
H A DPppController.cpp52 int PppController::attachPppd(const char *tty, struct in_addr local,
53 struct in_addr remote, struct in_addr dns1,
54 struct in_addr dns2) {
H A DCommandListener.cpp188 struct in_addr addr, mask;
239 struct in_addr addr, mask;
410 in_addr *addrs = (in_addr *)malloc(sizeof(in_addr) * num_addrs);
512 struct in_addr l, r, dns1, dns2;
514 memset(&dns1, sizeof(struct in_addr), 0);
515 memset(&dns2, sizeof(struct in_addr), 0);
H A DTetherController.cpp90 int TetherController::startTethering(int num_addrs, struct in_addr* addrs) {
194 struct in_addr a;
/system/core/libnetutils/
H A Difc_utils.c50 struct in_addr in_addr; local
52 in_addr.s_addr = addr;
53 return inet_ntoa(in_addr);
278 struct in_addr addr;
364 struct in_addr addr;
H A Ddhcp_utils.c74 struct in_addr addr;
/system/wlan/ti/sta_dk_4_0_4_32/CUDK/CLI/
H A Deth_utils.c40 extern char* inet_ntoa(struct in_addr);

Completed in 139 milliseconds