id stringlengths 4 63 | text stringlengths 153 8.81M |
|---|---|
batadv_netlink_tpmeter_notify(9) | NAME batadv_netlink_tpmeter_notify - send tp_meter result via netlink to client
SYNOPSIS int batadv_netlink_tpmeter_notify (struct batadv_priv *bat_priv , const u8 *dst , u8 result , u32 test_time , u64 total_bytes , u32 cookie );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
dst ... |
batadv_netlink_unregister(9) | NAME batadv_netlink_unregister - unregister batadv genl netlink family
SYNOPSIS void batadv_netlink_unregister (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./net/batman-adv/netlink.c enum batadv_genl_ops_flags(9), batadv_netlink_get_ifindex(9), batadv_netlink_mesh_fill_ap_isolation(9), batad... |
batadv_netlink_vlan_fill(9) | NAME batadv_netlink_vlan_fill - Fill message with vlan attributes
SYNOPSIS int batadv_netlink_vlan_fill (struct sk_buff *msg , struct batadv_priv *bat_priv , struct batadv_meshif_vlan *vlan , enum batadv_nl_commands cmd , u32 portid , u32 seq , int flags );
ARGUMENTS msg Netlink message to dump into
b... |
batadv_orig_dump(9) | NAME batadv_orig_dump - Dump to netlink the originator infos for a specific outgoing interface
SYNOPSIS int batadv_orig_dump (struct sk_buff *msg , struct netlink_callback *cb );
ARGUMENTS msg message to dump into
cb parameters for the dump
RETURN 0 or error value
SEE ALSO Kernel file ./... |
batadv_orig_hash_find(9) | NAME batadv_orig_hash_find - Find and return originator from orig_hash
SYNOPSIS struct batadv_orig_node * batadv_orig_hash_find (struct batadv_priv *bat_priv , const void *data );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
data mac address of the originator
RETURN orig_... |
batadv_orig_ifinfo_get(9) | NAME batadv_orig_ifinfo_get - find the ifinfo from an orig_node
SYNOPSIS struct batadv_orig_ifinfo * batadv_orig_ifinfo_get (struct batadv_orig_node *orig_node , struct batadv_hard_iface *if_outgoing );
ARGUMENTS orig_node the orig node to be queried
if_outgoing the interface for which the ifinfo should be ... |
batadv_orig_ifinfo_new(9) | NAME batadv_orig_ifinfo_new - search and possibly create an orig_ifinfo object
SYNOPSIS struct batadv_orig_ifinfo * batadv_orig_ifinfo_new (struct batadv_orig_node *orig_node , struct batadv_hard_iface *if_outgoing );
ARGUMENTS orig_node the orig node to be queried
if_outgoing the interface for which the if... |
batadv_orig_ifinfo_put(9) | NAME batadv_orig_ifinfo_put - decrement the refcounter and possibly release the orig_ifinfo
SYNOPSIS void batadv_orig_ifinfo_put (struct batadv_orig_ifinfo *orig_ifinfo );
ARGUMENTS orig_ifinfo the orig_ifinfo object to release
SEE ALSO Kernel file ./net/batman-adv/originator.h batadv_choose_orig(9), batadv_orig_nod... |
batadv_orig_ifinfo_release(9) | NAME batadv_orig_ifinfo_release - release orig_ifinfo from lists and queue for free after rcu grace period
SYNOPSIS void batadv_orig_ifinfo_release (struct kref *ref );
ARGUMENTS ref kref pointer of the orig_ifinfo
SEE ALSO Kernel file ./net/batman-adv/originator.c batadv_orig_hash_find(9), batadv_com... |
batadv_orig_node_free_rcu(9) | NAME batadv_orig_node_free_rcu - free the orig_node
SYNOPSIS void batadv_orig_node_free_rcu (struct rcu_head *rcu );
ARGUMENTS rcu rcu pointer of the orig_node
SEE ALSO Kernel file ./net/batman-adv/originator.c batadv_orig_hash_find(9), batadv_compare_orig(9), batadv_orig_node_vlan_get(9), batadv_vl... |
batadv_orig_node_new(9) | NAME batadv_orig_node_new - creates a new orig_node
SYNOPSIS struct batadv_orig_node * batadv_orig_node_new (struct batadv_priv *bat_priv , const u8 *addr );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
addr the mac address of the originator
DESCRIPTION Creates a new orig... |
batadv_orig_node_put(9) | NAME batadv_orig_node_put - decrement the orig node refcounter and possibly release it
SYNOPSIS void batadv_orig_node_put (struct batadv_orig_node *orig_node );
ARGUMENTS orig_node the orig node to free
SEE ALSO Kernel file ./net/batman-adv/originator.h batadv_choose_orig(9), batadv_orig_node_vlan_put(9), batadv_n... |
batadv_orig_node_release(9) | NAME batadv_orig_node_release - release orig_node from lists and queue for free after rcu grace period
SYNOPSIS void batadv_orig_node_release (struct kref *ref );
ARGUMENTS ref kref pointer of the orig_node
SEE ALSO Kernel file ./net/batman-adv/originator.c batadv_orig_hash_find(9), batadv_compare_ori... |
batadv_orig_node_vlan_get(9) | NAME batadv_orig_node_vlan_get - get an orig_node_vlan object
SYNOPSIS struct batadv_orig_node_vlan * batadv_orig_node_vlan_get (struct batadv_orig_node *orig_node , unsigned short vid );
ARGUMENTS orig_node the originator serving the VLAN
vid the VLAN identifier
RETURN the vlan object identified b... |
batadv_orig_node_vlan_new(9) | NAME batadv_orig_node_vlan_new - search and possibly create an orig_node_vlan object
SYNOPSIS struct batadv_orig_node_vlan * batadv_orig_node_vlan_new (struct batadv_orig_node *orig_node , unsigned short vid );
ARGUMENTS orig_node the originator serving the VLAN
vid the VLAN identifier
RETURN NULL ... |
batadv_orig_node_vlan_put(9) | NAME batadv_orig_node_vlan_put - decrement the refcounter and possibly release the originator-vlan object
SYNOPSIS void batadv_orig_node_vlan_put (struct batadv_orig_node_vlan *orig_vlan );
ARGUMENTS orig_vlan the originator-vlan object to release
SEE ALSO Kernel file ./net/batman-adv/originator.h batadv_choose_or... |
batadv_orig_node_vlan_release(9) | NAME batadv_orig_node_vlan_release - release originator-vlan object from lists and queue for free after rcu grace period
SYNOPSIS void batadv_orig_node_vlan_release (struct kref *ref );
ARGUMENTS ref kref pointer of the originator-vlan object
SEE ALSO Kernel file ./net/batman-adv/originator.c batadv_... |
batadv_orig_router_get(9) | NAME batadv_orig_router_get - router to the originator depending on iface
SYNOPSIS struct batadv_neigh_node * batadv_orig_router_get (struct batadv_orig_node *orig_node , const struct batadv_hard_iface *if_outgoing );
ARGUMENTS orig_node the orig node for the router
if_outgoing the interface where the paylo... |
batadv_orig_to_router(9) | NAME batadv_orig_to_router - get next hop neighbor to an orig address
SYNOPSIS struct batadv_neigh_node * batadv_orig_to_router (struct batadv_priv *bat_priv , u8 *orig_addr , struct batadv_hard_iface *if_outgoing );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
orig_addr the or... |
batadv_originator_free(9) | NAME batadv_originator_free - Free all originator structures
SYNOPSIS void batadv_originator_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/originator.c batadv_orig_hash_find(9), batadv_compare_orig(9), ba... |
batadv_originator_init(9) | NAME batadv_originator_init - Initialize all originator structures
SYNOPSIS int batadv_originator_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... |
batadv_post_doit(9) | NAME batadv_post_doit - End batman-adv genl doit request
SYNOPSIS void batadv_post_doit (const struct genl_split_ops *ops , struct sk_buff *skb , struct genl_info *info );
ARGUMENTS ops requested netlink operation
skb Netlink message with request data
info receiver information
... |
batadv_pre_doit(9) | NAME batadv_pre_doit - Prepare batman-adv genl doit request
SYNOPSIS int batadv_pre_doit (const struct genl_split_ops *ops , struct sk_buff *skb , struct genl_info *info );
ARGUMENTS ops requested netlink operation
skb Netlink message with request data
info receiver information
... |
batadv_primary_if_get_selected(9) | NAME batadv_primary_if_get_selected - Get reference to primary interface
SYNOPSIS struct batadv_hard_iface * batadv_primary_if_get_selected (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
RETURN primary interface (with increased refcnt), otherwise NULL
SEE... |
batadv_print_vid(9) | NAME batadv_print_vid - return printable version of vid information
SYNOPSIS int batadv_print_vid (unsigned short vid );
ARGUMENTS vid the VLAN identifier
RETURN -1 when no VLAN is used, VLAN id otherwise
SEE ALSO Kernel file ./net/batman-adv/main.h BATADV_TP_MAX_NUM(9), enum batadv_mesh_state(9), enu... |
batadv_purge_neigh_ifinfo(9) | NAME batadv_purge_neigh_ifinfo - purge obsolete ifinfo entries from neighbor
SYNOPSIS void batadv_purge_neigh_ifinfo (struct batadv_priv *bat_priv , struct batadv_neigh_node *neigh );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
neigh orig node which is to be checked
SEE A... |
batadv_purge_orig_ifinfo(9) | NAME batadv_purge_orig_ifinfo - purge obsolete ifinfo entries from originator
SYNOPSIS bool batadv_purge_orig_ifinfo (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 which is to be checked
RE... |
batadv_purge_orig_neighbors(9) | NAME batadv_purge_orig_neighbors - purges neighbors from originator
SYNOPSIS bool batadv_purge_orig_neighbors (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 which is to be checked
RETURN tr... |
batadv_purge_orig_node(9) | NAME batadv_purge_orig_node - purges obsolete information from an orig_node
SYNOPSIS bool batadv_purge_orig_node (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 which is to be checked
DESCRI... |
batadv_purge_orig_ref(9) | NAME batadv_purge_orig_ref - Purge all outdated originators
SYNOPSIS void batadv_purge_orig_ref (struct batadv_priv *bat_priv );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
SEE ALSO Kernel file ./net/batman-adv/originator.c batadv_orig_hash_find(9), batadv_compare_orig(9), bata... |
batadv_purge_outstanding_packets(9) | NAME batadv_purge_outstanding_packets - stop/purge scheduled bcast/OGMv1 packets
SYNOPSIS void batadv_purge_outstanding_packets (struct batadv_priv *bat_priv , const struct batadv_hard_iface *hard_iface );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
hard_iface the hard interfac... |
batadv_recv_bcast_packet(9) | NAME batadv_recv_bcast_packet - Process incoming broadcast packet
SYNOPSIS int batadv_recv_bcast_packet (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
ARGUMENTS skb incoming packet buffer
recv_if incoming hard interface
RETURN NET_RX_SUCCESS on success or NET_RX_DROP in case of failu... |
batadv_recv_frag_packet(9) | NAME batadv_recv_frag_packet - process received fragment
SYNOPSIS int batadv_recv_frag_packet (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
ARGUMENTS skb the received fragment
recv_if interface that the skb is received on
DESCRIPTION This function does one of the three following... |
batadv_recv_handler_register(9) | NAME batadv_recv_handler_register - Register handler for batman-adv packet type
SYNOPSIS int batadv_recv_handler_register (u8 packet_type , int (*recv_handler)(struct sk_buff *, struct batadv_hard_iface *) );
ARGUMENTS packet_type batadv_packettype which should be handled
recv_handler
recei... |
batadv_recv_handler_unregister(9) | NAME batadv_recv_handler_unregister - Unregister handler for packet type
SYNOPSIS void batadv_recv_handler_unregister (u8 packet_type );
ARGUMENTS packet_type batadv_packettype which should no longer be handled
SEE ALSO Kernel file ./net/batman-adv/main.c batadv_mesh_init(9), batadv_mesh_free(9), batadv_is_my_m... |
batadv_recv_icmp_packet(9) | NAME batadv_recv_icmp_packet - Process incoming icmp packet
SYNOPSIS int batadv_recv_icmp_packet (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
ARGUMENTS skb incoming packet buffer
recv_if incoming hard interface
RETURN NET_RX_SUCCESS on success or NET_RX_DROP in case of failure
SEE... |
batadv_recv_mcast_packet(9) | NAME batadv_recv_mcast_packet - process received batman-adv multicast packet
SYNOPSIS int batadv_recv_mcast_packet (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
ARGUMENTS skb the received batman-adv multicast packet
recv_if interface that the skb is received on
DESCRIPTION Parses th... |
batadv_recv_my_icmp_packet(9) | NAME batadv_recv_my_icmp_packet - receive an icmp packet locally
SYNOPSIS int batadv_recv_my_icmp_packet (struct batadv_priv *bat_priv , struct sk_buff *skb );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb icmp packet to process
RETURN NET_RX_SUCCESS if the packet has... |
batadv_recv_unhandled_unicast_packet(9) | NAME batadv_recv_unhandled_unicast_packet - receive and process packets which are in the unicast number space but not yet known to the implementation
SYNOPSIS int batadv_recv_unhandled_unicast_packet (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
ARGUMENTS skb unicast tvlv packet to process
... |
batadv_recv_unicast_packet(9) | NAME batadv_recv_unicast_packet - Process incoming unicast packet
SYNOPSIS int batadv_recv_unicast_packet (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
ARGUMENTS skb incoming packet buffer
recv_if incoming hard interface
RETURN NET_RX_SUCCESS on success or NET_RX_DROP in case of fai... |
batadv_recv_unicast_tvlv(9) | NAME batadv_recv_unicast_tvlv - receive and process unicast tvlv packets
SYNOPSIS int batadv_recv_unicast_tvlv (struct sk_buff *skb , struct batadv_hard_iface *recv_if );
ARGUMENTS skb unicast tvlv packet to process
recv_if pointer to interface this packet was received on
RETURN NET_RX_SUCCESS if... |
batadv_reroute_unicast_packet(9) | NAME batadv_reroute_unicast_packet - update the unicast header for re-routing
SYNOPSIS bool batadv_reroute_unicast_packet (struct batadv_priv *bat_priv , struct sk_buff *skb , struct batadv_unicast_packet *unicast_packet , u8 *dst_addr , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh inter... |
batadv_ring_buffer_avg(9) | NAME batadv_ring_buffer_avg - compute the average of all non-zero values stored in the given ring buffer
SYNOPSIS u8 batadv_ring_buffer_avg (const u8 lq_recv[] );
ARGUMENTS lq_recv pointer to the ring buffer
RETURN computed average value.
SEE ALSO Kernel file ./net/batman-adv/bat_iv_ogm.c enum batadv_dup_st... |
batadv_ring_buffer_set(9) | NAME batadv_ring_buffer_set - update the ring buffer with the given value
SYNOPSIS void batadv_ring_buffer_set (u8 lq_recv[] , u8 *lq_index , u8 value );
ARGUMENTS lq_recv pointer to the ring buffer
lq_index index to store the value at
value value to store in the ring buffer
SEE ALSO Ker... |
batadv_roam_tvlv_unicast_handler_v1(9) | NAME batadv_roam_tvlv_unicast_handler_v1 - process incoming tt roam tvlv container
SYNOPSIS int batadv_roam_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_send_bcast_packet(9) | NAME batadv_send_bcast_packet - send and queue a broadcast packet
SYNOPSIS void batadv_send_bcast_packet (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned long delay , bool own_packet );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb broadcast packet to add... |
batadv_send_broadcast_skb(9) | NAME batadv_send_broadcast_skb - Send broadcast packet via hard interface
SYNOPSIS int batadv_send_broadcast_skb (struct sk_buff *skb , struct batadv_hard_iface *hard_iface );
ARGUMENTS skb packet to be transmitted (with batadv header and no outer eth header)
hard_iface outgoing interface
RETURN A n... |
batadv_send_my_tt_response(9) | NAME batadv_send_my_tt_response - send reply to tt request concerning this node's translation table
SYNOPSIS bool batadv_send_my_tt_response (struct batadv_priv *bat_priv , struct batadv_tvlv_tt_data *tt_data , u8 *req_src );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
tt_data ... |
batadv_send_no_broadcast(9) | NAME batadv_send_no_broadcast - check whether (re)broadcast is necessary
SYNOPSIS bool batadv_send_no_broadcast (struct batadv_priv *bat_priv , struct sk_buff *skb , bool own_packet , struct batadv_hard_iface *if_out );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb bro... |
batadv_send_other_tt_response(9) | NAME batadv_send_other_tt_response - send reply to tt request concerning another node's translation table
SYNOPSIS bool batadv_send_other_tt_response (struct batadv_priv *bat_priv , struct batadv_tvlv_tt_data *tt_data , u8 *req_src , u8 *req_dst );
ARGUMENTS bat_priv the bat priv with all the mesh interface inform... |
batadv_send_outstanding_bcast_packet(9) | NAME batadv_send_outstanding_bcast_packet - transmit a queued broadcast packet
SYNOPSIS void batadv_send_outstanding_bcast_packet (struct work_struct *work );
ARGUMENTS work work queue item
DESCRIPTION Transmits a queued broadcast packet and if necessary reschedules it.
SEE ALSO Kernel file ./net/batman-ad... |
batadv_send_roam_adv(9) | NAME batadv_send_roam_adv - send a roaming advertisement message
SYNOPSIS void batadv_send_roam_adv (struct batadv_priv *bat_priv , u8 *client , unsigned short vid , struct batadv_orig_node *orig_node );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
client mac address of the ... |
batadv_send_skb_packet(9) | NAME batadv_send_skb_packet - send an already prepared packet
SYNOPSIS int batadv_send_skb_packet (struct sk_buff *skb , struct batadv_hard_iface *hard_iface , const u8 *dst_addr );
ARGUMENTS skb the packet to send
hard_iface the interface to use to send the broadcast packet
dst_addr the p... |
batadv_send_skb_prepare_unicast(9) | NAME batadv_send_skb_prepare_unicast - encapsulate an skb with a unicast header
SYNOPSIS bool batadv_send_skb_prepare_unicast (struct sk_buff *skb , struct batadv_orig_node *orig_node );
ARGUMENTS skb the skb containing the payload to encapsulate
orig_node the destination node
RETURN false if the p... |
batadv_send_skb_prepare_unicast_4addr(9) | NAME batadv_send_skb_prepare_unicast_4addr - encapsulate an skb with a unicast 4addr header
SYNOPSIS bool batadv_send_skb_prepare_unicast_4addr (struct batadv_priv *bat_priv , struct sk_buff *skb , struct batadv_orig_node *orig , int packet_subtype );
ARGUMENTS bat_priv the bat priv with all the mesh interface inf... |
batadv_send_skb_push_fill_unicast(9) | NAME batadv_send_skb_push_fill_unicast - extend the buffer and initialize the common fields for unicast packets
SYNOPSIS bool batadv_send_skb_push_fill_unicast (struct sk_buff *skb , int hdr_size , struct batadv_orig_node *orig_node );
ARGUMENTS skb the skb carrying the unicast header to initialize
hd... |
batadv_send_skb_to_orig(9) | NAME batadv_send_skb_to_orig - Lookup next-hop and transmit skb.
SYNOPSIS int batadv_send_skb_to_orig (struct sk_buff *skb , struct batadv_orig_node *orig_node , struct batadv_hard_iface *recv_if );
ARGUMENTS skb Packet to be transmitted.
orig_node Final destination of the packet.
recv_if ... |
batadv_send_skb_unicast(9) | NAME batadv_send_skb_unicast - encapsulate and send an skb via unicast
SYNOPSIS int batadv_send_skb_unicast (struct batadv_priv *bat_priv , struct sk_buff *skb , int packet_type , int packet_subtype , struct batadv_orig_node *orig_node , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh inter... |
batadv_send_skb_via_gw(9) | NAME batadv_send_skb_via_gw - send an skb via gateway lookup
SYNOPSIS int batadv_send_skb_via_gw (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb payload to send
vid the vid to be ... |
batadv_send_skb_via_tt(9) | NAME batadv_send_skb_via_tt - send an skb via TT lookup
SYNOPSIS int batadv_send_skb_via_tt (struct batadv_priv *bat_priv , struct sk_buff *skb , u8 *dst_hint , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb the payload to send
dst_hint ... |
batadv_send_skb_via_tt_4addr(9) | NAME batadv_send_skb_via_tt_4addr - send an skb via TT lookup
SYNOPSIS int batadv_send_skb_via_tt_4addr (struct batadv_priv *bat_priv , struct sk_buff *skb , int packet_subtype , u8 *dst_hint , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb the pay... |
batadv_send_skb_via_tt_generic(9) | NAME batadv_send_skb_via_tt_generic - send an skb via TT lookup
SYNOPSIS int batadv_send_skb_via_tt_generic (struct batadv_priv *bat_priv , struct sk_buff *skb , int packet_type , int packet_subtype , u8 *dst_hint , unsigned short vid );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
... |
batadv_send_tt_request(9) | NAME batadv_send_tt_request - send a TT Request message to a given node
SYNOPSIS bool batadv_send_tt_request (struct batadv_priv *bat_priv , struct batadv_orig_node *dst_orig_node , u8 ttvn , struct batadv_tvlv_tt_vlan_data *tt_vlan , u16 num_vlan , bool full_table );
ARGUMENTS bat_priv the bat priv with all the m... |
batadv_send_tt_response(9) | NAME batadv_send_tt_response - send reply to tt request
SYNOPSIS bool batadv_send_tt_response (struct batadv_priv *bat_priv , struct batadv_tvlv_tt_data *tt_data , u8 *req_src , u8 *req_dst );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
tt_data tt data containing the tt requ... |
batadv_send_unicast_skb(9) | NAME batadv_send_unicast_skb - Send unicast packet to neighbor
SYNOPSIS int batadv_send_unicast_skb (struct sk_buff *skb , struct batadv_neigh_node *neigh );
ARGUMENTS skb packet to be transmitted (with batadv header and no outer eth header)
neigh neighbor which is used as next hop to destinatio... |
batadv_seq_after(9) | NAME batadv_seq_after - Checks if a sequence number x is a successor of y
SYNOPSIS batadv_seq_after (x , y );
ARGUMENTS x potential successor of y
y value to compare x against
DESCRIPTION It handles overflows/underflows and can correctly check for a successor unless the variable seq... |
batadv_seq_before(9) | NAME batadv_seq_before - Checks if a sequence number x is a predecessor of y
SYNOPSIS batadv_seq_before (x , y );
ARGUMENTS x potential predecessor of y
y value to compare x against
DESCRIPTION It handles overflows/underflows and can correctly check for a predecessor unless the variab... |
batadv_set_bit(9) | NAME batadv_set_bit - Turn corresponding bit on, so we can remember that we got the packet
SYNOPSIS void batadv_set_bit (unsigned long *seq_bits , s32 n );
ARGUMENTS seq_bits bitmap of the packet receive window
n relative sequence number of newly received packet
SEE ALSO Kernel file ./net/batman... |
batadv_set_lockdep_class(9) | NAME batadv_set_lockdep_class - Set txq and addr_list lockdep class
SYNOPSIS void batadv_set_lockdep_class (struct net_device *dev );
ARGUMENTS dev network device to modify
SEE ALSO Kernel file ./net/batman-adv/mesh-interface.c batadv_skb_head_push(9), batadv_sum_counter(9), batadv_interface_set_rx... |
batadv_set_lockdep_class_one(9) | NAME batadv_set_lockdep_class_one - Set lockdep class for a single tx queue
SYNOPSIS void batadv_set_lockdep_class_one (struct net_device *dev , struct netdev_queue *txq , void *_unused );
ARGUMENTS dev device which owns the tx queue
txq tx queue to modify
_unused always NULL
SEE ... |
batadv_skb_head_push(9) | NAME batadv_skb_head_push - Increase header size and move (push) head pointer
SYNOPSIS int batadv_skb_head_push (struct sk_buff *skb , unsigned int len );
ARGUMENTS skb packet buffer which should be modified
len number of bytes to add
RETURN 0 on success or negative error number in case of fa... |
batadv_skb_set_priority(9) | NAME batadv_skb_set_priority - sets skb priority according to packet content
SYNOPSIS void batadv_skb_set_priority (struct sk_buff *skb , int offset );
ARGUMENTS skb the packet to be sent
offset offset to the packet content
DESCRIPTION This function sets a value between 256 and 263 (802.1d prior... |
batadv_smallest_signed_int(9) | NAME batadv_smallest_signed_int - Returns the smallest signed integer in two's complement with the sizeof x
SYNOPSIS batadv_smallest_signed_int (x );
ARGUMENTS x type of integer
RETURN smallest signed integer of type
SEE ALSO Kernel file ./net/batman-adv/main.h BATADV_TP_MAX_NUM(9), enum batadv_m... |
batadv_sum_counter(9) | NAME batadv_sum_counter - Sum the cpu-local counters for index 'idx'
SYNOPSIS u64 batadv_sum_counter (struct batadv_priv *bat_priv , size_t idx );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
idx index of counter to sum up
RETURN sum of all cpu-local counters
SEE ALSO K... |
batadv_test_bit(9) | NAME batadv_test_bit - check if bit is set in the current window
SYNOPSIS bool batadv_test_bit (const unsigned long *seq_bits , u32 last_seqno , u32 curr_seqno );
ARGUMENTS seq_bits pointer to the sequence number receive packet
last_seqno latest sequence number in seq_bits
curr_seqno sequence num... |
batadv_throw_uevent(9) | NAME batadv_throw_uevent - Send an uevent with batman-adv specific env data
SYNOPSIS int batadv_throw_uevent (struct batadv_priv *bat_priv , enum batadv_uev_type type , enum batadv_uev_action action , const char *data );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
type su... |
batadv_tp_ack_unordered(9) | NAME batadv_tp_ack_unordered - update number received bytes in current stream without gaps
SYNOPSIS void batadv_tp_ack_unordered (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... |
batadv_tp_avail(9) | NAME batadv_tp_avail - check if congestion window is not full
SYNOPSIS bool batadv_tp_avail (struct batadv_tp_vars *tp_vars , size_t payload_len );
ARGUMENTS tp_vars the private data of the current TP meter session
payload_len size of the payload of a single message
RETURN true when congestion window is ... |
batadv_tp_batctl_error_notify(9) | NAME batadv_tp_batctl_error_notify - send client error result to client
SYNOPSIS void batadv_tp_batctl_error_notify (enum batadv_tp_meter_reason reason , const u8 *dst , struct batadv_priv *bat_priv , u32 cookie );
ARGUMENTS reason reason for tp meter session stop
dst destination of tp_meter sess... |
batadv_tp_batctl_notify(9) | NAME batadv_tp_batctl_notify - send client status result to client
SYNOPSIS void batadv_tp_batctl_notify (enum batadv_tp_meter_reason reason , const u8 *dst , struct batadv_priv *bat_priv , unsigned long start_time , u64 total_sent , u32 cookie );
ARGUMENTS reason reason for tp meter session stop
dst ... |
batadv_tp_cwnd(9) | NAME batadv_tp_cwnd - compute the new cwnd size
SYNOPSIS u32 batadv_tp_cwnd (u32 base , u32 increment , u32 min );
ARGUMENTS base base cwnd size value
increment the value to add to base to get the new size
min minimum cwnd value (usually MSS)
DESCRIPTION Return the new cwnd size and ... |
batadv_tp_fill_prerandom(9) | NAME batadv_tp_fill_prerandom - Fill buffer with prefetched random bytes
SYNOPSIS void batadv_tp_fill_prerandom (struct batadv_tp_vars *tp_vars , u8 *buf , size_t nbytes );
ARGUMENTS tp_vars the private TP meter data for this session
buf Buffer to fill with bytes
nbytes amount of pseu... |
batadv_tp_handle_out_of_order(9) | NAME batadv_tp_handle_out_of_order - store an out of order packet
SYNOPSIS bool batadv_tp_handle_out_of_order (struct batadv_tp_vars *tp_vars , const struct sk_buff *skb );
ARGUMENTS tp_vars the private data of the current TP meter session
skb the buffer containing the received packet
DESCRIPTION... |
batadv_tp_init_recv(9) | NAME batadv_tp_init_recv - return matching or create new receiver tp_vars
SYNOPSIS struct batadv_tp_vars * batadv_tp_init_recv (struct batadv_priv *bat_priv , const struct batadv_icmp_tp_packet *icmp );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
icmp received icmp tp msg... |
batadv_tp_is_error(9) | NAME batadv_tp_is_error - Check throughput meter return code for error
SYNOPSIS batadv_tp_is_error (n );
ARGUMENTS n throughput meter return code
RETURN 0 when not error was detected, != 0 otherwise
SEE ALSO Kernel file ./include/uapi/linux/batadv_packet.h enum batadv_packettype(9), enum batadv_subtype(... |
batadv_tp_list_find(9) | NAME batadv_tp_list_find - find a tp_vars object in the global list
SYNOPSIS struct batadv_tp_vars * batadv_tp_list_find (struct batadv_priv *bat_priv , const u8 *dst );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
dst the other endpoint MAC address to look for
DESCRIPTI... |
batadv_tp_list_find_session(9) | NAME batadv_tp_list_find_session - find tp_vars session object in the global list
SYNOPSIS struct batadv_tp_vars * batadv_tp_list_find_session (struct batadv_priv *bat_priv , const u8 *dst , const u8 *session );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
dst the other e... |
batadv_tp_meter_init(9) | NAME batadv_tp_meter_init - initialize global tp_meter structures
SYNOPSIS void batadv_tp_meter_init (void );
ARGUMENTS void no arguments
SEE ALSO Kernel file ./net/batman-adv/tp_meter.c BATADV_TP_DEF_TEST_LENGTH(9), BATADV_TP_AWND(9), BATADV_TP_RECV_TIMEOUT(9), BATADV_TP_MAX_RTO(9), BATADV_TP_FIRST... |
batadv_tp_meter_recv(9) | NAME batadv_tp_meter_recv - main TP Meter receiving function
SYNOPSIS void batadv_tp_meter_recv (struct batadv_priv *bat_priv , struct sk_buff *skb );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb the buffer containing the received packet
SEE ALSO Kernel file ./ne... |
batadv_tp_receiver_shutdown(9) | NAME batadv_tp_receiver_shutdown - stop a tp meter receiver when timeout is reached without received ack
SYNOPSIS void batadv_tp_receiver_shutdown (struct timer_list *t );
ARGUMENTS t address to timer_list inside tp_vars
SEE ALSO Kernel file ./net/batman-adv/tp_meter.c BATADV_TP_DEF_TEST_LENGTH(9), ... |
batadv_tp_recv_ack(9) | NAME batadv_tp_recv_ack - ACK receiving function
SYNOPSIS void batadv_tp_recv_ack (struct batadv_priv *bat_priv , const struct sk_buff *skb );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb the buffer containing the received packet
DESCRIPTION Process a received TP ACK... |
batadv_tp_recv_msg(9) | NAME batadv_tp_recv_msg - process a single data message
SYNOPSIS void batadv_tp_recv_msg (struct batadv_priv *bat_priv , const struct sk_buff *skb );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
skb the buffer containing the received packet
DESCRIPTION Process a received... |
batadv_tp_reset_receiver_timer(9) | NAME batadv_tp_reset_receiver_timer - reset the receiver shutdown timer
SYNOPSIS void batadv_tp_reset_receiver_timer (struct batadv_tp_vars *tp_vars );
ARGUMENTS tp_vars the private data of the current TP meter session
DESCRIPTION start the receiver shutdown timer or reset it if already started
SEE ALSO Kernel ... |
batadv_tp_reset_sender_timer(9) | NAME batadv_tp_reset_sender_timer - reschedule the sender timer
SYNOPSIS void batadv_tp_reset_sender_timer (struct batadv_tp_vars *tp_vars );
ARGUMENTS tp_vars the private TP meter data for this session
DESCRIPTION Reschedule the timer using tp_vars->rto as delay
SEE ALSO Kernel file ./net/batman-adv/tp_met... |
batadv_tp_send(9) | NAME batadv_tp_send - main sending thread of a tp meter session
SYNOPSIS int batadv_tp_send (void *arg );
ARGUMENTS arg address of the related tp_vars
RETURN nothing, this function never returns
SEE ALSO Kernel file ./net/batman-adv/tp_meter.c BATADV_TP_DEF_TEST_LENGTH(9), BATADV_TP_AWND(9), BATADV_... |
batadv_tp_send_ack(9) | NAME batadv_tp_send_ack - send an ACK packet
SYNOPSIS int batadv_tp_send_ack (struct batadv_priv *bat_priv , const u8 *dst , u32 seq , __be32 timestamp , const u8 *session , int socket_index );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
dst the mac address of the destin... |
batadv_tp_send_msg(9) | NAME batadv_tp_send_msg - send a single message
SYNOPSIS int batadv_tp_send_msg (struct batadv_tp_vars *tp_vars , const u8 *src , struct batadv_orig_node *orig_node , u32 seqno , size_t len , const u8 *session , int uid , u32 timestamp );
ARGUMENTS tp_vars the private TP meter data for this session
src ... |
batadv_tp_sender_cleanup(9) | NAME batadv_tp_sender_cleanup - cleanup sender data and drop and timer
SYNOPSIS void batadv_tp_sender_cleanup (struct batadv_priv *bat_priv , struct batadv_tp_vars *tp_vars );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
tp_vars the private data of the current TP meter sessio... |
batadv_tp_sender_end(9) | NAME batadv_tp_sender_end - print info about ended session and inform client
SYNOPSIS void batadv_tp_sender_end (struct batadv_priv *bat_priv , struct batadv_tp_vars *tp_vars );
ARGUMENTS bat_priv the bat priv with all the mesh interface information
tp_vars the private data of the current TP meter sess... |
batadv_tp_sender_finish(9) | NAME batadv_tp_sender_finish - stop sender session after test_length was reached
SYNOPSIS void batadv_tp_sender_finish (struct work_struct *work );
ARGUMENTS work delayed work reference of the related tp_vars
SEE ALSO Kernel file ./net/batman-adv/tp_meter.c BATADV_TP_DEF_TEST_LENGTH(9), BATADV_TP_AWND(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.