id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
batadv_tp_sender_shutdown(9) | NAME batadv_tp_sender_shutdown - let sender thread/timer stop gracefully
SYNOPSIS void batadv_tp_sender_shutdown (struct batadv_tp_vars *tp_vars , enum batadv_tp_meter_reason reason );
ARGUMENTS tp_vars the private data of the current TP meter session
reason reason for tp meter session stop
SEE ALSO... |
batadv_tp_sender_timeout(9) | NAME batadv_tp_sender_timeout - timer that fires in case of packet loss
SYNOPSIS void batadv_tp_sender_timeout (struct timer_list *t );
ARGUMENTS t address to timer_list inside tp_vars
DESCRIPTION If fired it means that there was packet loss. Switch to Slow Start, set the ss_threshold to half of the curre... |
batadv_tp_session_cookie(9) | NAME batadv_tp_session_cookie - generate session cookie based on session ids
SYNOPSIS u32 batadv_tp_session_cookie (const u8 session[2] , u8 icmp_uid );
ARGUMENTS session TP session identifier
icmp_uid icmp pseudo uid of the tp session
RETURN 32 bit tp_meter session cookie
SEE ALSO Kernel file ./ne... |
batadv_tp_start(9) | NAME batadv_tp_start - start a new tp meter session
SYNOPSIS void batadv_tp_start (struct batadv_priv *bat_priv , const u8 *dst , u32 test_length , u32 *cookie );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
dst the receiver MAC address
test_length test length in ... |
batadv_tp_start_kthread(9) | NAME batadv_tp_start_kthread - start new thread which manages the tp meter sender
SYNOPSIS void batadv_tp_start_kthread (struct batadv_tp_vars *tp_vars );
ARGUMENTS tp_vars the private data of the current TP meter session
SEE ALSO Kernel file ./net/batman-adv/tp_meter.c BATADV_TP_DEF_TEST_LENGTH(9), BATAD... |
batadv_tp_stop(9) | NAME batadv_tp_stop - stop currently running tp meter session
SYNOPSIS void batadv_tp_stop (struct batadv_priv *bat_priv , const u8 *dst , u8 return_value );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
dst the receiver MAC address
return_value
... |
batadv_tp_update_cwnd(9) | NAME batadv_tp_update_cwnd - update the Congestion Windows
SYNOPSIS void batadv_tp_update_cwnd (struct batadv_tp_vars *tp_vars , u32 mss );
ARGUMENTS tp_vars the private data of the current TP meter session
mss maximum segment size of transmission
DESCRIPTION 1) if the session is in Slow Start, ... |
batadv_tp_update_rto(9) | NAME batadv_tp_update_rto - calculate new retransmission timeout
SYNOPSIS void batadv_tp_update_rto (struct batadv_tp_vars *tp_vars , u32 new_rtt );
ARGUMENTS tp_vars the private data of the current TP meter session
new_rtt new roundtrip time in msec
SEE ALSO Kernel file ./net/batman-adv/tp_meter... |
batadv_tp_vars_put(9) | NAME batadv_tp_vars_put - decrement the batadv_tp_vars refcounter and possibly release it
SYNOPSIS void batadv_tp_vars_put (struct batadv_tp_vars *tp_vars );
ARGUMENTS tp_vars the private data of the current TP meter session to be free'd
SEE ALSO Kernel file ./net/batman-adv/tp_meter.c BATADV_TP_DEF_TEST_LENG... |
batadv_tp_vars_release(9) | NAME batadv_tp_vars_release - release batadv_tp_vars from lists and queue for free after rcu grace period
SYNOPSIS void batadv_tp_vars_release (struct kref *ref );
ARGUMENTS ref kref pointer of the batadv_tp_vars
SEE ALSO Kernel file ./net/batman-adv/tp_meter.c BATADV_TP_DEF_TEST_LENGTH(9), BATADV_TP_... |
batadv_tp_wait_available(9) | NAME batadv_tp_wait_available - wait until congestion window becomes free or timeout is reached
SYNOPSIS int batadv_tp_wait_available (struct batadv_tp_vars *tp_vars , size_t plen );
ARGUMENTS tp_vars the private data of the current TP meter session
plen size of the payload of a single message
RET... |
batadv_transtable_best_orig(9) | NAME batadv_transtable_best_orig - Get best originator list entry from tt entry
SYNOPSIS struct batadv_tt_orig_list_entry * batadv_transtable_best_orig (struct batadv_priv *bat_priv , struct batadv_tt_global_entry *tt_global_entry );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
t... |
batadv_transtable_search(9) | NAME batadv_transtable_search - get the mesh destination for a given client
SYNOPSIS struct batadv_orig_node * batadv_transtable_search (struct batadv_priv *bat_priv , const u8 *src , const u8 *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
src ... |
batadv_tt_add_temporary_global_entry(9) | NAME batadv_tt_add_temporary_global_entry - Add temporary entry to global TT
SYNOPSIS bool batadv_tt_add_temporary_global_entry (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , const unsigned char *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface informat... |
batadv_tt_cache_destroy(9) | NAME batadv_tt_cache_destroy - Destroy tt memory object cache
SYNOPSIS void batadv_tt_cache_destroy (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choose_tt(9), batadv_tt_hash_find(9), batadv_tt_local_hash_find(9), batadv_t... |
batadv_tt_cache_init(9) | NAME batadv_tt_cache_init - Initialize tt memory object cache
SYNOPSIS int batadv_tt_cache_init (void );
ARGUMENTS void no arguments
RETURN 0 on success or negative error number in case of failure.
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choose_tt(9), ba... |
batadv_tt_check_roam_count(9) | NAME batadv_tt_check_roam_count - check if a client has roamed too frequently
SYNOPSIS bool batadv_tt_check_roam_count (struct batadv_priv *bat_priv , u8 *client );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
client mac address of the roaming client
DESCRIPTION This functi... |
batadv_tt_entries(9) | NAME batadv_tt_entries - compute the number of entries fitting in tt_len bytes
SYNOPSIS u16 batadv_tt_entries (u16 tt_len );
ARGUMENTS tt_len available space
RETURN the number of entries.
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choose_tt(9), batadv_tt_hash... |
batadv_tt_free(9) | NAME batadv_tt_free - Free translation table of mesh interface
SYNOPSIS void batadv_tt_free (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choose_tt(9), batadv_t... |
batadv_tt_global_add(9) | NAME batadv_tt_global_add - add a new TT global entry or update an existing one
SYNOPSIS bool batadv_tt_global_add (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , const unsigned char *tt_addr , unsigned short vid , u16 flags , u8 ttvn );
ARGUMENTS bat_priv the bat priv with all the mesh interf... |
batadv_tt_global_check_crc(9) | NAME batadv_tt_global_check_crc - check if all the CRCs are correct
SYNOPSIS bool batadv_tt_global_check_crc (struct batadv_orig_node *orig_node , struct batadv_tvlv_tt_vlan_data *tt_vlan , u16 num_vlan );
ARGUMENTS orig_node originator for which the CRCs have to be checked
tt_vlan pointer to the first ... |
batadv_tt_global_client_is_roaming(9) | NAME batadv_tt_global_client_is_roaming - check if a client is marked as roaming
SYNOPSIS bool batadv_tt_global_client_is_roaming (struct batadv_priv *bat_priv , u8 *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr the mac address of the clien... |
batadv_tt_global_crc(9) | NAME batadv_tt_global_crc - calculates the checksum of the local table belonging to the given orig_node
SYNOPSIS u32 batadv_tt_global_crc (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
orig_n... |
batadv_tt_global_del(9) | NAME batadv_tt_global_del - remove a client from the global table
SYNOPSIS void batadv_tt_global_del (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , const unsigned char *addr , unsigned short vid , const char *message , bool roaming );
ARGUMENTS bat_priv the bat priv with all the mesh interfac... |
batadv_tt_global_del_orig(9) | NAME batadv_tt_global_del_orig - remove all the TT global entries belonging to the given originator matching the provided vid
SYNOPSIS void batadv_tt_global_del_orig (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , s32 match_vid , const char *message );
ARGUMENTS bat_priv the bat priv with all ... |
batadv_tt_global_del_orig_node(9) | NAME batadv_tt_global_del_orig_node - remove orig_node from a global tt entry
SYNOPSIS void batadv_tt_global_del_orig_node (struct batadv_priv *bat_priv , struct batadv_tt_global_entry *tt_global_entry , struct batadv_orig_node *orig_node , const char *message );
ARGUMENTS bat_priv the bat priv with all the mesh i... |
batadv_tt_global_dump(9) | NAME batadv_tt_global_dump - Dump TT global entries into a message
SYNOPSIS int batadv_tt_global_dump (struct sk_buff *msg , struct netlink_callback *cb );
ARGUMENTS msg Netlink message to dump into
cb Parameters from query
RETURN Error code, or length of message on success
SEE ALSO Kernel ... |
batadv_tt_global_dump_bucket(9) | NAME batadv_tt_global_dump_bucket - Dump one TT local bucket into a message
SYNOPSIS int batadv_tt_global_dump_bucket (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct hlist_head *head , int *idx_s , int *sub );
ARGUMENTS msg Netlink message to dump into
portid P... |
batadv_tt_global_dump_entry(9) | NAME batadv_tt_global_dump_entry - Dump one TT global entry into a message
SYNOPSIS int batadv_tt_global_dump_entry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_tt_common_entry *common , int *sub_s );
ARGUMENTS msg Netlink message to dump into
portid ... |
batadv_tt_global_dump_subentry(9) | NAME batadv_tt_global_dump_subentry - Dump all TT local entries into a message
SYNOPSIS int batadv_tt_global_dump_subentry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_tt_common_entry *common , struct batadv_tt_orig_list_entry *orig , bool best );
ARGUMENTS msg Netlink message to dump into
... |
batadv_tt_global_entry_has_orig(9) | NAME batadv_tt_global_entry_has_orig - check if a TT global entry is also handled by a given originator
SYNOPSIS bool batadv_tt_global_entry_has_orig (const struct batadv_tt_global_entry *entry , const struct batadv_orig_node *orig_node , u8 *flags );
ARGUMENTS entry the TT global entry to check
orig_no... |
batadv_tt_global_entry_put(9) | NAME batadv_tt_global_entry_put - decrement the tt_global_entry refcounter and possibly release it
SYNOPSIS void batadv_tt_global_entry_put (struct batadv_tt_global_entry *tt_global_entry );
ARGUMENTS tt_global_entry tt_global_entry to be free'd
SEE ALSO Kernel file ./net/batman-adv/translation-table.h
April 2026 ... |
batadv_tt_global_entry_release(9) | NAME batadv_tt_global_entry_release - release tt_global_entry from lists and queue for free after rcu grace period
SYNOPSIS void batadv_tt_global_entry_release (struct kref *ref );
ARGUMENTS ref kref pointer of the batadv_tt_global_entry
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_... |
batadv_tt_global_hash_count(9) | NAME batadv_tt_global_hash_count - count the number of orig entries
SYNOPSIS int batadv_tt_global_hash_count (struct batadv_priv *bat_priv , const u8 *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr the mac address of the client to count entr... |
batadv_tt_global_hash_find(9) | NAME batadv_tt_global_hash_find - search the global table for a given client
SYNOPSIS struct batadv_tt_global_entry * batadv_tt_global_hash_find (struct batadv_priv *bat_priv , const u8 *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr the mac... |
batadv_tt_global_is_isolated(9) | NAME batadv_tt_global_is_isolated - check if a client is marked as isolated
SYNOPSIS bool batadv_tt_global_is_isolated (struct batadv_priv *bat_priv , const u8 *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr the mac address of the client
... |
batadv_tt_global_orig_entry_add(9) | NAME batadv_tt_global_orig_entry_add - add or update a TT orig entry
SYNOPSIS void batadv_tt_global_orig_entry_add (struct batadv_tt_global_entry *tt_global , struct batadv_orig_node *orig_node , int ttvn , u8 flags );
ARGUMENTS tt_global the TT global entry to add an orig entry in
orig_node the originato... |
batadv_tt_global_orig_entry_find(9) | NAME batadv_tt_global_orig_entry_find - find a TT orig_list_entry
SYNOPSIS struct batadv_tt_orig_list_entry * batadv_tt_global_orig_entry_find (const struct batadv_tt_global_entry *entry , const struct batadv_orig_node *orig_node );
ARGUMENTS entry the TT global entry where the orig_list_entry has to be extract... |
batadv_tt_global_size_dec(9) | NAME batadv_tt_global_size_dec - decrease by one the global table size for the given vid
SYNOPSIS void batadv_tt_global_size_dec (struct batadv_orig_node *orig_node , unsigned short vid );
ARGUMENTS orig_node the originator which global table size has to be decreased
vid the vlan identifier
SEE ALS... |
batadv_tt_global_size_inc(9) | NAME batadv_tt_global_size_inc - increase by one the global table size for the given vid
SYNOPSIS void batadv_tt_global_size_inc (struct batadv_orig_node *orig_node , unsigned short vid );
ARGUMENTS orig_node the originator which global table size has to be decreased
vid the vlan identifier
SEE ALS... |
batadv_tt_global_size_mod(9) | NAME batadv_tt_global_size_mod - change the size by v of the global table for orig_node identified by vid
SYNOPSIS void batadv_tt_global_size_mod (struct batadv_orig_node *orig_node , unsigned short vid , int v );
ARGUMENTS orig_node the originator for which the table has to be modified
vid the VLAN... |
batadv_tt_global_sync_flags(9) | NAME batadv_tt_global_sync_flags - update TT sync flags
SYNOPSIS void batadv_tt_global_sync_flags (struct batadv_tt_global_entry *tt_global );
ARGUMENTS tt_global the TT global entry to update sync flags in
DESCRIPTION Updates the sync flag bits in the tt_global flag attribute with a logical OR of all sync flags f... |
batadv_tt_global_update_crc(9) | NAME batadv_tt_global_update_crc - update all the global CRCs for this orig_node
SYNOPSIS void batadv_tt_global_update_crc (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
orig_node the orig_node for which the CR... |
batadv_tt_global_valid(9) | NAME batadv_tt_global_valid - verify global tt entry and get flags
SYNOPSIS bool batadv_tt_global_valid (const void *entry_ptr , const void *data_ptr , u8 *flags );
ARGUMENTS entry_ptr to be checked global tt entry
data_ptr an orig_node object (may be NULL)
flags a pointer to store TT flags... |
batadv_tt_hash_find(9) | NAME batadv_tt_hash_find - look for a client in the given hash table
SYNOPSIS struct batadv_tt_common_entry * batadv_tt_hash_find (struct batadv_hashtable *hash , const u8 *addr , unsigned short vid );
ARGUMENTS hash the hash table to search
addr the mac address of the client to look for
... |
batadv_tt_init(9) | NAME batadv_tt_init - initialise the translation table internals
SYNOPSIS int batadv_tt_init (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
RETURN 0 on success or negative error number in case of failure.
SEE ALSO Kernel file ./net/batman-adv/translat... |
batadv_tt_len(9) | NAME batadv_tt_len - compute length in bytes of given number of tt changes
SYNOPSIS int batadv_tt_len (int changes_num );
ARGUMENTS changes_num number of tt changes
RETURN computed length in bytes.
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choose_tt(9), batadv_tt... |
batadv_tt_local_add(9) | NAME batadv_tt_local_add - add a new client to the local table or update an existing client
SYNOPSIS bool batadv_tt_local_add (struct net_device *mesh_iface , const u8 *addr , unsigned short vid , int ifindex , u32 mark );
ARGUMENTS mesh_iface netdev struct of the mesh interface
addr the mac address o... |
batadv_tt_local_client_is_roaming(9) | NAME batadv_tt_local_client_is_roaming - tells whether the client is roaming
SYNOPSIS bool batadv_tt_local_client_is_roaming (struct batadv_priv *bat_priv , u8 *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr the mac address of the local clie... |
batadv_tt_local_commit_changes(9) | NAME batadv_tt_local_commit_changes - commit all pending local tt changes which have been queued in the time since the last commit
SYNOPSIS void batadv_tt_local_commit_changes (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
SEE ALSO Kernel file ./net/ba... |
batadv_tt_local_commit_changes_nolock(9) | NAME batadv_tt_local_commit_changes_nolock - commit all pending local tt changes which have been queued in the time since the last commit
SYNOPSIS void batadv_tt_local_commit_changes_nolock (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
DESCRIPTION Caller ... |
batadv_tt_local_crc(9) | NAME batadv_tt_local_crc - calculates the checksum of the local table
SYNOPSIS u32 batadv_tt_local_crc (struct batadv_priv *bat_priv , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
vid VLAN identifier for which the CRC32 has to be computed
DESCRIPTIO... |
batadv_tt_local_dump(9) | NAME batadv_tt_local_dump - Dump TT local entries into a message
SYNOPSIS int batadv_tt_local_dump (struct sk_buff *msg , struct netlink_callback *cb );
ARGUMENTS msg Netlink message to dump into
cb Parameters from query
RETURN Error code, or 0 on success
SEE ALSO Kernel file ./net/batm... |
batadv_tt_local_dump_bucket(9) | NAME batadv_tt_local_dump_bucket - Dump one TT local bucket into a message
SYNOPSIS int batadv_tt_local_dump_bucket (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_hashtable *hash , unsigned int bucket , int *idx_s );
ARGUMENTS msg Netlink message... |
batadv_tt_local_dump_entry(9) | NAME batadv_tt_local_dump_entry - Dump one TT local entry into a message
SYNOPSIS int batadv_tt_local_dump_entry (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_tt_common_entry *common );
ARGUMENTS msg Netlink message to dump into
portid ... |
batadv_tt_local_entry_put(9) | NAME batadv_tt_local_entry_put - decrement the tt_local_entry refcounter and possibly release it
SYNOPSIS void batadv_tt_local_entry_put (struct batadv_tt_local_entry *tt_local_entry );
ARGUMENTS tt_local_entry tt_local_entry to be free'd
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare... |
batadv_tt_local_entry_release(9) | NAME batadv_tt_local_entry_release - release tt_local_entry from lists and queue for free after rcu grace period
SYNOPSIS void batadv_tt_local_entry_release (struct kref *ref );
ARGUMENTS ref kref pointer of the batadv_tt_local_entry
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare... |
batadv_tt_local_event(9) | NAME batadv_tt_local_event - store a local TT event (ADD/DEL)
SYNOPSIS void batadv_tt_local_event (struct batadv_priv *bat_priv , struct batadv_tt_local_entry *tt_local_entry , u8 event_flags );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
tt_local_entry
the TT... |
batadv_tt_local_hash_find(9) | NAME batadv_tt_local_hash_find - search the local table for a given client
SYNOPSIS struct batadv_tt_local_entry * batadv_tt_local_hash_find (struct batadv_priv *bat_priv , const u8 *addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr the mac add... |
batadv_tt_local_purge(9) | NAME batadv_tt_local_purge - purge inactive tt local entries
SYNOPSIS void batadv_tt_local_purge (struct batadv_priv *bat_priv , int timeout );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
timeout parameter deciding whether a given tt local entry is considered inactive or not... |
batadv_tt_local_purge_list(9) | NAME batadv_tt_local_purge_list - purge inactive tt local entries
SYNOPSIS void batadv_tt_local_purge_list (struct batadv_priv *bat_priv , struct hlist_head *head , int timeout );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
head pointer to the list containing the local tt... |
batadv_tt_local_remove(9) | NAME batadv_tt_local_remove - logically remove an entry from the local table
SYNOPSIS u16 batadv_tt_local_remove (struct batadv_priv *bat_priv , const u8 *addr , unsigned short vid , const char *message , bool roaming );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr th... |
batadv_tt_local_resize_to_mtu(9) | NAME batadv_tt_local_resize_to_mtu - resize the local translation table fit the maximum packet size that can be transported through the mesh
SYNOPSIS void batadv_tt_local_resize_to_mtu (struct net_device *mesh_iface );
ARGUMENTS mesh_iface netdev struct of the mesh interface
DESCRIPTION Remove entries older than 't... |
batadv_tt_local_set_flags(9) | NAME batadv_tt_local_set_flags - set or unset the specified flags on the local table and possibly count them in the TT size
SYNOPSIS void batadv_tt_local_set_flags (struct batadv_priv *bat_priv , u16 flags , bool enable , bool count );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
... |
batadv_tt_local_size_dec(9) | NAME batadv_tt_local_size_dec - decrease by one the local table size for the given vid
SYNOPSIS void batadv_tt_local_size_dec (struct batadv_priv *bat_priv , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
vid the VLAN identifier
SEE ALSO Kernel file... |
batadv_tt_local_size_inc(9) | NAME batadv_tt_local_size_inc - increase by one the local table size for the given vid
SYNOPSIS void batadv_tt_local_size_inc (struct batadv_priv *bat_priv , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
vid the VLAN identifier
SEE ALSO Kernel file... |
batadv_tt_local_size_mod(9) | NAME batadv_tt_local_size_mod - change the size by v of the local table identified by vid
SYNOPSIS void batadv_tt_local_size_mod (struct batadv_priv *bat_priv , unsigned short vid , int v );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
vid the VLAN identifier of the sub-t... |
batadv_tt_local_table_transmit_size(9) | NAME batadv_tt_local_table_transmit_size - calculates the local translation table size when transmitted over the air
SYNOPSIS int batadv_tt_local_table_transmit_size (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
RETURN local translation table size in byte... |
batadv_tt_local_update_crc(9) | NAME batadv_tt_local_update_crc - update all the local CRCs
SYNOPSIS void batadv_tt_local_update_crc (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choose_tt(9), ... |
batadv_tt_local_valid(9) | NAME batadv_tt_local_valid - verify local tt entry and get flags
SYNOPSIS bool batadv_tt_local_valid (const void *entry_ptr , const void *data_ptr , u8 *flags );
ARGUMENTS entry_ptr to be checked local tt entry
data_ptr not used but definition required to satisfy the callback prototype
flags ... |
batadv_tt_orig_list_entry_put(9) | NAME batadv_tt_orig_list_entry_put - decrement the tt orig entry refcounter and possibly release it
SYNOPSIS void batadv_tt_orig_list_entry_put (struct batadv_tt_orig_list_entry *orig_entry );
ARGUMENTS orig_entry tt orig entry to be free'd
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_comp... |
batadv_tt_orig_list_entry_release(9) | NAME batadv_tt_orig_list_entry_release - release tt orig entry from lists and queue for free after rcu grace period
SYNOPSIS void batadv_tt_orig_list_entry_release (struct kref *ref );
ARGUMENTS ref kref pointer of the tt orig entry
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compa... |
batadv_tt_prepare_tvlv_global_data(9) | NAME batadv_tt_prepare_tvlv_global_data - prepare the TVLV TT header to send within a TT Response directed to another node
SYNOPSIS u16 batadv_tt_prepare_tvlv_global_data (struct batadv_orig_node *orig_node , struct batadv_tvlv_tt_data **tt_data , struct batadv_tvlv_tt_change **tt_change , s32 *tt_len );
ARGUMENTS or... |
batadv_tt_prepare_tvlv_local_data(9) | NAME batadv_tt_prepare_tvlv_local_data - allocate and prepare the TT TVLV for this node
SYNOPSIS u16 batadv_tt_prepare_tvlv_local_data (struct batadv_priv *bat_priv , struct batadv_tvlv_tt_data **tt_data , struct batadv_tvlv_tt_change **tt_change , s32 *tt_len );
ARGUMENTS bat_priv the bat priv with all the mesh i... |
batadv_tt_req_node_new(9) | NAME batadv_tt_req_node_new - search and possibly create a tt_req_node object
SYNOPSIS struct batadv_tt_req_node * batadv_tt_req_node_new (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
orig_node orig node this ... |
batadv_tt_req_node_put(9) | NAME batadv_tt_req_node_put - decrement the tt_req_node refcounter and possibly release it
SYNOPSIS void batadv_tt_req_node_put (struct batadv_tt_req_node *tt_req_node );
ARGUMENTS tt_req_node tt_req_node to be free'd
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choos... |
batadv_tt_req_node_release(9) | NAME batadv_tt_req_node_release - free tt_req node entry
SYNOPSIS void batadv_tt_req_node_release (struct kref *ref );
ARGUMENTS ref kref pointer of the tt req_node entry
SEE ALSO Kernel file ./net/batman-adv/translation-table.c batadv_compare_tt(9), batadv_choose_tt(9), batadv_tt_hash_find(9), bata... |
batadv_tt_tvlv_container_update(9) | NAME batadv_tt_tvlv_container_update - update the translation table tvlv container after local tt changes have been committed
SYNOPSIS void batadv_tt_tvlv_container_update (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
SEE ALSO Kernel file ./net/batman... |
batadv_tt_tvlv_generate(9) | NAME batadv_tt_tvlv_generate - fill the tvlv buff with the tt entries from the specified tt hash
SYNOPSIS u16 batadv_tt_tvlv_generate (struct batadv_priv *bat_priv , struct batadv_hashtable *hash , void *tvlv_buff , u16 tt_len , bool (*valid_cb)(const void *, const void *, u8 *flags) , void *cb_data );
ARGUMENTS bat_... |
batadv_tt_tvlv_ogm_handler_v1(9) | NAME batadv_tt_tvlv_ogm_handler_v1 - process incoming tt tvlv container
SYNOPSIS void batadv_tt_tvlv_ogm_handler_v1 (struct batadv_priv *bat_priv , struct batadv_orig_node *orig , u8 flags , void *tvlv_value , u16 tvlv_value_len );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
ori... |
batadv_tt_tvlv_unicast_handler_v1(9) | NAME batadv_tt_tvlv_unicast_handler_v1 - process incoming (unicast) tt tvlv container
SYNOPSIS int batadv_tt_tvlv_unicast_handler_v1 (struct batadv_priv *bat_priv , u8 *src , u8 *dst , void *tvlv_value , u16 tvlv_value_len );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
src ... |
batadv_tt_update_orig(9) | NAME batadv_tt_update_orig - update global translation table with new tt information received via ogms
SYNOPSIS void batadv_tt_update_orig (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , const void *tt_buff , u16 tt_num_vlan , struct batadv_tvlv_tt_change *tt_change , u16 tt_num_changes , u8 ttvn ... |
batadv_tvlv_call_handler(9) | NAME batadv_tvlv_call_handler - parse the given tvlv buffer to call the appropriate handlers
SYNOPSIS int batadv_tvlv_call_handler (struct batadv_priv *bat_priv , struct batadv_tvlv_handler *tvlv_handler , u8 packet_type , struct batadv_orig_node *orig_node , struct sk_buff *skb , void *tvlv_value , u16 tvlv_value_len... |
batadv_tvlv_container_get(9) | NAME batadv_tvlv_container_get - retrieve tvlv container from the tvlv container list based on the provided type and version (both need to match)
SYNOPSIS struct batadv_tvlv_container * batadv_tvlv_container_get (struct batadv_priv *bat_priv , u8 type , u8 version );
ARGUMENTS bat_priv the bat priv with all the me... |
batadv_tvlv_container_list_size(9) | NAME batadv_tvlv_container_list_size - calculate the size of the tvlv container list entries
SYNOPSIS u16 batadv_tvlv_container_list_size (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
DESCRIPTION Has to be called with the appropriate locks being acquired ... |
batadv_tvlv_container_ogm_append(9) | NAME batadv_tvlv_container_ogm_append - append tvlv container content to given OGM packet buffer
SYNOPSIS u16 batadv_tvlv_container_ogm_append (struct batadv_priv *bat_priv , unsigned char **packet_buff , int *packet_buff_len , int packet_min_len );
ARGUMENTS bat_priv the bat priv with all the mesh interface infor... |
batadv_tvlv_container_put(9) | NAME batadv_tvlv_container_put - decrement the tvlv container refcounter and possibly release it
SYNOPSIS void batadv_tvlv_container_put (struct batadv_tvlv_container *tvlv );
ARGUMENTS tvlv the tvlv container to free
SEE ALSO Kernel file ./net/batman-adv/tvlv.c batadv_tvlv_handler_release(9), batadv... |
batadv_tvlv_container_register(9) | NAME batadv_tvlv_container_register - register tvlv type, version and content to be propagated with each (primary interface) OGM
SYNOPSIS void batadv_tvlv_container_register (struct batadv_priv *bat_priv , u8 type , u8 version , void *tvlv_value , u16 tvlv_value_len );
ARGUMENTS bat_priv the bat priv with all the ... |
batadv_tvlv_container_release(9) | NAME batadv_tvlv_container_release - release tvlv from lists and free
SYNOPSIS void batadv_tvlv_container_release (struct kref *ref );
ARGUMENTS ref kref pointer of the tvlv
SEE ALSO Kernel file ./net/batman-adv/tvlv.c batadv_tvlv_handler_release(9), batadv_tvlv_handler_put(9), batadv_tvlv_handler_get(9), ... |
batadv_tvlv_container_remove(9) | NAME batadv_tvlv_container_remove - remove tvlv container from the tvlv container list
SYNOPSIS void batadv_tvlv_container_remove (struct batadv_priv *bat_priv , struct batadv_tvlv_container *tvlv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
tvlv the to be removed tvlv ... |
batadv_tvlv_container_unregister(9) | NAME batadv_tvlv_container_unregister - unregister tvlv container based on the provided type and version (both need to match)
SYNOPSIS void batadv_tvlv_container_unregister (struct batadv_priv *bat_priv , u8 type , u8 version );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
type ... |
batadv_tvlv_containers_process(9) | NAME batadv_tvlv_containers_process - parse the given tvlv buffer to call the appropriate handlers
SYNOPSIS int batadv_tvlv_containers_process (struct batadv_priv *bat_priv , u8 packet_type , struct batadv_orig_node *orig_node , struct sk_buff *skb , void *tvlv_value , u16 tvlv_value_len );
ARGUMENTS bat_priv the ... |
batadv_tvlv_handler_get(9) | NAME batadv_tvlv_handler_get - retrieve tvlv handler from the tvlv handler list based on the provided type and version (both need to match)
SYNOPSIS struct batadv_tvlv_handler * batadv_tvlv_handler_get (struct batadv_priv *bat_priv , u8 type , u8 version );
ARGUMENTS bat_priv the bat priv with all the mesh interfa... |
batadv_tvlv_handler_put(9) | NAME batadv_tvlv_handler_put - decrement the tvlv container refcounter and possibly release it
SYNOPSIS void batadv_tvlv_handler_put (struct batadv_tvlv_handler *tvlv_handler );
ARGUMENTS tvlv_handler the tvlv handler to free
SEE ALSO Kernel file ./net/batman-adv/tvlv.c batadv_tvlv_handler_release(9), batadv... |
batadv_tvlv_handler_register(9) | NAME batadv_tvlv_handler_register - register tvlv handler based on the provided type and version (both need to match) for ogm tvlv payload and/or unicast payload
SYNOPSIS void batadv_tvlv_handler_register (struct batadv_priv *bat_priv , void (*optr)(struct batadv_priv *bat_priv, struct batadv_orig_node *orig, u8 flag... |
batadv_tvlv_handler_release(9) | NAME batadv_tvlv_handler_release - release tvlv handler from lists and queue for free after rcu grace period
SYNOPSIS void batadv_tvlv_handler_release (struct kref *ref );
ARGUMENTS ref kref pointer of the tvlv
SEE ALSO Kernel file ./net/batman-adv/tvlv.c batadv_tvlv_handler_put(9), batadv_tvlv_handler_get(9... |
batadv_tvlv_handler_unregister(9) | NAME batadv_tvlv_handler_unregister - unregister tvlv handler based on the provided type and version (both need to match)
SYNOPSIS void batadv_tvlv_handler_unregister (struct batadv_priv *bat_priv , u8 type , u8 version );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
type ... |
batadv_tvlv_ogm_receive(9) | NAME batadv_tvlv_ogm_receive - process an incoming ogm and call the appropriate handlers
SYNOPSIS void batadv_tvlv_ogm_receive (struct batadv_priv *bat_priv , struct batadv_ogm_packet *batadv_ogm_packet , struct batadv_orig_node *orig_node );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
... |
batadv_tvlv_realloc_packet_buff(9) | NAME batadv_tvlv_realloc_packet_buff - reallocate packet buffer to accommodate requested packet size
SYNOPSIS bool batadv_tvlv_realloc_packet_buff (unsigned char **packet_buff , int *packet_buff_len , int min_packet_len , int additional_packet_len );
ARGUMENTS packet_buff packet buffer
packet_buff_len
... |
batadv_tvlv_unicast_send(9) | NAME batadv_tvlv_unicast_send - send a unicast packet with tvlv payload to the specified host
SYNOPSIS void batadv_tvlv_unicast_send (struct batadv_priv *bat_priv , const u8 *src , const u8 *dst , u8 type , u8 version , void *tvlv_value , u16 tvlv_value_len );
ARGUMENTS bat_priv the bat priv with all the mesh inte... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.