summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/progs/sockmap_tcp_msg_prog.c
blob: 80632954c5a166768f233a777cef05d51955298b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#include <linux/bpf.h>

#include <bpf/bpf_helpers.h>
#include <bpf/bpf_endian.h>

SEC("sk_msg1")
int bpf_prog1(struct sk_msg_md *msg)
{
	return SK_PASS;
}

char _license[] SEC("license") = "GPL";