Linux Audio
Check our new training course
1#include <linux/bpf.h> 2 3#include <bpf/bpf_helpers.h> 4#include <bpf/bpf_endian.h> 5 6SEC("sk_msg1") 7int bpf_prog1(struct sk_msg_md *msg) 8{ 9 return SK_PASS; 10} 11 12char _license[] SEC("license") = "GPL";
1#include <linux/bpf.h> 2 3#include <bpf/bpf_helpers.h> 4#include <bpf/bpf_endian.h> 5 6int _version SEC("version") = 1; 7 8SEC("sk_msg1") 9int bpf_prog1(struct sk_msg_md *msg) 10{ 11 return SK_PASS; 12} 13 14char _license[] SEC("license") = "GPL";