16 lines
		
	
	
		
			252 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			252 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * 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__ */
 |