2007-12-11 20:19:54 +08:00
|
|
|
/*
|
|
|
|
* Packet network namespace
|
|
|
|
*/
|
|
|
|
#ifndef __NETNS_PACKET_H__
|
|
|
|
#define __NETNS_PACKET_H__
|
|
|
|
|
2010-02-22 15:57:18 +08:00
|
|
|
#include <linux/rculist.h>
|
2007-12-11 20:19:54 +08:00
|
|
|
#include <linux/spinlock.h>
|
|
|
|
|
|
|
|
struct netns_packet {
|
2010-02-22 15:57:18 +08:00
|
|
|
spinlock_t sklist_lock;
|
2007-12-11 20:19:54 +08:00
|
|
|
struct hlist_head sklist;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* __NETNS_PACKET_H__ */
|