Home
last modified time | relevance | path

Searched refs:interceptedSocket (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/wifi/netlinkinterceptor/vts/functional/
Dinterceptor_aidl_test.cpp70 AidlInterceptedSocket interceptedSocket; in TEST_P() local
73 &interceptedSocket); in TEST_P()
75 ASSERT_NE(interceptedSocket.portId, 0); in TEST_P()
76 uint32_t interceptorPid = interceptedSocket.portId; in TEST_P()
102 aidlStatus = mNlInterceptorService->closeSocket(interceptedSocket); in TEST_P()
141 AidlInterceptedSocket interceptedSocket; in TEST_P() local
144 &interceptedSocket); in TEST_P()
146 ASSERT_TRUE(interceptedSocket.portId != 0); in TEST_P()
150 mNlInterceptorService->subscribeGroup(interceptedSocket, RTNLGRP_LINK); in TEST_P()
170 aidlStatus = mNlInterceptorService->unsubscribeGroup(interceptedSocket, in TEST_P()
[all …]
/hardware/interfaces/wifi/netlinkinterceptor/aidl/default/
DNetlinkInterceptor.cpp26 const std::string& clientName, AidlInterceptedSocket* interceptedSocket) { in createSocket() argument
63 interceptedSocket->nlFamily = nlFamily; in createSocket()
64 interceptedSocket->portId = interceptorNlPid; in createSocket()
70 const AidlInterceptedSocket& interceptedSocket) { in closeSocket() argument
71 InterceptedSocket sock(interceptedSocket); in closeSocket()
84 const AidlInterceptedSocket& interceptedSocket, int32_t nlGroupAidl) { in subscribeGroup() argument
85 InterceptedSocket sock(interceptedSocket); in subscribeGroup()
104 const AidlInterceptedSocket& interceptedSocket, int32_t nlGroupAidl) { in unsubscribeGroup() argument
105 InterceptedSocket sock(interceptedSocket); in unsubscribeGroup()
DNetlinkInterceptor.h40 AidlInterceptedSocket* interceptedSocket) override;
43 const AidlInterceptedSocket& interceptedSocket) override;
46 const AidlInterceptedSocket& interceptedSocket,
50 const AidlInterceptedSocket& interceptedSocket,
/hardware/interfaces/wifi/netlinkinterceptor/libnlinterceptor/
Dlibnlinterceptor.cpp111 interceptedSocket; in createSocket()
113 nladdr.nl_family, nladdr.nl_pid, clientName, &interceptedSocket); in createSocket()
119 uint32_t(interceptedSocket.portId)}; in createSocket()
143 android_nlinterceptor_InterceptedSocket* interceptedSocket) { in android_nlinterceptor_createSocket() argument
148 *interceptedSocket = {.nlFamily = maybeSocket->nlFamily, in android_nlinterceptor_createSocket()
/hardware/interfaces/wifi/netlinkinterceptor/libnlinterceptor/include/libnlinterceptor/
Dlibnlinterceptor.h118 struct android_nlinterceptor_InterceptedSocket* interceptedSocket);