Home
last modified time | relevance | path

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

/packages/modules/Connectivity/common/src/com/android/net/module/util/bpf/
DTetherStatsKey.java26 public final int ifindex; // upstream interface index field in TetherStatsKey
28 public TetherStatsKey(final int ifindex) { in TetherStatsKey()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetherLimitKey.java26 public final int ifindex; // upstream interface index field in TetherLimitKey
28 public TetherLimitKey(final int ifindex) { in TetherLimitKey()
DBpfCoordinator.java1122 private String getIfName(int ifindex) { in getIfName()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/structs/
DIpv6PktInfo.java36 public final int ifindex; // interface index field in Ipv6PktInfo
38 public Ipv6PktInfo(final Inet6Address addr, final int ifindex) { in Ipv6PktInfo()
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/ip/
DIpNeighborMonitor.java86 public final int ifindex; field in IpNeighborMonitor.NeighborEvent
93 public NeighborEvent(long elapsedMs, short msgType, int ifindex, @NonNull InetAddress ip, in NeighborEvent()
160 final int ifindex = ndMsg.ndm_ifindex; in processNetlinkMessage() local
/packages/modules/Connectivity/staticlibs/device/com/android/net/module/util/netlink/
DNduseroptMessage.java48 public final int ifindex; field in NduseroptMessage
69 int ifindex, byte icmptype, byte icmpcode, @NonNull final NdOption option, in NduseroptMessage()
DStructPrefixMsg.java62 public StructPrefixMsg(short family, int ifindex, short type, short len, short flags) { in StructPrefixMsg()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DBpfNetworkStats.cpp53 Result<IfaceValue> ifindex2name(const uint32_t ifindex) { in ifindex2name()
65 uint32_t ifindex = if_nametoindex(iface); in bpfRegisterIface() local
119 int bpfGetIfIndexStatsInternal(uint32_t ifindex, StatsValue* stats, in bpfGetIfIndexStatsInternal()
130 int bpfGetIfIndexStats(int ifindex, StatsValue* stats) { in bpfGetIfIndexStats()
DNetworkTracePoller.cpp133 for (uint32_t ifindex : uniqueIfindex) { in TraceIfaces() local
DBpfNetworkStatsTest.cpp80 IfIndexToNameFunc mIfIndex2Name = [this](const uint32_t ifindex){ in __anon5c1d6ef40102()
/packages/modules/Connectivity/bpf_progs/
DdscpPolicy.h54 uint32_t ifindex; member
68 uint32_t ifindex; member
Dnetd.h76 uint32_t ifindex; member
/packages/modules/adb/client/openscreen/platform/
Dudp_socket.cpp265 void SetMulticastOutboundInterface(NetworkInterfaceIndex ifindex) override { in SetMulticastOutboundInterface()
329 void JoinMulticastGroup(const IPAddress& address, NetworkInterfaceIndex ifindex) override { in JoinMulticastGroup()
486 void MdnsBind(NetworkInterfaceIndex ifindex) { in JoinMulticastGroup()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DClatCoordinatorTest.java272 public void addAnycastSetsockopt(@NonNull FileDescriptor sock, String v6, int ifindex) in addAnycastSetsockopt()
284 public void configurePacketSocket(@NonNull FileDescriptor sock, String v6, int ifindex) in configurePacketSocket()
690 int ifindex) throws IOException { in testNotStartClatWithNativeFailureAddAnycastSetsockopt()
703 int ifindex) throws IOException { in testNotStartClatWithNativeFailureConfigurePacketSocket()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DClatCoordinator.java220 public void addAnycastSetsockopt(@NonNull FileDescriptor sock, String v6, int ifindex) in addAnycastSetsockopt()
228 public void configurePacketSocket(@NonNull FileDescriptor sock, String v6, int ifindex) in configurePacketSocket()
874 int ifindex) throws IOException; in native_addAnycastSetsockopt()
876 int ifindex) throws IOException; in native_configurePacketSocket()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/include/netdbpf/
DNetworkTraceHandler.h39 uint32_t ifindex; member
/packages/modules/Connectivity/service/native/libs/libclat/
Dclatutils.cpp220 int configure_packet_socket(const int sock, const in6_addr* const addr, const int ifindex) { in configure_packet_socket()
/packages/modules/Connectivity/service/jni/
Dcom_android_server_connectivity_ClatCoordinator.cpp311 JNIEnv* env, jclass clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_addAnycastSetsockopt()
337 JNIEnv* env, jclass clazz, jobject javaFd, jstring addr6, jint ifindex) { in com_android_server_connectivity_ClatCoordinator_configurePacketSocket()
/packages/modules/NetworkStack/src/android/net/ip/
DIpClientLinkObserver.java225 private void maybeLog(String operation, int ifindex, LinkAddress address) { in maybeLog()
350 private void setIfindex(int ifindex) { in setIfindex()
/packages/modules/NetworkStack/tests/unit/src/android/net/ip/
DIpClientTest.java254 int ifindex, int flags) { in buildRtmAddressMessage()
269 int ifindex) { in buildRtmRouteMessage()
285 private static NduseroptMessage buildNduseroptMessage(int ifindex, long lifetime, in buildNduseroptMessage()
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/netlink/
DNduseroptMessageTest.java270 private void assertMatches(int family, int optsLen, int ifindex, byte icmpType, in assertMatches()
/packages/modules/NetworkStack/tests/integration/signature/android/net/util/
DNetworkStackUtilsIntegrationTest.kt311 val ifindex = InterfaceParams.getByName(iface.interfaceName).index in doTestDhcpResponseWithMfBitDropped() constant
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DStructTest.java107 HeaderMsgWithConstructor(final short family, final int len, final int ifindex, in HeaderMsgWithConstructor()
539 HeaderMsgWithStaticConstant(final short family, final int len, final int ifindex, in HeaderMsgWithStaticConstant()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java653 private void recvNewNeigh(int ifindex, InetAddress addr, short nudState, MacAddress mac) { in recvNewNeigh()
659 private void recvDelNeigh(int ifindex, InetAddress addr, short nudState, MacAddress mac) { in recvDelNeigh()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java967 private int getInterfaceIndexForRule(int ifindex, boolean supportsBpf) { in getInterfaceIndexForRule()