Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Data Fields
batadv_orig_node Struct Reference

#include <types.h>

Public Member Functions

 DECLARE_BITMAP (bcast_bits, BATADV_TQ_LOCAL_WINDOW_SIZE)
 

Data Fields

uint8_t orig [ETH_ALEN]
 
uint8_t primary_addr [ETH_ALEN]
 
struct batadv_neigh_node __rcurouter
 
unsigned longbcast_own
 
uint8_tbcast_own_sum
 
unsigned long last_seen
 
unsigned long bcast_seqno_reset
 
unsigned long batman_seqno_reset
 
uint8_t gw_flags
 
uint8_t flags
 
atomic_t last_ttvn
 
uint16_t tt_crc
 
unsigned chartt_buff
 
int16_t tt_buff_len
 
spinlock_t tt_buff_lock
 
atomic_t tt_size
 
bool tt_initialised
 
bool tt_poss_change
 
uint32_t last_real_seqno
 
uint8_t last_ttl
 
uint32_t last_bcast_seqno
 
struct hlist_head neigh_list
 
struct list_head frag_list
 
spinlock_t neigh_list_lock
 
atomic_t refcount
 
struct rcu_head rcu
 
struct hlist_node hash_entry
 
struct batadv_privbat_priv
 
unsigned long last_frag_packet
 
spinlock_t ogm_cnt_lock
 
spinlock_t bcast_seqno_lock
 
spinlock_t tt_list_lock
 
atomic_t bond_candidates
 
struct list_head bond_list
 

Detailed Description

struct batadv_orig_node - structure for orig_list maintaining nodes of mesh : hosts primary interface address : when last packet from this node was received : time when the broadcast seqno window was reset : time when the batman seqno window was reset : flags related to gateway class : for now only VIS_SERVER flag : last and best known sequence number : ttl of last received packet : last broadcast sequence number received by this host

: how many candidates are available : next bonding candidate

Definition at line 62 of file types.h.

Member Function Documentation

DECLARE_BITMAP ( bcast_bits  ,
BATADV_TQ_LOCAL_WINDOW_SIZE   
)

Field Documentation

struct batadv_priv* bat_priv

Definition at line 97 of file types.h.

unsigned long batman_seqno_reset

Definition at line 70 of file types.h.

unsigned long* bcast_own

Definition at line 66 of file types.h.

uint8_t* bcast_own_sum

Definition at line 67 of file types.h.

spinlock_t bcast_seqno_lock

Definition at line 104 of file types.h.

unsigned long bcast_seqno_reset

Definition at line 69 of file types.h.

atomic_t bond_candidates

Definition at line 106 of file types.h.

struct list_head bond_list

Definition at line 107 of file types.h.

uint8_t flags

Definition at line 72 of file types.h.

struct list_head frag_list

Definition at line 92 of file types.h.

uint8_t gw_flags

Definition at line 71 of file types.h.

struct hlist_node hash_entry

Definition at line 96 of file types.h.

uint32_t last_bcast_seqno

Definition at line 90 of file types.h.

unsigned long last_frag_packet

Definition at line 98 of file types.h.

uint32_t last_real_seqno

Definition at line 87 of file types.h.

unsigned long last_seen

Definition at line 68 of file types.h.

uint8_t last_ttl

Definition at line 88 of file types.h.

atomic_t last_ttvn

Definition at line 73 of file types.h.

struct hlist_head neigh_list

Definition at line 91 of file types.h.

spinlock_t neigh_list_lock

Definition at line 93 of file types.h.

spinlock_t ogm_cnt_lock

Definition at line 102 of file types.h.

Definition at line 63 of file types.h.

uint8_t primary_addr[ETH_ALEN]

Definition at line 64 of file types.h.

Definition at line 95 of file types.h.

atomic_t refcount

Definition at line 94 of file types.h.

Definition at line 65 of file types.h.

unsigned char* tt_buff

Definition at line 75 of file types.h.

int16_t tt_buff_len

Definition at line 76 of file types.h.

spinlock_t tt_buff_lock

Definition at line 77 of file types.h.

uint16_t tt_crc

Definition at line 74 of file types.h.

bool tt_initialised

Definition at line 79 of file types.h.

spinlock_t tt_list_lock

Definition at line 105 of file types.h.

bool tt_poss_change

Definition at line 86 of file types.h.

atomic_t tt_size

Definition at line 78 of file types.h.


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