mirror of https://github.com/aya-rs/aya
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
321 B
C
12 lines
321 B
C
#include <linux/types.h>
|
|
// __wsum is missing from types.h, see
|
|
// https://elixir.bootlin.com/linux/v5.13/source/include/uapi/linux/types.h
|
|
typedef __u32 __bitwise __wsum;
|
|
|
|
#include "bpf_helpers.h"
|
|
#include <linux/bpf.h>
|
|
// needed for TC_ACT_*
|
|
#include <linux/pkt_cls.h>
|
|
#include <linux/ptrace.h>
|
|
#include <sys/socket.h>
|