-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NETNS]: separate af_packet netns data
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
Denis V. Lunev
authored and
David S. Miller
committed
Jan 28, 2008
1 parent
a0a53c8
commit 2aaef4e
Showing
3 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* | ||
* Packet network namespace | ||
*/ | ||
#ifndef __NETNS_PACKET_H__ | ||
#define __NETNS_PACKET_H__ | ||
|
||
#include <linux/list.h> | ||
#include <linux/spinlock.h> | ||
|
||
struct netns_packet { | ||
rwlock_t sklist_lock; | ||
struct hlist_head sklist; | ||
}; | ||
|
||
#endif /* __NETNS_PACKET_H__ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters