/frameworks/base/native/android/ |
net.c | 26 static int getnetidfromhandle(net_handle_t handle, unsigned *netid) { 38 if (netid != NULL) { 39 *netid = ((handle >> (CHAR_BIT * sizeof(k32BitMask))) & k32BitMask); 46 unsigned netid; local 47 if (!getnetidfromhandle(network, &netid)) { 52 int rval = setNetworkForSocket(netid, fd); 61 unsigned netid; local 62 if (!getnetidfromhandle(network, &netid)) { 67 int rval = setNetworkForProcess(netid); 78 unsigned netid; local [all...] |
/external/iproute2/tipc/ |
node.c | 173 int netid; local 188 fprintf(stderr, "Usage: %s node set netid NETID\n", 192 netid = atoi(shift_cmdl(cmdl)); 195 mnl_attr_put_u32(nlh, TIPC_NLA_NET_ID, netid); 207 " netid NETID - Set local netid\n", 216 { "netid", cmd_node_set_netid, NULL }, 229 " netid - Get local netid\n" [all...] |
bearer.c | 91 int *netid = (int*)data; local 99 *netid = mnl_attr_get_u32(attrs[TIPC_NLA_NET_ID]); 106 int netid; local 114 if (msg_dumpit(nlh, get_netid_cb, &netid)) { 119 snprintf(buf, bufsize, "228.0.%u.%u", (netid>>8) & 0xFF, netid & 0xFF); 121 snprintf(buf, bufsize, "ff02::%u", netid);
|
/external/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_5/ |
tirpc_svc_5.c | 47 char netid[4]; member in struct:server_def_t 74 this->nconf = getnetconfigent(this->netid); 77 this->netid);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiAPITest.java | 42 private int netid; field in class:WifiAPITest 119 netid = Integer.parseInt(value.toString()); 121 // Invalid netid 125 mWifiManager.disableNetwork(netid); 144 netid = Integer.parseInt(value.toString()); 145 mWifiManager.enableNetwork(netid, false);
|
/bionic/libc/dns/net/ |
gethnamaddr.c | 834 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); local 839 netid, 948 unsigned netid = __netdClientDispatch.netIdForResolv(netcontext->app_netid); local 951 addrStr, len, af, netid) < 0) { [all...] |
/bionic/libc/dns/include/ |
resolv_private.h | 142 unsigned netid; /* NetId: cache key and socket mark */ member in struct:__res_state 195 /* Retrieve a local copy of the stats for the given netid. The buffer must have space for 200 _resolv_cache_get_resolver_stats( unsigned netid, struct __res_params* params, 203 /* Add a sample to the shared struct for the given netid and server, provided that the 208 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns,
|
/bionic/libc/dns/resolv/ |
res_cache.c | 1225 unsigned netid; member in struct:resolv_cache_info [all...] |
/external/dnsmasq/src/ |
rfc2131.c | 97 static size_t dhcp_packet_size(struct dhcp_packet *mess, struct dhcp_netid *netid, 106 struct dhcp_netid *netid, 116 static int prune_vendor_opts(struct dhcp_netid *netid); 117 static struct dhcp_opt *pxe_opts(int pxe_arch, struct dhcp_netid *netid); 118 struct dhcp_boot *find_boot(struct dhcp_netid *netid); 139 struct dhcp_netid *netid; local 156 netid = &iface_id; 240 vendor->netid.next = netid; 241 netid = &vendor->netid [all...] |
dnsmasq.h | 450 struct dhcp_netid netid; member in struct:dhcp_config 478 struct dhcp_netid *netid; member in struct:dhcp_opt 497 struct dhcp_netid *netid; member in struct:dhcp_boot 505 struct dhcp_netid *netid; member in struct:pxe_service 519 struct dhcp_netid netid; member in struct:dhcp_vendor 527 struct dhcp_netid netid; member in struct:dhcp_mac 548 struct dhcp_netid netid, *filter; member in struct:dhcp_context
|
/external/iproute2/misc/ |
ss.c | 2607 const char *netid; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 3107 int netid = nai.network.netId; local [all...] |