Add Bpf Prog Type for CGROUP_SOCK_ADDR am: 25c028576d
am: e8ac9034f9
am: 4d2963a6cc
am: 9bc358c110
Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/1870862 Change-Id: Id465ad32bb063a43a2ec3fa0709d627b61e7acff
This commit is contained in:
commit
06e1d154a8
1 changed files with 3 additions and 2 deletions
|
@ -28,9 +28,9 @@
|
|||
#include <sys/utsname.h>
|
||||
#include <unistd.h>
|
||||
|
||||
// This is BpfLoader v0.4
|
||||
// This is BpfLoader v0.5
|
||||
#define BPFLOADER_VERSION_MAJOR 0u
|
||||
#define BPFLOADER_VERSION_MINOR 4u
|
||||
#define BPFLOADER_VERSION_MINOR 5u
|
||||
#define BPFLOADER_VERSION ((BPFLOADER_VERSION_MAJOR << 16) | BPFLOADER_VERSION_MINOR)
|
||||
|
||||
#include "../progs/include/bpf_map_def.h"
|
||||
|
@ -95,6 +95,7 @@ sectionType sectionNameTypes[] = {
|
|||
{"schedact", BPF_PROG_TYPE_SCHED_ACT},
|
||||
{"cgroupsock", BPF_PROG_TYPE_CGROUP_SOCK},
|
||||
{"xdp", BPF_PROG_TYPE_XDP},
|
||||
{"cgroupsockaddr", BPF_PROG_TYPE_CGROUP_SOCK_ADDR},
|
||||
|
||||
/* End of table */
|
||||
{"END", BPF_PROG_TYPE_UNSPEC},
|
||||
|
|
Loading…
Reference in a new issue