|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/types.h>#include <linux/module.h>#include <linux/init.h>#include <linux/errno.h>#include <linux/slab.h>#include <linux/string.h>#include <linux/rculist.h>#include <linux/notifier.h>#include <linux/netdevice.h>#include <linux/etherdevice.h>#include <linux/ethtool.h>#include <linux/if_arp.h>#include <linux/if_vlan.h>#include <linux/if_link.h>#include <linux/if_macvlan.h>#include <net/rtnetlink.h>#include <net/xfrm.h>Go to the source code of this file.
Data Structures | |
| struct | macvlan_port |
Macros | |
| #define | MACVLAN_HASH_SIZE (1 << BITS_PER_BYTE) |
| #define | macvlan_port_get_rcu(dev) ((struct macvlan_port *) rcu_dereference(dev->rx_handler_data)) |
| #define | macvlan_port_get(dev) ((struct macvlan_port *) dev->rx_handler_data) |
| #define | macvlan_port_exists(dev) (dev->priv_flags & IFF_MACVLAN_PORT) |
| #define | MACVLAN_FEATURES |
| #define | MACVLAN_STATE_MASK ((1<<__LINK_STATE_NOCARRIER) | (1<<__LINK_STATE_DORMANT)) |
Functions | |
| netdev_tx_t | macvlan_start_xmit (struct sk_buff *skb, struct net_device *dev) |
| EXPORT_SYMBOL_GPL (macvlan_start_xmit) | |
| void | macvlan_common_setup (struct net_device *dev) |
| EXPORT_SYMBOL_GPL (macvlan_common_setup) | |
| int | macvlan_common_newlink (struct net *src_net, struct net_device *dev, struct nlattr *tb[], struct nlattr *data[], int(*receive)(struct sk_buff *skb), int(*forward)(struct net_device *dev, struct sk_buff *skb)) |
| EXPORT_SYMBOL_GPL (macvlan_common_newlink) | |
| void | macvlan_dellink (struct net_device *dev, struct list_head *head) |
| EXPORT_SYMBOL_GPL (macvlan_dellink) | |
| int | macvlan_link_register (struct rtnl_link_ops *ops) |
| EXPORT_SYMBOL_GPL (macvlan_link_register) | |
| module_init (macvlan_init_module) | |
| module_exit (macvlan_cleanup_module) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Patrick McHardy <[email protected]>") | |
| MODULE_DESCRIPTION ("Driver for MAC address based VLANs") | |
| MODULE_ALIAS_RTNL_LINK ("macvlan") | |
| #define MACVLAN_FEATURES |
| #define MACVLAN_HASH_SIZE (1 << BITS_PER_BYTE) |
| #define macvlan_port_exists | ( | dev | ) | (dev->priv_flags & IFF_MACVLAN_PORT) |
| #define macvlan_port_get | ( | dev | ) | ((struct macvlan_port *) dev->rx_handler_data) |
| #define macvlan_port_get_rcu | ( | dev | ) | ((struct macvlan_port *) rcu_dereference(dev->rx_handler_data)) |
| #define MACVLAN_STATE_MASK ((1<<__LINK_STATE_NOCARRIER) | (1<<__LINK_STATE_DORMANT)) |
| EXPORT_SYMBOL_GPL | ( | macvlan_start_xmit | ) |
| EXPORT_SYMBOL_GPL | ( | macvlan_common_setup | ) |
| EXPORT_SYMBOL_GPL | ( | macvlan_common_newlink | ) |
| EXPORT_SYMBOL_GPL | ( | macvlan_dellink | ) |
| EXPORT_SYMBOL_GPL | ( | macvlan_link_register | ) |
| void macvlan_common_setup | ( | struct net_device * | dev | ) |
| void macvlan_dellink | ( | struct net_device * | dev, |
| struct list_head * | head | ||
| ) |
| int macvlan_link_register | ( | struct rtnl_link_ops * | ops | ) |
| netdev_tx_t macvlan_start_xmit | ( | struct sk_buff * | skb, |
| struct net_device * | dev | ||
| ) |
| MODULE_ALIAS_RTNL_LINK | ( | "macvlan" | ) |
| MODULE_AUTHOR | ( | "Patrick McHardy <[email protected]>" | ) |
| module_exit | ( | macvlan_cleanup_module | ) |
| module_init | ( | macvlan_init_module | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
1.8.2