Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
originator.h File Reference
#include "hash.h"

Go to the source code of this file.

Functions

int batadv_originator_init (struct batadv_priv *bat_priv)
 
void batadv_originator_free (struct batadv_priv *bat_priv)
 
void batadv_purge_orig_ref (struct batadv_priv *bat_priv)
 
void batadv_orig_node_free_ref (struct batadv_orig_node *orig_node)
 
struct batadv_orig_nodebatadv_get_orig_node (struct batadv_priv *bat_priv, const uint8_t *addr)
 
struct batadv_neigh_nodebatadv_neigh_node_new (struct batadv_hard_iface *hard_iface, const uint8_t *neigh_addr, uint32_t seqno)
 
void batadv_neigh_node_free_ref (struct batadv_neigh_node *neigh_node)
 
struct batadv_neigh_nodebatadv_orig_node_get_router (struct batadv_orig_node *orig_node)
 
int batadv_orig_seq_print_text (struct seq_file *seq, void *offset)
 
int batadv_orig_hash_add_if (struct batadv_hard_iface *hard_iface, int max_if_num)
 
int batadv_orig_hash_del_if (struct batadv_hard_iface *hard_iface, int max_if_num)
 

Function Documentation

struct batadv_orig_node* batadv_get_orig_node ( struct batadv_priv bat_priv,
const uint8_t addr 
)
read

Definition at line 193 of file originator.c.

void batadv_neigh_node_free_ref ( struct batadv_neigh_node neigh_node)

Definition at line 66 of file originator.c.

struct batadv_neigh_node* batadv_neigh_node_new ( struct batadv_hard_iface hard_iface,
const uint8_t neigh_addr,
uint32_t  seqno 
)
read

Definition at line 89 of file originator.c.

int batadv_orig_hash_add_if ( struct batadv_hard_iface hard_iface,
int  max_if_num 
)

Definition at line 519 of file originator.c.

int batadv_orig_hash_del_if ( struct batadv_hard_iface hard_iface,
int  max_if_num 
)

Definition at line 603 of file originator.c.

void batadv_orig_node_free_ref ( struct batadv_orig_node orig_node)

Definition at line 151 of file originator.c.

struct batadv_neigh_node* batadv_orig_node_get_router ( struct batadv_orig_node orig_node)
read

Definition at line 74 of file originator.c.

int batadv_orig_seq_print_text ( struct seq_file seq,
void offset 
)

Definition at line 403 of file originator.c.

void batadv_originator_free ( struct batadv_priv bat_priv)

Definition at line 157 of file originator.c.

int batadv_originator_init ( struct batadv_priv bat_priv)

Definition at line 49 of file originator.c.

void batadv_purge_orig_ref ( struct batadv_priv bat_priv)

Definition at line 398 of file originator.c.