Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
hard-interface.c File Reference
#include "main.h"
#include "hard-interface.h"
#include "soft-interface.h"
#include "send.h"
#include "translation-table.h"
#include "routing.h"
#include "sysfs.h"
#include "originator.h"
#include "hash.h"
#include "bridge_loop_avoidance.h"
#include <linux/if_arp.h>

Go to the source code of this file.

Functions

void batadv_hardif_free_rcu (struct rcu_head *rcu)
 
struct batadv_hard_ifacebatadv_hardif_get_by_netdev (const struct net_device *net_dev)
 
int batadv_hardif_min_mtu (struct net_device *soft_iface)
 
void batadv_update_min_mtu (struct net_device *soft_iface)
 
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)
 
bool batadv_is_wifi_iface (int ifindex)
 

Variables

struct notifier_block batadv_hard_if_notifier
 

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
Initial value:
= {
.notifier_call = batadv_hard_if_event,
}

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