android_packages_modules_Co.../thread
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Yang Sun 7934241c8f Pass buffer size to NetlinkUtils.netlinkSocketForProto
Pass buffer size to netlinkSocketForProto to allow callers to specify
buffer size. The buffer size is not set if 0 is passed in.

Following callers of netlinkSocketForProto passes SOCKET_RECV_BUFFERSIZE
to keep same behavior as before:
 * OffloadHardwareInterface.createConntrackSocket()
 * NetlinkUtils.sendOneShotKernelMessage()
 * IpSecXfrmController.Dependencies.newNetlinkSocket()
 * InetDiagMessage.getConnectionOwnerUid()
Following callers pass 0 to not update the buffer size:
 * TunInterfaceController - it uses the socket only for writing
 * NetlinkUtils.createNetLinkInetDiagSocket() same behavior as before
Added a SOCKET_DUMP_RECV_BUFFERSIZE of 128k to be used by socket
requesting dump information from kernel:
 * NetlinkUtils.getAndProcessNetlinkDumpMessages() - sends dump request
   and expecting multiple reply messages.

Bug: 320420453

Test: atest NetworkStaticLibTests
atest FrameworksNetTests

Change-Id: I3dcb76963cf2646eb311602b50ab4e44b8ad3e8f
2024-01-30 21:54:48 +08:00
..
apex [Thread] create socket dev/socket/ot-daemon/thread-wpan.sock 2024-01-22 01:20:36 +08:00
demoapp [Thread] add demoapp for Thread network APIs 2023-11-24 12:01:06 +08:00
flags Merge "[Thread] remove thread_user_restriction_enabled" into main 2024-01-25 05:08:08 +00:00
framework Add OEM country code to Thread country code sources 2024-01-25 16:08:04 +08:00
scripts [Thread] add a script for make-pretty 2023-11-07 12:41:42 +08:00
service Pass buffer size to NetlinkUtils.netlinkSocketForProto 2024-01-30 21:54:48 +08:00
tests Check whether the WiFi country code is a valid Thread country code 2024-01-26 11:51:44 +08:00
OWNERS [Thread] move Thread into com.android.tethering 2023-08-23 14:28:50 +08:00
README.md [Thread] move Thread into com.android.tethering 2023-08-23 14:28:50 +08:00
TEST_MAPPING Graduate ThreadNetworkIntegrationTests from postsubmit 2024-01-17 09:00:16 +00:00

Thread

Bring the Thread networking protocol to Android.