Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Enumerations | Functions | Variables
hard-interface.h File Reference

Go to the source code of this file.

Enumerations

enum  batadv_hard_if_state {
  BATADV_IF_NOT_IN_USE, BATADV_IF_TO_BE_REMOVED, BATADV_IF_INACTIVE, BATADV_IF_ACTIVE,
  BATADV_IF_TO_BE_ACTIVATED, BATADV_IF_I_WANT_YOU
}
 

Functions

struct batadv_hard_ifacebatadv_hardif_get_by_netdev (const struct net_device *net_dev)
 
int batadv_hardif_enable_interface (struct batadv_hard_iface *hard_iface, const char *iface_name)
 
void batadv_hardif_disable_interface (struct batadv_hard_iface *hard_iface)
 
void batadv_hardif_remove_interfaces (void)
 
int batadv_hardif_min_mtu (struct net_device *soft_iface)
 
void batadv_update_min_mtu (struct net_device *soft_iface)
 
void batadv_hardif_free_rcu (struct rcu_head *rcu)
 
bool batadv_is_wifi_iface (int ifindex)
 

Variables

struct notifier_block batadv_hard_if_notifier
 

Enumeration Type Documentation

Enumerator:
BATADV_IF_NOT_IN_USE 
BATADV_IF_TO_BE_REMOVED 
BATADV_IF_INACTIVE 
BATADV_IF_ACTIVE 
BATADV_IF_TO_BE_ACTIVATED 
BATADV_IF_I_WANT_YOU 

Definition at line 23 of file hard-interface.h.

Function Documentation

void batadv_hardif_disable_interface ( struct batadv_hard_iface hard_iface)

Definition at line 368 of file hard-interface.c.

int batadv_hardif_enable_interface ( struct batadv_hard_iface hard_iface,
const char iface_name 
)

Definition at line 267 of file hard-interface.c.

void batadv_hardif_free_rcu ( struct rcu_head rcu)

Definition at line 33 of file hard-interface.c.

struct batadv_hard_iface* batadv_hardif_get_by_netdev ( const struct net_device net_dev)
read

Definition at line 43 of file hard-interface.c.

int batadv_hardif_min_mtu ( struct net_device soft_iface)

Definition at line 181 of file hard-interface.c.

void batadv_hardif_remove_interfaces ( void  )

Definition at line 482 of file hard-interface.c.

bool batadv_is_wifi_iface ( int  ifindex)

Definition at line 558 of file hard-interface.c.

void batadv_update_min_mtu ( struct net_device soft_iface)

Definition at line 212 of file hard-interface.c.

Variable Documentation

struct notifier_block batadv_hard_if_notifier

Definition at line 587 of file hard-interface.c.