Modify a few data structures into unions.

The new 6.0 kernel headers changed all variable length
structures from [0] to []. This causes a clang warning to
trigger, so silence the warning around those structures.

In addition, create ptrs to two structures used in a lambda
since clang does not allow variable length arrays passed
by reference to a lambda.

Test: Builds.
Test: Ran netd_unit_tests on a device (coral).
Change-Id: Ie47d0811ca9384ca27b620baf2c0f96469e45de5
2 files changed
tree: 8f8e661d8c0741ac368ef78756483f333b8e73b2
  1. client/
  2. include/
  3. netutils_wrappers/
  4. server/
  5. tests/
  6. .editorconfig
  7. Android.bp
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING