Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
batadv_priv_tt Struct Reference

#include <types.h>

Data Fields

atomic_t vn
 
atomic_t ogm_append_cnt
 
atomic_t local_changes
 
bool poss_change
 
struct list_head changes_list
 
struct batadv_hashtablelocal_hash
 
struct batadv_hashtableglobal_hash
 
struct list_head req_list
 
struct list_head roam_list
 
spinlock_t changes_list_lock
 
spinlock_t req_list_lock
 
spinlock_t roam_list_lock
 
atomic_t local_entry_num
 
uint16_t local_crc
 
unsigned charlast_changeset
 
int16_t last_changeset_len
 
spinlock_t last_changeset_lock
 
struct delayed_work work
 

Detailed Description

struct batadv_priv_tt - per mesh interface translation table data : translation table version number : changes registered in an originator interval : Detect an ongoing roaming phase. If true, then this node received a roaming_adv and has to inspect every packet directed to it to check whether it still is the true destination or not. This flag will be reset to false as soon as the this node's ttvn is increased : tracks tt local changes within an originator interval : list of pending tt_requests : Checksum of the local table, recomputed before sending a new OGM

Definition at line 180 of file types.h.

Field Documentation

struct list_head changes_list

Definition at line 185 of file types.h.

spinlock_t changes_list_lock

Definition at line 190 of file types.h.

struct batadv_hashtable* global_hash

Definition at line 187 of file types.h.

unsigned char* last_changeset

Definition at line 195 of file types.h.

int16_t last_changeset_len

Definition at line 196 of file types.h.

spinlock_t last_changeset_lock

Definition at line 197 of file types.h.

atomic_t local_changes

Definition at line 183 of file types.h.

uint16_t local_crc

Definition at line 194 of file types.h.

atomic_t local_entry_num

Definition at line 193 of file types.h.

struct batadv_hashtable* local_hash

Definition at line 186 of file types.h.

atomic_t ogm_append_cnt

Definition at line 182 of file types.h.

bool poss_change

Definition at line 184 of file types.h.

struct list_head req_list

Definition at line 188 of file types.h.

spinlock_t req_list_lock

Definition at line 191 of file types.h.

struct list_head roam_list

Definition at line 189 of file types.h.

spinlock_t roam_list_lock

Definition at line 192 of file types.h.

Definition at line 181 of file types.h.

Definition at line 198 of file types.h.


The documentation for this struct was generated from the following file: