1 parent
5da4e2e498
commit
06864531fd
6 files changed
+630
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#ifndef BRIDGE_XDP_H
|
||||
#define BRIDGE_XDP_H
|
||||
|
||||
#include <linux/bpf.h>
|
||||
#include <linux/if_ether.h>
|
||||
#include <linux/ip.h>
|
||||
#include <linux/tcp.h>
|
||||
|
||||
// Estrutura para estatísticas
|
||||
struct packet_stats {
|
||||
__u64 packets;
|
||||
__u64 bytes;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user