Denis V. Lunev | 2aaef4e | 2007-12-11 04:19:54 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Packet network namespace |
| 3 | */ |
| 4 | #ifndef __NETNS_PACKET_H__ |
| 5 | #define __NETNS_PACKET_H__ |
| 6 | |
stephen hemminger | 808f511 | 2010-02-22 07:57:18 +0000 | [diff] [blame] | 7 | #include <linux/rculist.h> |
Rami Rosen | f63c45e | 2012-08-23 02:55:41 +0000 | [diff] [blame] | 8 | #include <linux/mutex.h> |
Denis V. Lunev | 2aaef4e | 2007-12-11 04:19:54 -0800 | [diff] [blame] | 9 | |
| 10 | struct netns_packet { |
Pavel Emelyanov | 0fa7fa9 | 2012-08-21 01:06:47 +0000 | [diff] [blame] | 11 | struct mutex sklist_lock; |
Denis V. Lunev | 2aaef4e | 2007-12-11 04:19:54 -0800 | [diff] [blame] | 12 | struct hlist_head sklist; |
| 13 | }; |
| 14 | |
| 15 | #endif /* __NETNS_PACKET_H__ */ |