2024-09-09 08:52:07 +00:00
|
|
|
/*
|
|
|
|
* Packet network namespace
|
|
|
|
*/
|
|
|
|
#ifndef __NETNS_PACKET_H__
|
|
|
|
#define __NETNS_PACKET_H__
|
|
|
|
|
|
|
|
#include <linux/rculist.h>
|
2024-09-09 08:57:42 +00:00
|
|
|
#include <linux/mutex.h>
|
2024-09-09 08:52:07 +00:00
|
|
|
|
|
|
|
struct netns_packet {
|
2024-09-09 08:57:42 +00:00
|
|
|
struct mutex sklist_lock;
|
2024-09-09 08:52:07 +00:00
|
|
|
struct hlist_head sklist;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __NETNS_PACKET_H__ */
|