Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
team.c File Reference
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/rcupdate.h>
#include <linux/errno.h>
#include <linux/ctype.h>
#include <linux/notifier.h>
#include <linux/netdevice.h>
#include <linux/netpoll.h>
#include <linux/if_vlan.h>
#include <linux/if_arp.h>
#include <linux/socket.h>
#include <linux/etherdevice.h>
#include <linux/rtnetlink.h>
#include <net/rtnetlink.h>
#include <net/genetlink.h>
#include <net/netlink.h>
#include <net/sch_generic.h>
#include <linux/if_team.h>

Go to the source code of this file.

Data Structures

struct  team_option_inst
 
struct  team_mode_item
 

Macros

#define DRV_NAME   "team"
 
#define team_port_exists(dev)   (dev->priv_flags & IFF_TEAM_PORT)
 
#define TEAM_VLAN_FEATURES
 

Typedefs

typedef int team_nl_send_func_t (struct sk_buff *skb, struct team *team, u32 portid)
 

Functions

int team_port_set_team_dev_addr (struct team_port *port)
 
 EXPORT_SYMBOL (team_port_set_team_dev_addr)
 
int team_options_register (struct team *team, const struct team_option *option, size_t option_count)
 
 EXPORT_SYMBOL (team_options_register)
 
void team_options_unregister (struct team *team, const struct team_option *option, size_t option_count)
 
 EXPORT_SYMBOL (team_options_unregister)
 
void team_option_inst_set_change (struct team_option_inst_info *opt_inst_info)
 
 EXPORT_SYMBOL (team_option_inst_set_change)
 
void team_options_change_check (struct team *team)
 
 EXPORT_SYMBOL (team_options_change_check)
 
int team_mode_register (const struct team_mode *mode)
 
 EXPORT_SYMBOL (team_mode_register)
 
void team_mode_unregister (const struct team_mode *mode)
 
 EXPORT_SYMBOL (team_mode_unregister)
 
rx_handler_result_t team_dummy_receive (struct team *team, struct team_port *port, struct sk_buff *skb)
 
 module_init (team_module_init)
 
 module_exit (team_module_exit)
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_AUTHOR ("Jiri Pirko <[email protected]>")
 
 MODULE_DESCRIPTION ("Ethernet team device driver")
 
 MODULE_ALIAS_RTNL_LINK (DRV_NAME)
 

Macro Definition Documentation

#define DRV_NAME   "team"

Definition at line 33 of file team.c.

#define team_port_exists (   dev)    (dev->priv_flags & IFF_TEAM_PORT)

Definition at line 40 of file team.c.

#define TEAM_VLAN_FEATURES
Value:
NETIF_F_FRAGLIST | NETIF_F_ALL_TSO | \
NETIF_F_HIGHDMA | NETIF_F_LRO)

Definition at line 846 of file team.c.

Typedef Documentation

typedef int team_nl_send_func_t(struct sk_buff *skb, struct team *team, u32 portid)

Definition at line 1968 of file team.c.

Function Documentation

EXPORT_SYMBOL ( team_port_set_team_dev_addr  )
EXPORT_SYMBOL ( team_options_register  )
EXPORT_SYMBOL ( team_options_unregister  )
EXPORT_SYMBOL ( team_option_inst_set_change  )
EXPORT_SYMBOL ( team_options_change_check  )
EXPORT_SYMBOL ( team_mode_register  )
EXPORT_SYMBOL ( team_mode_unregister  )
MODULE_ALIAS_RTNL_LINK ( DRV_NAME  )
MODULE_AUTHOR ( "Jiri Pirko <[email protected]>"  )
MODULE_DESCRIPTION ( "Ethernet team device driver )
module_exit ( team_module_exit  )
module_init ( team_module_init  )
MODULE_LICENSE ( "GPL v2 )
rx_handler_result_t team_dummy_receive ( struct team team,
struct team_port port,
struct sk_buff skb 
)

Definition at line 492 of file team.c.

int team_mode_register ( const struct team_mode mode)

Definition at line 417 of file team.c.

void team_mode_unregister ( const struct team_mode mode)

Definition at line 444 of file team.c.

void team_option_inst_set_change ( struct team_option_inst_info opt_inst_info)

Definition at line 368 of file team.c.

void team_options_change_check ( struct team team)

Definition at line 377 of file team.c.

int team_options_register ( struct team team,
const struct team_option option,
size_t  option_count 
)

Definition at line 326 of file team.c.

void team_options_unregister ( struct team team,
const struct team_option option,
size_t  option_count 
)

Definition at line 340 of file team.c.

int team_port_set_team_dev_addr ( struct team_port port)

Definition at line 75 of file team.c.