1 | #include <linux/bpf.h> |
---|---|
2 | |
3 | #include <bpf/bpf_helpers.h> |
4 | #include <bpf/bpf_endian.h> |
5 | |
6 | SEC("sk_msg1") |
7 | int bpf_prog1(struct sk_msg_md *msg) |
8 | { |
9 | return SK_PASS; |
10 | } |
11 | |
12 | char _license[] SEC("license") = "GPL"; |
13 |
1 | #include <linux/bpf.h> |
---|---|
2 | |
3 | #include <bpf/bpf_helpers.h> |
4 | #include <bpf/bpf_endian.h> |
5 | |
6 | SEC("sk_msg1") |
7 | int bpf_prog1(struct sk_msg_md *msg) |
8 | { |
9 | return SK_PASS; |
10 | } |
11 | |
12 | char _license[] SEC("license") = "GPL"; |
13 |