summaryrefslogtreecommitdiff
path: root/samples/bpf/xdpsock.h
diff options
context:
space:
mode:
Diffstat (limited to 'samples/bpf/xdpsock.h')
-rw-r--r--samples/bpf/xdpsock.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/samples/bpf/xdpsock.h b/samples/bpf/xdpsock.h
index b7eca15c78cc..fd70cce60712 100644
--- a/samples/bpf/xdpsock.h
+++ b/samples/bpf/xdpsock.h
@@ -8,4 +8,12 @@
#define MAX_SOCKS 4
+#define SOCKET_NAME "sock_cal_bpf_fd"
+#define MAX_NUM_OF_CLIENTS 10
+
+#define CLOSE_CONN 1
+
+typedef __u64 u64;
+typedef __u32 u32;
+
#endif /* XDPSOCK_H */