explicitly specify that offload.o & test.o bpf programs are S+ am: a457bf7ea8 am: 961b290878
Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1895606 Change-Id: I4f7d7d9b376df392ce64aebe752cb8196269af1a
This commit is contained in:
committed by
Automerger Merge Worker
commit
a93046a9d9
@@ -24,6 +24,9 @@
|
|||||||
#define __kernel_udphdr udphdr
|
#define __kernel_udphdr udphdr
|
||||||
#include <linux/udp.h>
|
#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_helpers.h"
|
||||||
#include "bpf_net_helpers.h"
|
#include "bpf_net_helpers.h"
|
||||||
#include "bpf_tethering.h"
|
#include "bpf_tethering.h"
|
||||||
|
|||||||
@@ -18,6 +18,9 @@
|
|||||||
#include <linux/in.h>
|
#include <linux/in.h>
|
||||||
#include <linux/ip.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_helpers.h"
|
||||||
#include "bpf_net_helpers.h"
|
#include "bpf_net_helpers.h"
|
||||||
#include "bpf_tethering.h"
|
#include "bpf_tethering.h"
|
||||||
|
|||||||
Reference in New Issue
Block a user