xref: /openbmc/linux/include/net/netns/packet.h (revision 0fa7fa98)
12aaef4e4SDenis V. Lunev /*
22aaef4e4SDenis V. Lunev  * Packet network namespace
32aaef4e4SDenis V. Lunev  */
42aaef4e4SDenis V. Lunev #ifndef __NETNS_PACKET_H__
52aaef4e4SDenis V. Lunev #define __NETNS_PACKET_H__
62aaef4e4SDenis V. Lunev 
7808f5114Sstephen hemminger #include <linux/rculist.h>
82aaef4e4SDenis V. Lunev #include <linux/spinlock.h>
92aaef4e4SDenis V. Lunev 
102aaef4e4SDenis V. Lunev struct netns_packet {
110fa7fa98SPavel Emelyanov 	struct mutex		sklist_lock;
122aaef4e4SDenis V. Lunev 	struct hlist_head	sklist;
132aaef4e4SDenis V. Lunev };
142aaef4e4SDenis V. Lunev 
152aaef4e4SDenis V. Lunev #endif /* __NETNS_PACKET_H__ */
16