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.
13 lines
399 B
C
13 lines
399 B
C
#include <linux/types.h>
|
|
// __wsum is missing from types.h, compare:
|
|
// https://github.com/torvalds/linux/blob/v5.13/include/uapi/linux/types.h
|
|
// https://github.com/libbpf/libbpf/blob/v1.5.0/include/linux/types.h
|
|
typedef __u32 __bitwise __wsum;
|
|
|
|
#include <bpf/bpf_helpers.h>
|
|
#include <linux/bpf.h>
|
|
// needed for TC_ACT_*
|
|
#include <linux/pkt_cls.h>
|
|
#include <linux/ptrace.h>
|
|
#include <sys/socket.h>
|