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
1 file changed