Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
if_macvlan.h File Reference
#include <linux/if_link.h>
#include <linux/list.h>
#include <linux/netdevice.h>
#include <linux/netlink.h>
#include <net/netlink.h>
#include <linux/u64_stats_sync.h>
#include <linux/err.h>
#include <linux/errno.h>

Go to the source code of this file.

Data Structures

struct  macvlan_pcpu_stats
 
struct  macvlan_dev
 

Macros

#define MAX_MACVTAP_QUEUES   (NR_CPUS < 16 ? NR_CPUS : 16)
 

Functions

void macvlan_common_setup (struct net_device *dev)
 
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))
 
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)
 

Macro Definition Documentation

#define MAX_MACVTAP_QUEUES   (NR_CPUS < 16 ? NR_CPUS : 16)

Definition at line 53 of file if_macvlan.h.

Function Documentation

int macvlan_common_newlink ( struct net src_net,
struct net_device dev,
struct nlattr tb[],
struct nlattr data[],
int(*)(struct sk_buff *skb receive,
int(*)(struct net_device *dev, struct sk_buff *skb forward 
)

Definition at line 703 of file macvlan.c.

void macvlan_common_setup ( struct net_device dev)

Definition at line 626 of file macvlan.c.

void macvlan_dellink ( struct net_device dev,
struct list_head head 
)

Definition at line 795 of file macvlan.c.

int macvlan_link_register ( struct rtnl_link_ops ops)

Definition at line 848 of file macvlan.c.

netdev_tx_t macvlan_start_xmit ( struct sk_buff skb,
struct net_device dev 
)

Definition at line 265 of file macvlan.c.