| commit | 84221d9985288b451f73bbd83281bd4b3d4829c9 | [log] [tgz] |
|---|---|---|
| author | Bram Bonné <brambonne@google.com> | Wed Jun 30 12:09:04 2021 +0200 |
| committer | Bram Bonné <brambonne@google.com> | Fri Jul 02 14:45:10 2021 +0200 |
| tree | a0a77166ae0ebe3f07e44bff607604da00b6e5aa | |
| parent | f3ca3c54f78e910bc69a2a5a649258e0a3fcb521 [diff] |
Update NetlinkSocketTest to handle RTM_GETNEIGH{TBL} restrictions
Modify testBasicWorkingGetNeighborsQuery to handle the case where
sending RTM_GETNEIGH{TBL} messages is not allowed.
Add test BasicWorkingGetAddrQuery, which performs a simple RTM_GETADDR
request, as a smoke test for when sending RTM_GETNEIGH{TBL} is not
allowed.
Test: atest NetlinkSocketTest
Bug: 171572148
Change-Id: I09628cf7830c7f348eaf27a33cca0903ba84722c