Lines Matching refs:network
52 int android_setsocknetwork(net_handle_t network, int fd) { in android_setsocknetwork() argument
54 if (!getnetidfromhandle(network, &netid)) { in android_setsocknetwork()
67 int android_setprocnetwork(net_handle_t network) { in android_setprocnetwork() argument
69 if (!getnetidfromhandle(network, &netid)) { in android_setprocnetwork()
82 int android_getprocnetwork(net_handle_t *network) { in android_getprocnetwork() argument
83 if (network == NULL) { in android_getprocnetwork()
89 *network = gethandlefromnetid(netid); in android_getprocnetwork()
93 int android_setprocdns(net_handle_t network) { in android_setprocdns() argument
95 if (!getnetidfromhandle(network, &netid)) { in android_setprocdns()
108 int android_getprocdns(net_handle_t *network) { in android_getprocdns() argument
109 if (network == NULL) { in android_getprocdns()
121 *network = gethandlefromnetid(netid); in android_getprocdns()
125 int android_getaddrinfofornetwork(net_handle_t network, in android_getaddrinfofornetwork() argument
129 if (!getnetidfromhandle(network, &netid)) { in android_getaddrinfofornetwork()
137 int android_res_nquery(net_handle_t network, const char *dname, in android_res_nquery() argument
140 if (!getnetidfromhandle(network, &netid)) { in android_res_nquery()
151 int android_res_nsend(net_handle_t network, const uint8_t *msg, size_t msglen, in android_res_nsend() argument
154 if (!getnetidfromhandle(network, &netid)) { in android_res_nsend()