Home
last modified time | relevance | path

Searched defs:ifname (Results 1 – 25 of 54) sorted by relevance

123

/packages/modules/NetworkStack/src/android/net/apf/
DProcfsParsingUtils.java103 @NonNull List<String> lines, @NonNull String ifname) { in parseAnycast6Addresses()
131 @NonNull List<String> lines, @NonNull String ifname) { in parseEtherMulticastAddresses()
156 @NonNull List<String> lines, @NonNull String ifname) { in parseIPv6MulticastAddresses()
184 public static int getNdTrafficClass(final String ifname) { in getNdTrafficClass()
198 public static List<Inet6Address> getAnycast6Addresses(@NonNull String ifname) { in getAnycast6Addresses()
213 public static List<MacAddress> getEtherMulticastAddresses(@NonNull String ifname) { in getEtherMulticastAddresses()
227 public static List<Inet6Address> getIpv6MulticastAddresses(@NonNull String ifname) { in getIpv6MulticastAddresses()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DBpfNetworkStats.cpp67 IfaceValue ifname = {}; in bpfRegisterIface() local
97 Result<IfaceValue> ifname = ifindex2name(key); in bpfGetIfaceStatsInternal() local
135 const IfaceValue& ifname) { in populateStatsEntry()
156 Result<IfaceValue> ifname = ifindex2name(key.ifaceIndex); in parseBpfNetworkStatsDetailInternal() local
246 Result<IfaceValue> ifname = ifindex2name(key); in parseBpfNetworkStatsDevInternal() local
DNetworkTracePoller.cpp134 char ifname[IF_NAMESIZE] = {}; in TraceIfaces() local
DNetworkTraceHandler.cpp289 char ifname[IF_NAMESIZE] = {}; in Fill() local
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DIOffloadHal.java60 boolean addDownstream(@NonNull String ifname, @NonNull String prefix); in addDownstream()
63 boolean removeDownstream(@NonNull String ifname, @NonNull String prefix); in removeDownstream()
DOffloadHalAidlImpl.java188 public boolean addDownstream(@NonNull String ifname, @NonNull String prefix) { in addDownstream()
201 public boolean removeDownstream(@NonNull String ifname, @NonNull String prefix) { in removeDownstream()
DOffloadController.java585 final String ifname = lp.getInterfaceName(); in notifyDownstreamLinkProperties() local
594 final String ifname = newLp.getInterfaceName(); in pushDownstreamState() local
623 public void removeDownstreamInterface(String ifname) { in removeDownstreamInterface()
DTethering.java1280 final String ifname = intent.getStringExtra(EXTRA_WIFI_AP_INTERFACE_NAME); in handleWifiApAction() local
1425 private void enableIpServing(int tetheringType, String ifname, int ipServingMode) { in enableIpServing()
1429 private void enableIpServing(int tetheringType, String ifname, int ipServingMode, in enableIpServing()
1437 private void disableWifiIpServingCommon(int tetheringType, String ifname) { in disableWifiIpServingCommon()
1465 private void disableWifiIpServing(String ifname, int apState) { in disableWifiIpServing()
1471 private void enableWifiP2pIpServing(String ifname) { in enableWifiP2pIpServing()
1487 private void disableWifiP2pIpServingIfNeeded(String ifname) { in disableWifiP2pIpServingIfNeeded()
1494 private void enableWifiIpServing(String ifname, int wifiIpMode) { in enableWifiIpServing()
2310 public void excludeDownstreamInterface(String ifname) { in excludeDownstreamInterface()
DOffloadHalHidlImpl.java239 public boolean addDownstream(@NonNull String ifname, @NonNull String prefix) { in addDownstream()
259 public boolean removeDownstream(@NonNull String ifname, @NonNull String prefix) { in removeDownstream()
DOffloadHardwareInterface.java391 public boolean addDownstream(String ifname, String prefix) { in addDownstream()
396 public boolean removeDownstream(String ifname, String prefix) { in removeDownstream()
/packages/modules/NetworkStack/src/com/android/networkstack/util/
DNetworkStackUtils.java424 String ifname, FileDescriptor fd) throws IOException { in addArpEntry()
425 addArpEntry(ethAddr.toByteArray(), ipv4Addr.getAddress(), ifname, fd); in addArpEntry() local
428 private static native void addArpEntry(byte[] ethAddr, byte[] netAddr, String ifname, in addArpEntry()
/packages/modules/Virtualization/virtualizationservice/vmnic/src/
Daidl.rs95 let ifname = CString::new(format!("avf_tap_{iface_name_suffix}")) in createTapInterface() localVariable
129 let ifname = unsafe { CStr::from_ptr(tap_ifreq.ifr_name.as_ptr()) }; in deleteTapInterface() localVariable
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetCallback.java37 public void onResult(String ifname) { in onResult()
DEthernetTracker.java172 private void onNewLink(String ifname, boolean linkUp) { in onNewLink()
181 private void onDelLink(String ifname) { in onDelLink()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DTestNetworkUtils.java67 String ifname, in setupAndGetTestNetwork()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DRtNetlinkLinkMessage.java140 final StructNlAttr ifname = new StructNlAttr(IFLA_IFNAME, mInterfaceName); in pack() local
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DInterfaceController.java48 public InterfaceController(String ifname, INetd netd, SharedLog log) { in InterfaceController()
/packages/modules/Connectivity/tests/common/java/android/net/metrics/
DIpConnectivityLogTest.java140 String ifname) { in makeExpectedEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/
DPanNativeInterface.java82 void onControlStateChanged(int localRole, int halState, int error, String ifname) { in onControlStateChanged()
/packages/modules/NetworkStack/jni/
Dnetwork_stack_utils_jni.cpp56 jbyteArray ipv4Addr, jstring ifname, jobject javaFd) { in network_stack_utils_addArpEntry()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_pan.cpp47 bt_status_t error, const char* ifname) { in control_state_callback()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java514 private void updateClatInterfaceLinkState(@Nullable final String ifname, short nlMsgType) { in updateClatInterfaceLinkState()
532 final String ifname = msg.getInterfaceName(); in processRtNetlinkLinkMessage() local
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java208 private void setTestInterfaceParams(String ifname) { in setTestInterfaceParams()
215 private IpClient makeIpClient(String ifname) throws Exception { in makeIpClient()
335 final String ifname = "lo"; in testNullCallbackMostDefinitelyThrows() local
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServer.java189 @NonNull String ifname, @NonNull FileDescriptor fd) throws IOException; in addArpEntry()
237 @NonNull String ifname, @NonNull FileDescriptor fd) throws IOException { in addArpEntry()
/packages/modules/DnsResolver/tests/
Dtun_forwarder.cpp144 unique_fd TunForwarder::createTun(const std::string& ifname) { in createTun()

123