switch netd.o to BpfLoader v0.18 file format

This is a temporary thing for testing with framework/libs/net patch
that adds checks for V18 define.

This is very short term and will be reverted in the next topic,
that will make v0.18 the default.

Bug: 218408035
Test: booted on cuttlefish
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I22c414ebc64201db60eb872e0da0fea6c65eaede
This commit is contained in:
Maciej Żenczykowski 2022-06-16 22:43:13 -07:00
commit 1c52aa12e8

View file

@ -17,6 +17,8 @@
// The resulting .o needs to load on the Android T Beta 3 bpfloader
#define BPFLOADER_MIN_VER BPFLOADER_T_BETA3_VERSION
#define V18
#include <bpf_helpers.h>
#include <linux/bpf.h>
#include <linux/if.h>