mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[NET]: Add macvlan driver
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>
This commit is contained in:
parent
56addd6eee
commit
b863ceb7dd
7 changed files with 550 additions and 0 deletions
9
include/linux/if_macvlan.h
Normal file
9
include/linux/if_macvlan.h
Normal file
|
@ -0,0 +1,9 @@
|
|||
#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 */
|
Loading…
Add table
Add a link
Reference in a new issue