Commit e971862d authored by Adam Wujek's avatar Adam Wujek 💬 Committed by Alessandro Rubini

userspace/libwr: add rtu_shmem_header

Add rtu_shmem_header to keep track of all rtu's data in shmem
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent e84232f0
......@@ -88,5 +88,11 @@ struct rtu_vlan_table_entry {
int drop; /* 1: drop the packet (VLAN not registered) */
};
/* This is the overall structure stored in shared memory */
#define RTU_SHMEM_VERSION 1 /* Version 1 */
struct rtu_shmem_header {
struct rtu_filtering_entry *filters;
struct rtu_vlan_table_entry *vlans;
};
#endif /* __LIBWR_RTU_SHMEM_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment