On 12/10/2016 09:32 PM, David Ahern wrote:
Based on version in kernel repo, samples/bpf/libbpf.h
Signed-off-by: David Ahern <d...@cumulusnetworks.com>
---
include/libbpf.h | 184 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 184 insertions(+)
create mode 100644 include/libbpf.h
diff --git a/include/libbpf.h b/include/libbpf.h
new file mode 100644
index 000000000000..37951f509a10
--- /dev/null
+++ b/include/libbpf.h
@@ -0,0 +1,184 @@
+/* eBPF mini library */
+#ifndef __LIBBPF_H
+#define __LIBBPF_H
Creating include/libbpf.h is a bit confusing, since all the function
declarations of the current bpf lib code are located in include/bpf_util.h.
Please add all this there as well instead of creating a new file.