explicitly specify that offload.o & test.o bpf programs are S+ am: a457bf7ea8 am: 961b290878 am: a93046a9d9

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1895606

Change-Id: I91436e8303e672455c11160390bda6597167717e
This commit is contained in:
Maciej Żenczykowski
2021-11-18 05:51:39 +00:00
committed by Automerger Merge Worker
2 changed files with 6 additions and 0 deletions

View File

@@ -24,6 +24,9 @@
#define __kernel_udphdr udphdr
#include <linux/udp.h>
// The resulting .o needs to load on the Android S bpfloader v0.2
#define BPFLOADER_MIN_VER 2u
#include "bpf_helpers.h"
#include "bpf_net_helpers.h"
#include "bpf_tethering.h"

View File

@@ -18,6 +18,9 @@
#include <linux/in.h>
#include <linux/ip.h>
// The resulting .o needs to load on the Android S bpfloader v0.2
#define BPFLOADER_MIN_VER 2u
#include "bpf_helpers.h"
#include "bpf_net_helpers.h"
#include "bpf_tethering.h"