No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Patrick Rohr 0eaec731ec Add native call to retrieve driver name via ethtool API
This adds a JNI function to retrieve an interface's driver name via
ethtool API, which will be used to identify USB NCM interfaces.

Unfortunately, SIOCETHTOOL (ETHTOOL_GDRVINFO in particular) does not
allow passing in the interface index, meaning that this operation is
racy, i.e. the interface might have been replaced when
getDriverNameForInterface() is called.

SICOETHTOOL is slowly being replaced by a netlink alternative that
allows querying by interface index but, unfortunately, does not support
ETHTOOL_GDRVINFO yet.

Test: verified manually; automated test will be added shortly.
Flag: EXEMPT mainline
Bug: 1000001
Change-Id: I8bec47e36a607e7d8fe2fac2eebcd8dff0360a02
2025-06-09 14:54:38 -07:00
bpf Merge "NetBpfLoad: add self-check for bpfGetNext{Prog,Map}Id()" into main 2025-06-09 10:29:00 -07:00
clatd clatd: disable seccomp 2025-06-04 00:54:30 -07:00
common Extend QosFilter address matching function 2025-05-08 22:37:32 -07:00
framework Merge "Add NetworkCapabilities transport types into NetworkIdentity." into main 2025-05-27 00:41:35 -07:00
framework-t Add NetworkTemplate get/set transport type methods 2025-06-09 14:09:46 +08:00
nearby Replace .toList() with .collect() am: 725078a6bd am: 6586d080f6 2025-02-03 17:40:50 -08:00
networksecurity Remove v1 compatibility version 2025-05-14 13:18:27 +10:00
remoteauth [owners] Remove derekjedral@google.com from remoteauth/OWNERS 2025-05-25 09:49:50 -07:00
service Add NetworkTemplate get/set transport type methods 2025-06-09 14:09:46 +08:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Pass EthernetPort to EthernetNetworkFactory#updateInterfaceLinkState 2025-06-06 12:14:51 -07:00
staticlibs Add native call to retrieve driver name via ethtool API 2025-06-09 14:54:38 -07:00
tests Merge "Add NetworkTemplate get/set transport type methods" into main 2025-06-09 00:35:49 -07:00
Tethering Merge "Increase WAIT_RA_TIMEOUT_MS" into main 2025-06-04 16:17:57 -07:00
thread Remove RecorderCallback. 2025-05-19 16:35:53 +09:00
tools Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07:00
.clang-format Add .clang-format 2025-03-23 19:59:10 -07:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking Add jimictw@ to core networking OWNERS. 2025-01-24 01:06:33 -08:00
OWNERS_core_networking_xts Add yuyanghuang@ to OWNERS_core_networking_xts for APF firmware tests 2025-03-14 13:16:04 +09:00
PREUPLOAD.cfg Add alint hook to Connectivity repo 2025-05-30 11:36:49 +00:00
preupload_hook_script.py Refactor: apply pyformat for coding style consistency 2025-05-28 12:44:57 +00:00
rustfmt.toml Add rustfmt to p/m/C 2025-03-28 10:06:13 -07:00
TEST_MAPPING Add connectivity tests for presubmit on tv 2025-04-03 09:13:40 -07:00