Add IPv6 tests to XfrmControllerTest.

Use the gTest library to create parameterized tests that run on both
IPv4 and IPv6. Since UDP encap is not supported for IPv6, encap is not
tested currently. We can add an IPv4-only test for encap.

Bug: 65495297
Test: runtest -x system/netd/server/netd_unit_test.cpp
Change-Id: Iabfcd0eadb94b8c57fb26112b39e0a896d90fb3d
1 file changed