Searched refs:netIface (Results 1 – 3 of 3) sorted by relevance
154 NetworkInterface netIface; in getIfaceIndex() local156 netIface = NetworkInterface.getByName(iface); in getIfaceIndex()159 netIface = null; in getIfaceIndex()161 return (netIface != null) ? netIface.getIndex() : 0; in getIfaceIndex()332 NetworkInterface netIface = NetworkInterface.getByName(iface); in attachProgram() local333 TcUtils.tcFilterAddDevBpf(netIface.getIndex(), false, PRIO_DSCP, (short) ETH_P_ALL, in attachProgram()348 NetworkInterface netIface = NetworkInterface.getByName(iface); in detachProgram() local349 if (netIface != null) { in detachProgram()350 TcUtils.tcFilterDelDev(netIface.getIndex(), false, PRIO_DSCP, (short) ETH_P_ALL); in detachProgram()
64 vh.netIface = convertView.findViewById(R.id.network_iface); in getView()90 vh.netIface.setText(mNetworkList[position].mInterfaceName); in getView()195 public TextView netIface; field in NetworkListAdapter.ViewHolder
1112 final NetworkInterface netIface = NetworkInterface.getByInetAddress(localInner);1113 assertNotNull(netIface);1114 assertEquals(tunnelIface.getInterfaceName(), netIface.getDisplayName());