kernel/tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c

15 lines
230 B
C
Raw Normal View History

2024-07-22 17:22:30 +08:00
#include <linux/bpf.h>
#include <bpf/bpf_helpers.h>
#include <bpf/bpf_endian.h>
int _version SEC("version") = 1;
SEC("sk_msg1")
int bpf_prog1(struct sk_msg_md *msg)
{
return SK_PASS;
}
char _license[] SEC("license") = "GPL";