mirror of
https://github.com/fail0verflow/switch-linux.git
synced 2025-05-04 02:34:21 -04:00
macvtap module has code for tap/queue management and link management. This patch splits the code into macvtap_main.c for link management and tap.c for tap/queue management. Functionality in tap.c can be re-used for implementing tap on other virtual interfaces. Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
10 lines
358 B
C
10 lines
358 B
C
#ifndef _LINUX_IF_MACVTAP_H_
|
|
#define _LINUX_IF_MACVTAP_H_
|
|
|
|
rx_handler_result_t macvtap_handle_frame(struct sk_buff **pskb);
|
|
void macvtap_del_queues(struct net_device *dev);
|
|
int macvtap_get_minor(struct macvlan_dev *vlan);
|
|
void macvtap_free_minor(struct macvlan_dev *vlan);
|
|
int macvtap_queue_resize(struct macvlan_dev *vlan);
|
|
|
|
#endif /*_LINUX_IF_MACVTAP_H_*/
|