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

Go to the source code of this file.

Data Structures

struct  batadv_attribute
 

Macros

#define BATADV_SYSFS_IF_MESH_SUBDIR   "mesh"
 
#define BATADV_SYSFS_IF_BAT_SUBDIR   "batman_adv"
 

Functions

int batadv_sysfs_add_meshif (struct net_device *dev)
 
void batadv_sysfs_del_meshif (struct net_device *dev)
 
int batadv_sysfs_add_hardif (struct kobject **hardif_obj, struct net_device *dev)
 
void batadv_sysfs_del_hardif (struct kobject **hardif_obj)
 
int batadv_throw_uevent (struct batadv_priv *bat_priv, enum batadv_uev_type type, enum batadv_uev_action action, const char *data)
 

Macro Definition Documentation

#define BATADV_SYSFS_IF_BAT_SUBDIR   "batman_adv"

Definition at line 24 of file sysfs.h.

#define BATADV_SYSFS_IF_MESH_SUBDIR   "mesh"

Definition at line 23 of file sysfs.h.

Function Documentation

int batadv_sysfs_add_hardif ( struct kobject **  hardif_obj,
struct net_device dev 
)

Definition at line 689 of file sysfs.c.

int batadv_sysfs_add_meshif ( struct net_device dev)

Definition at line 512 of file sysfs.c.

void batadv_sysfs_del_hardif ( struct kobject **  hardif_obj)

Definition at line 723 of file sysfs.c.

void batadv_sysfs_del_meshif ( struct net_device dev)

Definition at line 550 of file sysfs.c.

int batadv_throw_uevent ( struct batadv_priv bat_priv,
enum batadv_uev_type  type,
enum batadv_uev_action  action,
const char data 
)

Definition at line 729 of file sysfs.c.