id
stringlengths
4
63
text
stringlengths
153
8.81M
batadv_hardif_neigh_get(9)
NAME batadv_hardif_neigh_get - retrieve a hardif neighbour from the list SYNOPSIS struct batadv_hardif_neigh_node * batadv_hardif_neigh_get (const struct batadv_hard_iface *hard_iface , const u8 *neigh_addr ); ARGUMENTS hard_iface the interface where this neighbour is connected to neigh_addr the address of ...
batadv_hardif_neigh_get_or_create(9)
NAME batadv_hardif_neigh_get_or_create - retrieve or create a hardif neighbour node SYNOPSIS struct batadv_hardif_neigh_node * batadv_hardif_neigh_get_or_create (struct batadv_hard_iface *hard_iface , const u8 *neigh_addr , struct batadv_orig_node *orig_node ); ARGUMENTS hard_iface the interface this neighbour is co...
batadv_hardif_neigh_put(9)
NAME batadv_hardif_neigh_put - decrement the hardif neighbors refcounter and possibly release it SYNOPSIS void batadv_hardif_neigh_put (struct batadv_hardif_neigh_node *hardif_neigh ); ARGUMENTS hardif_neigh hardif neigh neighbor to free SEE ALSO Kernel file ./net/batman-adv/originator.h batadv_choose_orig(9), batad...
batadv_hardif_neigh_release(9)
NAME batadv_hardif_neigh_release - release hardif neigh node from lists and queue for free after rcu grace period SYNOPSIS void batadv_hardif_neigh_release (struct kref *ref ); ARGUMENTS ref kref pointer of the neigh_node SEE ALSO Kernel file ./net/batman-adv/originator.c batadv_orig_hash_find(9), bat...
batadv_hardif_no_broadcast(9)
NAME batadv_hardif_no_broadcast - check whether (re)broadcast is necessary SYNOPSIS int batadv_hardif_no_broadcast (struct batadv_hard_iface *if_outgoing , u8 *orig_addr , u8 *orig_neigh ); ARGUMENTS if_outgoing the outgoing interface checked and considered for (re)broadcast orig_addr the originator of this...
batadv_hardif_put(9)
NAME batadv_hardif_put - decrement the hard interface refcounter and possibly release it SYNOPSIS void batadv_hardif_put (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the hard interface to free SEE ALSO Kernel file ./net/batman-adv/hard-interface.h enum batadv_hard_if_state(9), enum batadv_hard_if_b...
batadv_hardif_recalc_extra_skbroom(9)
NAME batadv_hardif_recalc_extra_skbroom - Recalculate skbuff extra head/tailroom SYNOPSIS void batadv_hardif_recalc_extra_skbroom (struct net_device *mesh_iface ); ARGUMENTS mesh_iface netdev struct of the mesh interface SEE ALSO Kernel file ./net/batman-adv/hard-interface.c batadv_hardif_release(9), batadv_h...
batadv_hardif_release(9)
NAME batadv_hardif_release - release hard interface from lists and queue for free after rcu grace period SYNOPSIS void batadv_hardif_release (struct kref *ref ); ARGUMENTS ref kref pointer of the hard interface SEE ALSO Kernel file ./net/batman-adv/hard-interface.c batadv_hardif_get_by_netdev(9), batadv...
batadv_has_timed_out(9)
NAME batadv_has_timed_out - compares current time (jiffies) and timestamp + timeout SYNOPSIS bool batadv_has_timed_out (unsigned long timestamp , unsigned int timeout ); ARGUMENTS timestamp base value to compare with (in jiffies) timeout added to base value before comparing (in milliseconds) RETURN tru...
batadv_hash_add(9)
NAME batadv_hash_add - adds data to the hashtable SYNOPSIS int batadv_hash_add (struct batadv_hashtable *hash , batadv_hashdata_compare_cb compare , batadv_hashdata_choose_cb choose , const void *data , struct hlist_node *data_node ); ARGUMENTS hash storage hash table compare callback to determine ...
batadv_hash_dat(9)
NAME batadv_hash_dat - compute the hash value for an IP address SYNOPSIS u32 batadv_hash_dat (const void *data , u32 size ); ARGUMENTS data data to hash size size of the hash table RETURN the selected index in the hash table for the given data. SEE ALSO Kernel file ./net/batman-adv/distribut...
batadv_hash_destroy(9)
NAME batadv_hash_destroy - Free only the hashtable and the hash itself SYNOPSIS void batadv_hash_destroy (struct batadv_hashtable *hash ); ARGUMENTS hash hash object to destroy SEE ALSO Kernel file ./net/batman-adv/hash.c batadv_hash_new(9), batadv_hash_set_lock_class(9) April 2026 ...
batadv_hash_new(9)
NAME batadv_hash_new - Allocates and clears the hashtable SYNOPSIS struct batadv_hashtable * batadv_hash_new (u32 size ); ARGUMENTS size number of hash buckets to allocate RETURN newly allocated hashtable, NULL on errors SEE ALSO Kernel file ./net/batman-adv/hash.c batadv_hash_destroy(9), batadv_hash_set_loc...
batadv_hash_remove(9)
NAME batadv_hash_remove - Removes data from hash, if found SYNOPSIS void * batadv_hash_remove (struct batadv_hashtable *hash , batadv_hashdata_compare_cb compare , batadv_hashdata_choose_cb choose , void *data ); ARGUMENTS hash hash table compare callback to determine if 2 hash elements are identic...
batadv_hash_set_lock_class(9)
NAME batadv_hash_set_lock_class - Set specific lockdep class for hash spinlocks SYNOPSIS void batadv_hash_set_lock_class (struct batadv_hashtable *hash , struct lock_class_key *key ); ARGUMENTS hash hash object to modify key lockdep class key address SEE ALSO Kernel file ./net/batman-adv/hash....
batadv_inc_counter(9)
NAME batadv_inc_counter - Increase per cpu statistics counter of mesh interface SYNOPSIS batadv_inc_counter (b , i ); ARGUMENTS b the bat priv with all the mesh interface information i counter index which should be modified SEE ALSO Kernel file ./net/batman-adv/main.h BATADV_TP_MAX_...
batadv_info(9)
NAME batadv_info - Store message in debug buffer and print it to kmsg buffer SYNOPSIS batadv_info (net_dev , fmt , arg... ); ARGUMENTS net_dev the mesh interface net device fmt format string arg variable arguments SEE ALSO Kernel file ./net/batman-adv/log.h enum batadv_dbg_level(9...
batadv_interface_add_vid(9)
NAME batadv_interface_add_vid - ndo_add_vid API implementation SYNOPSIS int batadv_interface_add_vid (struct net_device *dev , __be16 proto , unsigned short vid ); ARGUMENTS dev the netdev of the mesh interface proto protocol of the vlan id vid identifier of the new vlan DESCRIP...
batadv_interface_kill_vid(9)
NAME batadv_interface_kill_vid - ndo_kill_vid API implementation SYNOPSIS int batadv_interface_kill_vid (struct net_device *dev , __be16 proto , unsigned short vid ); ARGUMENTS dev the netdev of the mesh interface proto protocol of the vlan id vid identifier of the deleted vlan ...
batadv_interface_rx(9)
NAME batadv_interface_rx - receive ethernet frame on local batman-adv interface SYNOPSIS void batadv_interface_rx (struct net_device *mesh_iface , struct sk_buff *skb , int hdr_size , struct batadv_orig_node *orig_node ); ARGUMENTS mesh_iface local interface which will receive the ethernet frame skb ...
batadv_interface_set_rx_mode(9)
NAME batadv_interface_set_rx_mode - set the rx mode of a device SYNOPSIS void batadv_interface_set_rx_mode (struct net_device *dev ); ARGUMENTS dev registered network device to modify DESCRIPTION We do not actually need to set any rx filters for the virtual batman mesh interface. However a dummy handler enab...
batadv_is_ap_isolated(9)
NAME batadv_is_ap_isolated - Check if packet from upper layer should be dropped SYNOPSIS bool batadv_is_ap_isolated (struct batadv_priv *bat_priv , u8 *src , u8 *dst , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information src source mac address of packet ...
batadv_is_cfg80211_hardif(9)
NAME batadv_is_cfg80211_hardif - check if the given hardif is a cfg80211 wifi interface SYNOPSIS bool batadv_is_cfg80211_hardif (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the device to check RETURN true if the net device is a cfg80211 wireless device, false otherwise. SEE ALSO Kernel file ./...
batadv_is_cfg80211_netdev(9)
NAME batadv_is_cfg80211_netdev - check if the given net_device struct is a cfg80211 wifi interface SYNOPSIS bool batadv_is_cfg80211_netdev (struct net_device *net_device ); ARGUMENTS net_device the device to check RETURN true if the net device is a cfg80211 wireless device, false otherwise. SEE ALSO Kernel file ...
batadv_is_my_client(9)
NAME batadv_is_my_client - check if a client is served by the local node SYNOPSIS bool batadv_is_my_client (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 check ...
batadv_is_my_mac(9)
NAME batadv_is_my_mac - check if the given mac address belongs to any of the real interfaces in the current mesh SYNOPSIS bool batadv_is_my_mac (struct batadv_priv *bat_priv , const u8 *addr ); ARGUMENTS bat_priv the bat priv with all the mesh interface information addr the address to check RETURN ...
batadv_is_on_batman_iface(9)
NAME batadv_is_on_batman_iface - check if a device is a batman iface descendant SYNOPSIS bool batadv_is_on_batman_iface (const struct net_device *net_dev ); ARGUMENTS net_dev the device to check DESCRIPTION If the user creates any virtual device on top of a batman-adv interface, it is important to prevent this...
batadv_is_orig_node_eligible(9)
NAME batadv_is_orig_node_eligible - check whether a node can be a DHT candidate SYNOPSIS bool batadv_is_orig_node_eligible (struct batadv_dat_candidate *res , int select , batadv_dat_addr_t tmp_max , batadv_dat_addr_t max , batadv_dat_addr_t last_max , struct batadv_orig_node *candidate , struct batadv_ori...
batadv_is_wext_netdev(9)
NAME batadv_is_wext_netdev - check if the given net_device struct is a wext wifi interface SYNOPSIS bool batadv_is_wext_netdev (struct net_device *net_device ); ARGUMENTS net_device the device to check RETURN true if the net device is a wext wireless device, false otherwise. SEE ALSO Kernel file ./net/batman-a...
batadv_is_wifi_hardif(9)
NAME batadv_is_wifi_hardif - check if the given hardif is a wifi interface SYNOPSIS bool batadv_is_wifi_hardif (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the device to check RETURN true if the net device is a 802.11 wireless device, false otherwise. SEE ALSO Kernel file ./net/batman-adv/hard...
batadv_iv_gw_dump(9)
NAME batadv_iv_gw_dump - Dump gateways into a message SYNOPSIS void batadv_iv_gw_dump (struct sk_buff *msg , struct netlink_callback *cb , struct batadv_priv *bat_priv ); ARGUMENTS msg Netlink message to dump into cb Control block containing additional options bat_priv The bat priv...
batadv_iv_gw_dump_entry(9)
NAME batadv_iv_gw_dump_entry - Dump a gateway into a message SYNOPSIS int batadv_iv_gw_dump_entry (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_gw_node *gw_node ); ARGUMENTS msg Netlink message to dump into portid Port making netlin...
batadv_iv_init(9)
NAME batadv_iv_init - B.A.T.M.A.N. IV initialization function SYNOPSIS int batadv_iv_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/bat_iv_ogm.c enum batadv_dup_status(9), batadv_ring_buffer_set(9), batadv...
batadv_iv_init_sel_class(9)
NAME batadv_iv_init_sel_class - initialize GW selection class SYNOPSIS void batadv_iv_init_sel_class (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information SEE ALSO Kernel file ./net/batman-adv/bat_iv_ogm.c enum batadv_dup_status(9), batadv_ring_buffer_set(9...
batadv_iv_ogm_aggr_packet(9)
NAME batadv_iv_ogm_aggr_packet - checks if there is another OGM attached SYNOPSIS bool batadv_iv_ogm_aggr_packet (int buff_pos , int packet_len , const struct batadv_ogm_packet *ogm_packet ); ARGUMENTS buff_pos current position in the skb packet_len total length of the skb ogm_packet potential OG...
batadv_iv_ogm_aggregate_new(9)
NAME batadv_iv_ogm_aggregate_new - create a new aggregated packet and add this packet to it. SYNOPSIS void batadv_iv_ogm_aggregate_new (const unsigned char *packet_buff , int packet_len , unsigned long send_time , bool direct_link , struct batadv_hard_iface *if_incoming , struct batadv_hard_iface *if_outgoing ,...
batadv_iv_ogm_calc_tq(9)
NAME batadv_iv_ogm_calc_tq - calculate tq for current received ogm packet SYNOPSIS bool batadv_iv_ogm_calc_tq (struct batadv_orig_node *orig_node , struct batadv_orig_node *orig_neigh_node , struct batadv_ogm_packet *batadv_ogm_packet , struct batadv_hard_iface *if_incoming , struct batadv_hard_iface *if_outgoing )...
batadv_iv_ogm_can_aggregate(9)
NAME batadv_iv_ogm_can_aggregate - find out if an OGM can be aggregated on an existing forward packet SYNOPSIS bool batadv_iv_ogm_can_aggregate (const struct batadv_ogm_packet *new_bat_ogm_packet , struct batadv_priv *bat_priv , int packet_len , unsigned long send_time , bool directlink , const struct batadv_hard_ifa...
batadv_iv_ogm_neigh_cmp(9)
NAME batadv_iv_ogm_neigh_cmp - compare the metrics of two neighbors SYNOPSIS int batadv_iv_ogm_neigh_cmp (struct batadv_neigh_node *neigh1 , struct batadv_hard_iface *if_outgoing1 , struct batadv_neigh_node *neigh2 , struct batadv_hard_iface *if_outgoing2 ); ARGUMENTS neigh1 the first neighbor object of the comp...
batadv_iv_ogm_neigh_diff(9)
NAME batadv_iv_ogm_neigh_diff - calculate tq difference of two neighbors SYNOPSIS bool batadv_iv_ogm_neigh_diff (struct batadv_neigh_node *neigh1 , struct batadv_hard_iface *if_outgoing1 , struct batadv_neigh_node *neigh2 , struct batadv_hard_iface *if_outgoing2 , int *diff ); ARGUMENTS neigh1 the first neighbor...
batadv_iv_ogm_neigh_dump(9)
NAME batadv_iv_ogm_neigh_dump - Dump the neighbours into a message SYNOPSIS void batadv_iv_ogm_neigh_dump (struct sk_buff *msg , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_hard_iface *single_hardif ); ARGUMENTS msg Netlink message to dump into cb Control block ...
batadv_iv_ogm_neigh_dump_hardif(9)
NAME batadv_iv_ogm_neigh_dump_hardif - Dump the neighbours of a hard interface into a message SYNOPSIS int batadv_iv_ogm_neigh_dump_hardif (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *hard_iface , int *idx_s ); ARGUMENTS msg Netlink message to dump int...
batadv_iv_ogm_neigh_dump_neigh(9)
NAME batadv_iv_ogm_neigh_dump_neigh - Dump a neighbour into a netlink message SYNOPSIS int batadv_iv_ogm_neigh_dump_neigh (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_hardif_neigh_node *hardif_neigh ); ARGUMENTS msg Netlink message to dump into portid Port making netlink request ...
batadv_iv_ogm_neigh_get_tq_avg(9)
NAME batadv_iv_ogm_neigh_get_tq_avg - Get the TQ average for a neighbour on a given outgoing interface. SYNOPSIS bool batadv_iv_ogm_neigh_get_tq_avg (struct batadv_neigh_node *neigh_node , struct batadv_hard_iface *if_outgoing , u8 *tq_avg ); ARGUMENTS neigh_node Neighbour of interest if_outgoing Outgoing in...
batadv_iv_ogm_neigh_is_sob(9)
NAME batadv_iv_ogm_neigh_is_sob - check if neigh1 is similarly good or better than neigh2 from the metric prospective SYNOPSIS bool batadv_iv_ogm_neigh_is_sob (struct batadv_neigh_node *neigh1 , struct batadv_hard_iface *if_outgoing1 , struct batadv_neigh_node *neigh2 , struct batadv_hard_iface *if_outgoing2 ); ARGUM...
batadv_iv_ogm_orig_dump(9)
NAME batadv_iv_ogm_orig_dump - Dump the originators into a message SYNOPSIS void batadv_iv_ogm_orig_dump (struct sk_buff *msg , struct netlink_callback *cb , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing ); ARGUMENTS msg Netlink message to dump into cb Control block con...
batadv_iv_ogm_orig_dump_bucket(9)
NAME batadv_iv_ogm_orig_dump_bucket - Dump an originator bucket into a message SYNOPSIS int batadv_iv_ogm_orig_dump_bucket (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing , struct hlist_head *head , int *idx_s , int *sub ); ARGUMENTS msg Netli...
batadv_iv_ogm_orig_dump_entry(9)
NAME batadv_iv_ogm_orig_dump_entry - Dump an originator entry into a message SYNOPSIS int batadv_iv_ogm_orig_dump_entry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing , struct batadv_orig_node *orig_node , int *sub_s ); ARGUMENTS msg Netlink ...
batadv_iv_ogm_orig_dump_subentry(9)
NAME batadv_iv_ogm_orig_dump_subentry - Dump an originator subentry into a message SYNOPSIS int batadv_iv_ogm_orig_dump_subentry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_priv *bat_priv , struct batadv_hard_iface *if_outgoing , struct batadv_orig_node *orig_node , struct batadv_neigh_node *neig...
batadv_iv_ogm_orig_get(9)
NAME batadv_iv_ogm_orig_get - retrieve or create (if does not exist) an originator SYNOPSIS struct batadv_orig_node * batadv_iv_ogm_orig_get (struct batadv_priv *bat_priv , const u8 *addr ); ARGUMENTS bat_priv the bat priv with all the mesh interface information addr mac address of the originator R...
batadv_iv_ogm_orig_update(9)
NAME batadv_iv_ogm_orig_update - use OGM to update corresponding data in an originator SYNOPSIS void batadv_iv_ogm_orig_update (struct batadv_priv *bat_priv , struct batadv_orig_node *orig_node , struct batadv_orig_ifinfo *orig_ifinfo , const struct ethhdr *ethhdr , const struct batadv_ogm_packet *batadv_ogm_packet ,...
batadv_iv_ogm_process(9)
NAME batadv_iv_ogm_process - process an incoming batman iv OGM SYNOPSIS void batadv_iv_ogm_process (const struct sk_buff *skb , int ogm_offset , struct batadv_hard_iface *if_incoming ); ARGUMENTS skb the skb containing the OGM ogm_offset offset to the OGM which should be processed (for aggregates) ...
batadv_iv_ogm_process_per_outif(9)
NAME batadv_iv_ogm_process_per_outif - process a batman iv OGM for an outgoing interface SYNOPSIS void batadv_iv_ogm_process_per_outif (const struct sk_buff *skb , int ogm_offset , struct batadv_orig_node *orig_node , struct batadv_hard_iface *if_incoming , struct batadv_hard_iface *if_outgoing ); ARGUMENTS skb ...
batadv_iv_ogm_process_reply(9)
NAME batadv_iv_ogm_process_reply - Check OGM for direct reply and process it SYNOPSIS void batadv_iv_ogm_process_reply (struct batadv_ogm_packet *ogm_packet , struct batadv_hard_iface *if_incoming , struct batadv_orig_node *orig_node , u32 if_incoming_seqno ); ARGUMENTS ogm_packet rebroadcast OGM packet to process ...
batadv_iv_ogm_queue_add(9)
NAME batadv_iv_ogm_queue_add - queue up an OGM for transmission SYNOPSIS void batadv_iv_ogm_queue_add (struct batadv_priv *bat_priv , unsigned char *packet_buff , int packet_len , struct batadv_hard_iface *if_incoming , struct batadv_hard_iface *if_outgoing , int own_packet , unsigned long send_time ); ARGUMENTS ...
batadv_iv_ogm_schedule_buff(9)
NAME batadv_iv_ogm_schedule_buff - schedule submission of hardif ogm buffer SYNOPSIS void batadv_iv_ogm_schedule_buff (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface interface whose ogm buffer should be transmitted SEE ALSO Kernel file ./net/batman-adv/bat_iv_ogm.c enum batadv_dup_status(9), bat...
batadv_iv_ogm_slide_own_bcast_window(9)
NAME batadv_iv_ogm_slide_own_bcast_window - bitshift own OGM broadcast windows for the given interface SYNOPSIS void batadv_iv_ogm_slide_own_bcast_window (struct batadv_hard_iface *hard_iface ); ARGUMENTS hard_iface the interface for which the windows have to be shifted SEE ALSO Kernel file ./net/batman-adv/bat_...
batadv_iv_ogm_update_seqnos(9)
NAME batadv_iv_ogm_update_seqnos - process a batman packet for all interfaces, adjust the sequence number and find out whether it is a duplicate SYNOPSIS enum batadv_dup_status batadv_iv_ogm_update_seqnos (const struct ethhdr *ethhdr , const struct batadv_ogm_packet *batadv_ogm_packet , const struct batadv_hard_iface ...
batadv_iv_orig_ifinfo_sum(9)
NAME batadv_iv_orig_ifinfo_sum - Get bcast_own sum for originator over interface SYNOPSIS u8 batadv_iv_orig_ifinfo_sum (struct batadv_orig_node *orig_node , struct batadv_hard_iface *if_outgoing ); ARGUMENTS orig_node originator which reproadcasted the OGMs directly if_outgoing interface which transmitted t...
batadv_last_bonding_get(9)
NAME batadv_last_bonding_get - Get last_bonding_candidate of orig_node SYNOPSIS struct batadv_orig_ifinfo * batadv_last_bonding_get (struct batadv_orig_node *orig_node ); ARGUMENTS orig_node originator node whose last bonding candidate should be retrieved RETURN last bonding candidate of router or NULL if not foun...
batadv_last_bonding_replace(9)
NAME batadv_last_bonding_replace - Replace last_bonding_candidate of orig_node SYNOPSIS void batadv_last_bonding_replace (struct batadv_orig_node *orig_node , struct batadv_orig_ifinfo *new_candidate ); ARGUMENTS orig_node originator node whose bonding candidates should be replaced new_candidate ...
batadv_max_header_len(9)
NAME batadv_max_header_len - calculate maximum encapsulation overhead for a payload packet SYNOPSIS int batadv_max_header_len (void ); ARGUMENTS void no arguments RETURN the maximum encapsulation overhead in bytes. SEE ALSO Kernel file ./net/batman-adv/main.c batadv_mesh_init(9), batadv_mesh_free(9), batadv_...
batadv_mcast_bridge_log(9)
NAME batadv_mcast_bridge_log - debug output for topology changes in bridged setups SYNOPSIS void batadv_mcast_bridge_log (struct batadv_priv *bat_priv , struct batadv_mcast_mla_flags *new_flags ); ARGUMENTS bat_priv the bat priv with all the mesh interface information new_flags flags indicating the new m...
batadv_mcast_flags_dump(9)
NAME batadv_mcast_flags_dump - dump multicast flags table to a netlink socket SYNOPSIS int batadv_mcast_flags_dump (struct sk_buff *msg , struct netlink_callback *cb ); ARGUMENTS msg buffer for the message cb callback structure containing arguments RETURN message length. SEE ALSO Kernel ...
batadv_mcast_flags_dump_bucket(9)
NAME batadv_mcast_flags_dump_bucket - dump one bucket of the multicast flags table to a netlink socket SYNOPSIS int batadv_mcast_flags_dump_bucket (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_hashtable *hash , unsigned int bucket , long *idx_skip ); ARGUMENTS msg buffer for ...
batadv_mcast_flags_dump_entry(9)
NAME batadv_mcast_flags_dump_entry - dump one entry of the multicast flags table to a netlink socket SYNOPSIS int batadv_mcast_flags_dump_entry (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_orig_node *orig_node ); ARGUMENTS msg buffer for the message portid netli...
batadv_mcast_flags_log(9)
NAME batadv_mcast_flags_log - output debug information about mcast flag changes SYNOPSIS void batadv_mcast_flags_log (struct batadv_priv *bat_priv , u8 flags ); ARGUMENTS bat_priv the bat priv with all the mesh interface information flags TVLV flags indicating the new multicast state DESCRIPTION Whe...
batadv_mcast_forw_expand_head(9)
NAME batadv_mcast_forw_expand_head - expand headroom for an mcast packet SYNOPSIS int batadv_mcast_forw_expand_head (struct batadv_priv *bat_priv , struct sk_buff *skb ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb the multicast packet to send DESCRIPTION Tries to e...
batadv_mcast_forw_mcsend(9)
NAME batadv_mcast_forw_mcsend - send a self prepared batman-adv multicast packet SYNOPSIS int batadv_mcast_forw_mcsend (struct batadv_priv *bat_priv , struct sk_buff *skb ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb the multicast packet to encapsulate and send DES...
batadv_mcast_forw_mode(9)
NAME batadv_mcast_forw_mode - check on how to forward a multicast packet SYNOPSIS enum batadv_forw_mode batadv_mcast_forw_mode (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , int *is_routable ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb t...
batadv_mcast_forw_mode_by_count(9)
NAME batadv_mcast_forw_mode_by_count - get forwarding mode by count SYNOPSIS enum batadv_forw_mode batadv_mcast_forw_mode_by_count (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , int is_routable , int count ); ARGUMENTS bat_priv the bat priv with all the mesh interface information ...
batadv_mcast_forw_mode_check(9)
NAME batadv_mcast_forw_mode_check - check for optimized forwarding potential SYNOPSIS int batadv_mcast_forw_mode_check (struct batadv_priv *bat_priv , struct sk_buff *skb , bool *is_unsnoopable , int *is_routable ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb the mul...
batadv_mcast_forw_mode_check_ipv4(9)
NAME batadv_mcast_forw_mode_check_ipv4 - check for optimized forwarding potential SYNOPSIS int batadv_mcast_forw_mode_check_ipv4 (struct batadv_priv *bat_priv , struct sk_buff *skb , bool *is_unsnoopable , int *is_routable ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb ...
batadv_mcast_forw_mode_check_ipv6(9)
NAME batadv_mcast_forw_mode_check_ipv6 - check for optimized forwarding potential SYNOPSIS int batadv_mcast_forw_mode_check_ipv6 (struct batadv_priv *bat_priv , struct sk_buff *skb , bool *is_unsnoopable , int *is_routable ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb ...
batadv_mcast_forw_orig_entry(9)
NAME batadv_mcast_forw_orig_entry - get orig_node from an hlist node SYNOPSIS struct batadv_orig_node * batadv_mcast_forw_orig_entry (struct hlist_node *node , size_t entry_offset ); ARGUMENTS node the hlist node to get the orig_node from entry_offset the offset of the hlist node wit...
batadv_mcast_forw_packet(9)
NAME batadv_mcast_forw_packet - forward a batman-adv multicast packet SYNOPSIS int batadv_mcast_forw_packet (struct batadv_priv *bat_priv , struct sk_buff *skb , bool local_xmit ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb the received or locally generated batman-a...
batadv_mcast_forw_packet_hdrlen(9)
NAME batadv_mcast_forw_packet_hdrlen - multicast packet header length SYNOPSIS unsigned int batadv_mcast_forw_packet_hdrlen (unsigned int num_dests ); ARGUMENTS num_dests number of destination nodes DESCRIPTION Calculates the total batman-adv multicast packet header length for a given number of destination nodes (...
batadv_mcast_forw_push(9)
NAME batadv_mcast_forw_push - encapsulate skb in a batman-adv multicast packet SYNOPSIS bool batadv_mcast_forw_push (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , int is_routable , int count ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb t...
batadv_mcast_forw_push_adjust_padding(9)
NAME batadv_mcast_forw_push_adjust_padding - adjust padding if necessary SYNOPSIS bool batadv_mcast_forw_push_adjust_padding (struct sk_buff *skb , int *count , unsigned short num_dests_pushed , unsigned short *tvlv_len ); ARGUMENTS skb the skb to potentially adjust the TVLV's padding on count t...
batadv_mcast_forw_push_dest(9)
NAME batadv_mcast_forw_push_dest - push an originator MAC address onto an skb SYNOPSIS bool batadv_mcast_forw_push_dest (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , struct batadv_orig_node *orig_node , unsigned short *num_dests , unsigned short *tvlv_len ); ARGUMENTS bat_priv the bat ...
batadv_mcast_forw_push_dests(9)
NAME batadv_mcast_forw_push_dests - push originator addresses onto an skb SYNOPSIS int batadv_mcast_forw_push_dests (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , int is_routable , int *count , unsigned short *tvlv_len ); ARGUMENTS bat_priv the bat priv with all the mesh interface infor...
batadv_mcast_forw_push_dests_list(9)
NAME batadv_mcast_forw_push_dests_list - push originators from list onto an skb SYNOPSIS int batadv_mcast_forw_push_dests_list (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , struct hlist_head *head , size_t entry_offset , unsigned short *num_dests , unsigned short *tvlv_len ); ARGUMENTS ba...
batadv_mcast_forw_push_est_padding(9)
NAME batadv_mcast_forw_push_est_padding - push padding bytes if necessary SYNOPSIS bool batadv_mcast_forw_push_est_padding (struct sk_buff *skb , int count , unsigned short *tvlv_len ); ARGUMENTS skb the skb to potentially push the padding onto count the (estimated) number of originators the mul...
batadv_mcast_forw_push_hdr(9)
NAME batadv_mcast_forw_push_hdr - push a multicast packet header onto an skb SYNOPSIS int batadv_mcast_forw_push_hdr (struct sk_buff *skb , unsigned short tvlv_len ); ARGUMENTS skb the skb to push the header onto tvlv_len the total TVLV length value to set in the header DESCRIPTION Pushes a batman...
batadv_mcast_forw_push_insert_padding(9)
NAME batadv_mcast_forw_push_insert_padding - insert TVLV padding SYNOPSIS bool batadv_mcast_forw_push_insert_padding (struct sk_buff *skb , unsigned short *tvlv_len ); ARGUMENTS skb the skb to potentially adjust the TVLV's padding on tvlv_len stores the amount of currently pushed TVLV bytes DESCRI...
batadv_mcast_forw_push_padding(9)
NAME batadv_mcast_forw_push_padding - push 2 padding bytes to skb's front SYNOPSIS char * batadv_mcast_forw_push_padding (struct sk_buff *skb , unsigned short *tvlv_len ); ARGUMENTS skb the skb to push onto tvlv_len stores the amount of currently pushed TVLV bytes DESCRIPTION Pushes two padding by...
batadv_mcast_forw_push_scrape_padding(9)
NAME batadv_mcast_forw_push_scrape_padding - remove TVLV padding SYNOPSIS void batadv_mcast_forw_push_scrape_padding (struct sk_buff *skb , unsigned short *tvlv_len ); ARGUMENTS skb the skb to potentially adjust the TVLV's padding on tvlv_len stores the amount of currently pushed TVLV bytes DESCRI...
batadv_mcast_forw_push_tracker(9)
NAME batadv_mcast_forw_push_tracker - push a multicast tracker TVLV header SYNOPSIS int batadv_mcast_forw_push_tracker (struct sk_buff *skb , int num_dests , unsigned short *tvlv_len ); ARGUMENTS skb the skb to push the tracker TVLV onto num_dests the number of destination addresses to set in the he...
batadv_mcast_forw_push_tt(9)
NAME batadv_mcast_forw_push_tt - push originators with interest through TT SYNOPSIS bool batadv_mcast_forw_push_tt (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , unsigned short *num_dests , unsigned short *tvlv_len ); ARGUMENTS bat_priv the bat priv with all the mesh interface informati...
batadv_mcast_forw_push_tvlvs(9)
NAME batadv_mcast_forw_push_tvlvs - push a multicast tracker TVLV onto an skb SYNOPSIS int batadv_mcast_forw_push_tvlvs (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , int is_routable , int count , unsigned short *tvlv_len ); ARGUMENTS bat_priv the bat priv with all the mesh interface in...
batadv_mcast_forw_push_want_all(9)
NAME batadv_mcast_forw_push_want_all - push originators with want-all flag SYNOPSIS bool batadv_mcast_forw_push_want_all (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , unsigned short *num_dests , unsigned short *tvlv_len ); ARGUMENTS bat_priv the bat priv with all the mesh interface inf...
batadv_mcast_forw_push_want_rtr(9)
NAME batadv_mcast_forw_push_want_rtr - push originators with want-router flag SYNOPSIS bool batadv_mcast_forw_push_want_rtr (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , unsigned short *num_dests , unsigned short *tvlv_len ); ARGUMENTS bat_priv the bat priv with all the mesh interface ...
batadv_mcast_forw_rtr_count(9)
NAME batadv_mcast_forw_rtr_count - count nodes with a multicast router SYNOPSIS int batadv_mcast_forw_rtr_count (struct batadv_priv *bat_priv , int protocol ); ARGUMENTS bat_priv the bat priv with all the mesh interface information protocol the ethernet protocol type to count multicast routers for RETU...
batadv_mcast_forw_scrape(9)
NAME batadv_mcast_forw_scrape - remove bytes within skb data SYNOPSIS void batadv_mcast_forw_scrape (struct sk_buff *skb , unsigned short offset , unsigned short len ); ARGUMENTS skb the skb to remove bytes from offset the offset from the skb data from which to scrape len the amou...
batadv_mcast_forw_scrub_dests(9)
NAME batadv_mcast_forw_scrub_dests - scrub destinations in a tracker TVLV SYNOPSIS void batadv_mcast_forw_scrub_dests (struct batadv_priv *bat_priv , struct batadv_neigh_node *comp_neigh , u8 *dest , u8 *next_dest , u16 num_dests ); ARGUMENTS bat_priv the bat priv with all the mesh interface information co...
batadv_mcast_forw_send(9)
NAME batadv_mcast_forw_send - send packet to any detected multicast recipient SYNOPSIS int batadv_mcast_forw_send (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , int is_routable ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb the multicast p...
batadv_mcast_forw_send_orig(9)
NAME batadv_mcast_forw_send_orig - send a multicast packet to an originator SYNOPSIS int batadv_mcast_forw_send_orig (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , struct batadv_orig_node *orig_node ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb ...
batadv_mcast_forw_shrink_align_offset(9)
NAME batadv_mcast_forw_shrink_align_offset - get new alignment offset SYNOPSIS short batadv_mcast_forw_shrink_align_offset (unsigned int num_dests_old , unsigned int num_dests_reduce ); ARGUMENTS num_dests_old the old, to be updated amount of destination nodes num_dests_reduce the number of...
batadv_mcast_forw_shrink_fill(9)
NAME batadv_mcast_forw_shrink_fill - swap slot with next non-zero destination SYNOPSIS bool batadv_mcast_forw_shrink_fill (u8 *slot , u16 num_dests_slot ); ARGUMENTS slot the to be filled zero-MAC destination entry in a tracker TVLV num_dests_slot remaining entries in tracker TVLV fr...
batadv_mcast_forw_shrink_move_headers(9)
NAME batadv_mcast_forw_shrink_move_headers - move multicast headers by offset SYNOPSIS void batadv_mcast_forw_shrink_move_headers (struct sk_buff *skb , unsigned int offset ); ARGUMENTS skb the batman-adv multicast packet to move headers for offset a non-negative offset to move headers by, toward...