Searched refs:netid (Results 1 – 2 of 2) sorted by relevance
30 static int getnetidfromhandle(net_handle_t handle, unsigned *netid) { in getnetidfromhandle() argument39 if (netid != NULL) { in getnetidfromhandle()40 *netid = ((handle >> (CHAR_BIT * sizeof(k32BitMask))) & k32BitMask); in getnetidfromhandle()45 static net_handle_t gethandlefromnetid(unsigned netid) { in gethandlefromnetid() argument46 if (netid == NETID_UNSET) { in gethandlefromnetid()49 return (((net_handle_t) netid) << kHandleMagicSize) | kHandleMagic; in gethandlefromnetid()53 unsigned netid; in android_setsocknetwork() local54 if (!getnetidfromhandle(network, &netid)) { in android_setsocknetwork()59 int rval = setNetworkForSocket(netid, fd); in android_setsocknetwork()68 unsigned netid; in android_setprocnetwork() local[all …]
155 public boolean log(int netid, @NonNull int[] transports, @NonNull Event data) { in log() argument157 ev.netId = netid; in log()