HomeSort by relevance Sort by last modified time
    Searched defs:netid (Results 1 - 10 of 10) sorted by null

  /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);
  /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 818 size_t hbuflen, int *errorp, unsigned netid, unsigned mark)
823 res_setnetid(res, netid);
828 netid = __netdClientDispatch.netIdForResolv(netid);
833 netid,
865 char *buf, size_t buflen, int *he, unsigned netid, unsigned mark)
917 default_dns_files, uaddr, len, af, netid, mark) != NS_SUCCESS)
926 unsigned netid, unsigned mark)
931 return android_gethostbyaddrfornet_real(addr,len, af, hp, hbuf, hbuflen, he, netid, mark);
941 netid = __netdClientDispatch.netIdForResolv(netid)
1242 unsigned netid, mark; local
    [all...]
  /bionic/libc/dns/include/
resolv_private.h 156 unsigned netid; /* NetId: cache key and socket mark */ member in struct:__res_state
209 /* Retrieve a local copy of the stats for the given netid. The buffer must have space for
214 _resolv_cache_get_resolver_stats( unsigned netid, struct __res_params* params,
217 /* Add a sample to the shared struct for the given netid and server, provided that the
222 _resolv_cache_add_resolver_stats_sample( unsigned netid, int revision_id, int ns,
  /bionic/libc/dns/resolv/
res_cache.c 1233 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...]

Completed in 231 milliseconds