Searched refs:nethandle (Results 1 – 5 of 5) sorted by relevance
3 nethandle=032 nethandle="$1"34 echo "$PREFIX Using nethandle $nethandle ($(toHex $nethandle))"38 adb shell /system/bin/dnschk --nethandle $nethandle $TEST_HOST |46 adb shell /system/bin/httpurl --nethandle $nethandle "$url"
45 << " (via nethandle " << args.nethandle << "):" in main()50 rval = android_getaddrinfofornetwork(args.nethandle, in main()54 if (args.nethandle != NETWORK_UNSPECIFIED) { in main()55 rval = android_setprocnetwork(args.nethandle); in main()
37 bool parseNetworkHandle(const char *arg, net_handle_t *nethandle) { in parseNetworkHandle() argument38 if (arg == nullptr || !isdigit(arg[0]) || nethandle == nullptr) { in parseNetworkHandle()47 *nethandle = nh; in parseNetworkHandle()78 if (!parseNetworkHandle(argv[i], &nethandle)) { in parseArguments()
107 rval = android_getaddrinfofornetwork(args.nethandle, in parseUrl()140 int makeTcpSocket(sa_family_t address_family, net_handle_t nethandle) { in makeTcpSocket() argument153 if (nethandle != NETWORK_UNSPECIFIED) { in makeTcpSocket()154 if (android_setsocknetwork(nethandle, fd) != 0) { in makeTcpSocket()223 rval = android_setprocnetwork(args.nethandle); in main()226 std::cerr << "android_setprocnetwork(" << args.nethandle << ") failed;" in main()240 (args.api_mode == ApiMode::EXPLICIT) ? args.nethandle in main()
34 Arguments() : nethandle(NETWORK_UNSPECIFIED), in Arguments()42 net_handle_t nethandle; member