mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 00:01:35 +00:00 
			
		
		
		
	 b863ceb7dd
			
		
	
	
		b863ceb7dd
		
	
	
	
	
		
			
			Add macvlan driver, which allows to create virtual ethernet devices based on MAC address. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
		
			
				
	
	
		
			10 lines
		
	
	
		
			205 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			205 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef _LINUX_IF_MACVLAN_H
 | |
| #define _LINUX_IF_MACVLAN_H
 | |
| 
 | |
| #ifdef __KERNEL__
 | |
| 
 | |
| extern struct sk_buff *(*macvlan_handle_frame_hook)(struct sk_buff *);
 | |
| 
 | |
| #endif /* __KERNEL__ */
 | |
| #endif /* _LINUX_IF_MACVLAN_H */
 |