id
stringlengths
4
63
text
stringlengths
153
8.81M
bang_bang_trip_crossed(9)
NAME bang_bang_trip_crossed - controls devices associated with the given zone SYNOPSIS void bang_bang_trip_crossed (struct thermal_zone_device *tz , const struct thermal_trip *trip , bool upward ); ARGUMENTS tz thermal_zone_device trip the trip point upward whether or not the trip...
bar2_address(9)
NAME bar2_address - return the BAR2 address for an SGE Queue's Registers SYNOPSIS void __iomem * bar2_address (struct adapter *adapter , unsigned int qid , enum t4_bar2_qtype qtype , unsigned int *pbar2_qid ); ARGUMENTS adapter the adapter qid the SGE Queue ID qtype the SGE Queue Typ...
base32(1)
NAME base32 - base32 encode/decode data and print to standard output SYNOPSIS base32 [OPTION]... [FILE] DESCRIPTION Base32 encode or decode FILE, or standard input, to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short opt...
base64(1)
NAME base64 - base64 encode/decode data and print to standard output SYNOPSIS base64 [OPTION]... [FILE] DESCRIPTION Base64 encode or decode FILE, or standard input, to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short opt...
base64_decode(9)
NAME base64_decode - Base64-decode a string SYNOPSIS int base64_decode (const char *src , int srclen , u8 *dst , bool padding , enum base64_variant variant ); ARGUMENTS src the string to decode. Doesn't need to be NUL-terminated. srclen the length of src in bytes dst (output) the...
base64_encode(9)
NAME base64_encode - Base64-encode some binary data SYNOPSIS int base64_encode (const u8 *src , int srclen , char *dst , bool padding , enum base64_variant variant ); ARGUMENTS src the binary data to encode srclen the length of src in bytes dst (output) the Base64-encoded string. ...
base_alloc_rdpq_dma_pool(9)
NAME base_alloc_rdpq_dma_pool - Allocating DMA'able memory for reply queues. SYNOPSIS int base_alloc_rdpq_dma_pool (struct MPT3SAS_ADAPTER *ioc , int sz ); ARGUMENTS ioc per adapter object sz DMA Pool size RETURN 0 for success, non-zero for failure. SEE ALSO Kernel file ./drivers/sc...
base_asce_alloc(9)
NAME base_asce_alloc - create kernel mapping without enhanced DAT features SYNOPSIS unsigned long base_asce_alloc (unsigned long addr , unsigned long num_pages ); ARGUMENTS addr virtual start address of kernel mapping num_pages number of consecutive pages DESCRIPTION Generate an asce, including all ...
base_asce_free(9)
NAME base_asce_free - free asce and tables returned from base_asce_alloc() SYNOPSIS void base_asce_free (unsigned long asce ); ARGUMENTS asce asce to be freed DESCRIPTION Frees all region, segment, and page tables that were allocated with a corresponding base_asce_alloc call. SEE ALSO Kernel file ./arch/s390...
base_make_prp_nvme(9)
NAME base_make_prp_nvme - Prepare PRPs (Physical Region Page) - SGLs specific to NVMe drives only SYNOPSIS void base_make_prp_nvme (struct MPT3SAS_ADAPTER *ioc , struct scsi_cmnd *scmd , Mpi25SCSIIORequest_t *mpi_request , u16 smid , int sge_count ); ARGUMENTS ioc per adapter object scmd SCSI c...
basename(1)
NAME basename - strip directory and suffix from filenames SYNOPSIS basename NAME [SUFFIX] basename OPTION... NAME... DESCRIPTION Print NAME with any leading directory components removed. If specified, also remove a trailing SUFFIX. Mandatory arguments to long options are mandatory for short options too. ...
basename(1p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME basename — return non-directory portion of a pathname SYN...
basename(3)
NAME basename, dirname - parse pathname components LIBRARY Standard C library (libc, -lc) SYNOPSIS #include <libgen.h> char *dirname(char *path); char *basename(char *path); DESCRIPTION Warning: there are two different functions basename(); see below. The functions dirname() and basename() br...
basename(3p)
PROLOG This manual page is part of the POSIX Programmer's Manual. The Linux implementation of this interface may differ (consult the corresponding Linux manual page for details of Linux behavior), or the interface may not be implemented on Linux. NAME basename — return the last component of a pathname SYNOPSIS #i...
basename(9)
NAME basename - find the last component of an hname SYNOPSIS const char * basename (const char *hname ); ARGUMENTS hname hname to find the base profile name component of (NOT NULL) RETURN the tail (base profile name) name component of an hname SEE ALSO Kernel file ./security/apparmor/include/lib.h aa_strneq(...
basenc(1)
NAME basenc - Encode/decode data and print to standard output SYNOPSIS basenc [OPTION]... [FILE] DESCRIPTION basenc encode or decode FILE, or standard input, to standard output. With no FILE, or when FILE is -, read standard input. Mandatory arguments to long options are mandatory for short options to...
bash(1)
NAME bash - GNU Bourne-Again SHell SYNOPSIS bash [options] [command_string | file] COPYRIGHT Bash is Copyright (C) 1989-2025 by the Free Software Foundation, Inc. DESCRIPTION Bash is a command language interpreter that executes commands read from the standard input, from a string, or from a file. It is a reimpleme...
bashbug(1)
NAME bashbug - report a bug in bash SYNOPSIS bashbug [--version] [--help] [email-address] DESCRIPTION bashbug is a shell script to help the user compose and mail bug reports concerning bash in a standard format. bashbug invokes the editor specified by the environment variable EDITOR on a temporary copy of the bug r...
bashreadline.bt(8)
NAME bashreadline.bt - Print bash commands system wide. Uses bpftrace/eBPF. SYNOPSIS bashreadline.bt DESCRIPTION bashreadline traces the return of the readline() function using uretprobes, to show the bash commands that were entered interactively, system wide. The entered command may fail: this is just showing what w...
baswap(9)
NAME baswap - Swaps the order of a bd address SYNOPSIS void baswap (bdaddr_t *dst , const bdaddr_t *src ); ARGUMENTS dst Pointer to a bdaddr_t struct that will store the swapped bd address. src Pointer to the bdaddr_t struct to be swapped. DESCRIPTION This function reverses the byte order of ...
bat(1)
NAME bat - a cat(1) clone with syntax highlighting and Git integration. USAGE bat [OPTIONS] [FILE]... bat cache [CACHE-OPTIONS] [--build|--clear] DESCRIPTION bat prints the syntax-highlighted content of a collection of FILEs to the terminal. If no FILE is specified, or when FILE is '-', it reads from standard...
batadv_add_counter(9)
NAME batadv_add_counter - Add to per cpu statistics counter of mesh interface SYNOPSIS void batadv_add_counter (struct batadv_priv *bat_priv , size_t idx , size_t count ); ARGUMENTS bat_priv the bat priv with all the mesh interface information idx counter index which should be modified coun...
batadv_algo_dump(9)
NAME batadv_algo_dump - fill in information about supported routing algorithms SYNOPSIS int batadv_algo_dump (struct sk_buff *msg , struct netlink_callback *cb ); ARGUMENTS msg netlink message to be sent back cb Parameters to the netlink request RETURN Length of reply message. SEE ALSO Kern...
batadv_algo_dump_entry(9)
NAME batadv_algo_dump_entry - fill in information about one supported routing algorithm SYNOPSIS int batadv_algo_dump_entry (struct sk_buff *msg , u32 portid , u32 seq , struct batadv_algo_ops *bat_algo_ops ); ARGUMENTS msg netlink message to be sent back portid Port to reply to seq ...
batadv_algo_get(9)
NAME batadv_algo_get - Search for algorithm with specific name SYNOPSIS struct batadv_algo_ops * batadv_algo_get (const char *name ); ARGUMENTS name algorithm name to find RETURN Pointer to batadv_algo_ops on success, NULL otherwise SEE ALSO Kernel file ./net/batman-adv/bat_algo.c batadv_algo_init(9), batadv...
batadv_algo_init(9)
NAME batadv_algo_init - Initialize batman-adv algorithm management data structures SYNOPSIS void batadv_algo_init (void ); ARGUMENTS void no arguments SEE ALSO Kernel file ./net/batman-adv/bat_algo.c batadv_algo_get(9), batadv_algo_register(9), batadv_algo_select(9), batadv_algo_dump_entry(9), batadv_algo_dum...
batadv_algo_register(9)
NAME batadv_algo_register - Register callbacks for a mesh algorithm SYNOPSIS int batadv_algo_register (struct batadv_algo_ops *bat_algo_ops ); ARGUMENTS bat_algo_ops mesh algorithm callbacks to add RETURN 0 on success or negative error number in case of failure SEE ALSO Kernel file ./net/batman-adv/bat_algo.c batad...
batadv_algo_select(9)
NAME batadv_algo_select - Select algorithm of mesh interface SYNOPSIS int batadv_algo_select (struct batadv_priv *bat_priv , const char *name ); ARGUMENTS bat_priv the bat priv with all the mesh interface information name name of the algorithm to select DESCRIPTION The algorithm callbacks for the m...
batadv_arp_get_type(9)
NAME batadv_arp_get_type - parse an ARP packet and gets the type SYNOPSIS u16 batadv_arp_get_type (struct batadv_priv *bat_priv , struct sk_buff *skb , int hdr_size ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb packet to analyse hdr_size size of the possi...
batadv_arp_hw_dst(9)
NAME batadv_arp_hw_dst - extract the hw_dst field from an ARP packet SYNOPSIS u8 * batadv_arp_hw_dst (struct sk_buff *skb , int hdr_size ); ARGUMENTS skb ARP packet hdr_size size of the possible header before the ARP packet RETURN the value of the hw_dst field in the ARP packet. SEE ALSO Kernel ...
batadv_arp_hw_src(9)
NAME batadv_arp_hw_src - extract the hw_src field from an ARP packet SYNOPSIS u8 * batadv_arp_hw_src (struct sk_buff *skb , int hdr_size ); ARGUMENTS skb ARP packet hdr_size size of the possible header before the ARP packet RETURN the value of the hw_src field in the ARP packet. SEE ALSO Kernel ...
batadv_arp_ip_dst(9)
NAME batadv_arp_ip_dst - extract the ip_dst field from an ARP packet SYNOPSIS __be32 batadv_arp_ip_dst (struct sk_buff *skb , int hdr_size ); ARGUMENTS skb ARP packet hdr_size size of the possible header before the ARP packet RETURN the value of the ip_dst field in the ARP packet. SEE ALSO Kernel...
batadv_arp_ip_src(9)
NAME batadv_arp_ip_src - extract the ip_src field from an ARP packet SYNOPSIS __be32 batadv_arp_ip_src (struct sk_buff *skb , int hdr_size ); ARGUMENTS skb ARP packet hdr_size size of the possible header before the ARP packet RETURN the value of the ip_src field in the ARP packet. SEE ALSO Kernel...
batadv_atomic_dec_not_zero(9)
NAME batadv_atomic_dec_not_zero - Decrease unless the number is 0 SYNOPSIS batadv_atomic_dec_not_zero (v ); ARGUMENTS v pointer of type atomic_t RETURN non-zero if v was not 0, and zero otherwise. SEE ALSO Kernel file ./net/batman-adv/main.h BATADV_TP_MAX_NUM(9), enum batadv_mesh_state(9), enum batadv_u...
batadv_backbone_gw_put(9)
NAME batadv_backbone_gw_put - decrement the backbone gw refcounter and possibly release it SYNOPSIS void batadv_backbone_gw_put (struct batadv_bla_backbone_gw *backbone_gw ); ARGUMENTS backbone_gw backbone gateway to be free'd SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim(9), b...
batadv_backbone_gw_release(9)
NAME batadv_backbone_gw_release - release backbone gw from lists and queue for free after rcu grace period SYNOPSIS void batadv_backbone_gw_release (struct kref *ref ); ARGUMENTS ref kref pointer of the backbone gw SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim(9), bata...
batadv_backbone_hash_find(9)
NAME batadv_backbone_hash_find - looks for a backbone gateway in the hash SYNOPSIS struct batadv_bla_backbone_gw * batadv_backbone_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 address...
batadv_batman_skb_recv(9)
NAME batadv_batman_skb_recv - Handle incoming message from an hard interface SYNOPSIS int batadv_batman_skb_recv (struct sk_buff *skb , struct net_device *dev , struct packet_type *ptype , struct net_device *orig_dev ); ARGUMENTS skb the received packet dev the net device that the packet was r...
batadv_bit_get_packet(9)
NAME batadv_bit_get_packet - receive and process one packet within the sequence number window SYNOPSIS bool batadv_bit_get_packet (void *priv , unsigned long *seq_bits , s32 seq_num_diff , int set_mark ); ARGUMENTS priv the bat priv with all the mesh interface information seq_bits pointer to the seq...
batadv_bla_add_claim(9)
NAME batadv_bla_add_claim - Adds a claim in the claim hash SYNOPSIS void batadv_bla_add_claim (struct batadv_priv *bat_priv , const u8 *mac , const unsigned short vid , struct batadv_bla_backbone_gw *backbone_gw ); ARGUMENTS bat_priv the bat priv with all the mesh interface information mac the mac ...
batadv_bla_answer_request(9)
NAME batadv_bla_answer_request - answer a bla request by sending own claims SYNOPSIS void batadv_bla_answer_request (struct batadv_priv *bat_priv , struct batadv_hard_iface *primary_if , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information primary_if interface wher...
batadv_bla_backbone_dump(9)
NAME batadv_bla_backbone_dump - dump backbone table to a netlink socket SYNOPSIS int batadv_bla_backbone_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 file ./...
batadv_bla_backbone_dump_bucket(9)
NAME batadv_bla_backbone_dump_bucket - dump one bucket of the backbone table to a netlink socket SYNOPSIS int batadv_bla_backbone_dump_bucket (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_hard_iface *primary_if , struct batadv_hashtable *hash , unsigned int bucket , int *idx_skip ); ...
batadv_bla_backbone_dump_entry(9)
NAME batadv_bla_backbone_dump_entry - dump one entry of the backbone table to a netlink socket SYNOPSIS int batadv_bla_backbone_dump_entry (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_hard_iface *primary_if , struct batadv_bla_backbone_gw *backbone_gw ); ARGUMENTS msg buffer...
batadv_bla_check_bcast_duplist(9)
NAME batadv_bla_check_bcast_duplist - Check if a frame is in the broadcast dup. SYNOPSIS bool batadv_bla_check_bcast_duplist (struct batadv_priv *bat_priv , struct sk_buff *skb ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb contains the bcast_packet to be checked DE...
batadv_bla_check_claim(9)
NAME batadv_bla_check_claim - check if address is claimed SYNOPSIS bool batadv_bla_check_claim (struct batadv_priv *bat_priv , u8 *addr , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information addr mac address of which the claim status is checked vid ...
batadv_bla_check_duplist(9)
NAME batadv_bla_check_duplist - Check if a frame is in the broadcast dup. SYNOPSIS bool batadv_bla_check_duplist (struct batadv_priv *bat_priv , struct sk_buff *skb , int payload_offset , const u8 *orig ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb contains the mult...
batadv_bla_check_ucast_duplist(9)
NAME batadv_bla_check_ucast_duplist - Check if a frame is in the broadcast dup. SYNOPSIS bool batadv_bla_check_ucast_duplist (struct batadv_priv *bat_priv , struct sk_buff *skb ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb contains the multicast packet to be checked...
batadv_bla_claim_dump(9)
NAME batadv_bla_claim_dump - dump claim table to a netlink socket SYNOPSIS int batadv_bla_claim_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 file ./net/batma...
batadv_bla_claim_dump_bucket(9)
NAME batadv_bla_claim_dump_bucket - dump one bucket of the claim table to a netlink socket SYNOPSIS int batadv_bla_claim_dump_bucket (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_hard_iface *primary_if , struct batadv_hashtable *hash , unsigned int bucket , int *idx_skip ); ARGUMENTS...
batadv_bla_claim_dump_entry(9)
NAME batadv_bla_claim_dump_entry - dump one entry of the claim table to a netlink socket SYNOPSIS int batadv_bla_claim_dump_entry (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_hard_iface *primary_if , struct batadv_bla_claim *claim ); ARGUMENTS msg buffer for the message ...
batadv_bla_claim_get_backbone_gw(9)
NAME batadv_bla_claim_get_backbone_gw - Get valid reference for backbone_gw of claim SYNOPSIS struct batadv_bla_backbone_gw * batadv_bla_claim_get_backbone_gw (struct batadv_bla_claim *claim ); ARGUMENTS claim claim whose backbone_gw should be returned RETURN valid reference to claim::backbone_gw SEE ALSO Ker...
batadv_bla_del_backbone_claims(9)
NAME batadv_bla_del_backbone_claims - delete all claims for a backbone SYNOPSIS void batadv_bla_del_backbone_claims (struct batadv_bla_backbone_gw *backbone_gw ); ARGUMENTS backbone_gw backbone gateway where the claims should be removed SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choos...
batadv_bla_del_claim(9)
NAME batadv_bla_del_claim - delete a claim from the claim hash SYNOPSIS void batadv_bla_del_claim (struct batadv_priv *bat_priv , const u8 *mac , const unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information mac mac address of the claim to be removed vi...
batadv_bla_free(9)
NAME batadv_bla_free - free all bla structures SYNOPSIS void batadv_bla_free (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information DESCRIPTION for meshinterface free or module unload SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choose_cl...
batadv_bla_get_backbone_gw(9)
NAME batadv_bla_get_backbone_gw - finds or creates a backbone gateway SYNOPSIS struct batadv_bla_backbone_gw * batadv_bla_get_backbone_gw (struct batadv_priv *bat_priv , const u8 *orig , unsigned short vid , bool own_backbone ); ARGUMENTS bat_priv the bat priv with all the mesh interface information orig ...
batadv_bla_init(9)
NAME batadv_bla_init - initialize all bla structures SYNOPSIS int batadv_bla_init (struct batadv_priv *bat_priv ); ARGUMENTS bat_priv the bat priv with all the mesh interface information RETURN 0 on success, < 0 on error. SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim(9), bata...
batadv_bla_is_backbone_gw(9)
NAME batadv_bla_is_backbone_gw - check if originator is a backbone gw for a VLAN SYNOPSIS bool batadv_bla_is_backbone_gw (struct sk_buff *skb , struct batadv_orig_node *orig_node , int hdr_size ); ARGUMENTS skb the frame to be checked orig_node the orig_node of the frame hdr_size maximum ...
batadv_bla_is_backbone_gw_orig(9)
NAME batadv_bla_is_backbone_gw_orig - Check if the originator is a gateway for the VLAN identified by vid. SYNOPSIS bool batadv_bla_is_backbone_gw_orig (struct batadv_priv *bat_priv , u8 *orig , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information orig origin...
batadv_bla_is_loopdetect_mac(9)
NAME batadv_bla_is_loopdetect_mac - check if the mac address is from a loop detect frame sent by bridge loop avoidance SYNOPSIS bool batadv_bla_is_loopdetect_mac (const uint8_t *mac ); ARGUMENTS mac mac address to check RETURN true if the it looks like a loop detect frame (mac starts with BA:BE), false other...
batadv_bla_loopdetect_check(9)
NAME batadv_bla_loopdetect_check - check and handle a detected loop SYNOPSIS bool batadv_bla_loopdetect_check (struct batadv_priv *bat_priv , struct sk_buff *skb , struct batadv_hard_iface *primary_if , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb ...
batadv_bla_loopdetect_report(9)
NAME batadv_bla_loopdetect_report - worker for reporting the loop SYNOPSIS void batadv_bla_loopdetect_report (struct work_struct *work ); ARGUMENTS work work queue item DESCRIPTION Throws an uevent, as the loopdetect check function can't do that itself since the kernel may sleep while throwing uevents. SEE A...
batadv_bla_periodic_work(9)
NAME batadv_bla_periodic_work - performs periodic bla work SYNOPSIS void batadv_bla_periodic_work (struct work_struct *work ); ARGUMENTS work kernel work struct DESCRIPTION periodic work to do: * purge structures when they are too old * send announcements SEE ALSO Kernel file ./net/batman-adv/bridge_loop_av...
batadv_bla_process_claim(9)
NAME batadv_bla_process_claim - Check if this is a claim frame, and process it SYNOPSIS bool batadv_bla_process_claim (struct batadv_priv *bat_priv , struct batadv_hard_iface *primary_if , struct sk_buff *skb ); ARGUMENTS bat_priv the bat priv with all the mesh interface information primary_if the primary...
batadv_bla_purge_backbone_gw(9)
NAME batadv_bla_purge_backbone_gw - Remove backbone gateways after a timeout or immediately SYNOPSIS void batadv_bla_purge_backbone_gw (struct batadv_priv *bat_priv , int now ); ARGUMENTS bat_priv the bat priv with all the mesh interface information now whether the whole hash shall be wiped now DE...
batadv_bla_purge_claims(9)
NAME batadv_bla_purge_claims - Remove claims after a timeout or immediately SYNOPSIS void batadv_bla_purge_claims (struct batadv_priv *bat_priv , struct batadv_hard_iface *primary_if , int now ); ARGUMENTS bat_priv the bat priv with all the mesh interface information primary_if the selected primary interf...
batadv_bla_rx(9)
NAME batadv_bla_rx - check packets coming from the mesh. SYNOPSIS bool batadv_bla_rx (struct batadv_priv *bat_priv , struct sk_buff *skb , unsigned short vid , int packet_type ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb the frame to be checked vid ...
batadv_bla_send_announce(9)
NAME batadv_bla_send_announce - Send an announcement frame SYNOPSIS void batadv_bla_send_announce (struct batadv_priv *bat_priv , struct batadv_bla_backbone_gw *backbone_gw ); ARGUMENTS bat_priv the bat priv with all the mesh interface information backbone_gw our backbone gateway which should be announced ...
batadv_bla_send_claim(9)
NAME batadv_bla_send_claim - sends a claim frame according to the provided info SYNOPSIS void batadv_bla_send_claim (struct batadv_priv *bat_priv , const u8 *mac , unsigned short vid , int claimtype ); ARGUMENTS bat_priv the bat priv with all the mesh interface information mac the mac address to be...
batadv_bla_send_loopdetect(9)
NAME batadv_bla_send_loopdetect - send a loopdetect frame SYNOPSIS void batadv_bla_send_loopdetect (struct batadv_priv *bat_priv , struct batadv_bla_backbone_gw *backbone_gw ); ARGUMENTS bat_priv the bat priv with all the mesh interface information backbone_gw the backbone gateway for which a loop should b...
batadv_bla_send_request(9)
NAME batadv_bla_send_request - send a request to repeat claims SYNOPSIS void batadv_bla_send_request (struct batadv_bla_backbone_gw *backbone_gw ); ARGUMENTS backbone_gw the backbone gateway from whom we are out of sync DESCRIPTION When the crc is wrong, ask the backbone gateway for a full table update. After the r...
batadv_bla_status_update(9)
NAME batadv_bla_status_update - purge bla interfaces if necessary SYNOPSIS void batadv_bla_status_update (struct net_device *net_dev ); ARGUMENTS net_dev the mesh interface net device SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim(9), batadv_choose_backbone_gw(9), batadv_compa...
batadv_bla_tx(9)
NAME batadv_bla_tx - check packets going into the mesh SYNOPSIS bool batadv_bla_tx (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 the frame to be checked vid the VLAN ID of the f...
batadv_bla_update_orig_address(9)
NAME batadv_bla_update_orig_address - Update the backbone gateways when the own originator address changes SYNOPSIS void batadv_bla_update_orig_address (struct batadv_priv *bat_priv , struct batadv_hard_iface *primary_if , struct batadv_hard_iface *oldif ); ARGUMENTS bat_priv the bat priv with all the mesh interfa...
batadv_bla_update_own_backbone_gw(9)
NAME batadv_bla_update_own_backbone_gw - updates the own backbone gw for a VLAN SYNOPSIS void batadv_bla_update_own_backbone_gw (struct batadv_priv *bat_priv , struct batadv_hard_iface *primary_if , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information primary_if th...
batadv_check_claim_group(9)
NAME batadv_check_claim_group - check for claim group membership SYNOPSIS int batadv_check_claim_group (struct batadv_priv *bat_priv , struct batadv_hard_iface *primary_if , u8 *hw_src , u8 *hw_dst , struct ethhdr *ethhdr ); ARGUMENTS bat_priv the bat priv with all the mesh interface information primary_if...
batadv_check_management_packet(9)
NAME batadv_check_management_packet - Check preconditions for management packets SYNOPSIS bool batadv_check_management_packet (struct sk_buff *skb , struct batadv_hard_iface *hard_iface , int header_len ); ARGUMENTS skb incoming packet buffer hard_iface incoming hard interface header_len min...
batadv_check_unicast_packet(9)
NAME batadv_check_unicast_packet - Check for malformed unicast packets SYNOPSIS int batadv_check_unicast_packet (struct batadv_priv *bat_priv , struct sk_buff *skb , int hdr_size ); ARGUMENTS bat_priv the bat priv with all the mesh interface information skb packet to check hdr_size size ...
batadv_choose_backbone_gw(9)
NAME batadv_choose_backbone_gw - choose the right bucket for a backbone gateway. SYNOPSIS u32 batadv_choose_backbone_gw (const void *data , u32 size ); ARGUMENTS data data to hash size size of the hash table RETURN the hash index of the backbone gateway SEE ALSO Kernel file ./net/batman-adv/...
batadv_choose_claim(9)
NAME batadv_choose_claim - choose the right bucket for a claim. SYNOPSIS u32 batadv_choose_claim (const void *data , u32 size ); ARGUMENTS data data to hash size size of the hash table RETURN the hash index of the claim SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choos...
batadv_choose_next_candidate(9)
NAME batadv_choose_next_candidate - select the next DHT candidate SYNOPSIS void batadv_choose_next_candidate (struct batadv_priv *bat_priv , struct batadv_dat_candidate *cands , int select , batadv_dat_addr_t ip_key , batadv_dat_addr_t *last_max ); ARGUMENTS bat_priv the bat priv with all the mesh interface inform...
batadv_choose_orig(9)
NAME batadv_choose_orig - Return the index of the orig entry in the hash table SYNOPSIS u32 batadv_choose_orig (const void *data , u32 size ); ARGUMENTS data mac address of the originator node size the size of the hash table RETURN the hash index where the object represented by data should be s...
batadv_choose_tt(9)
NAME batadv_choose_tt - return the index of the tt entry in the hash table SYNOPSIS u32 batadv_choose_tt (const void *data , u32 size ); ARGUMENTS data pointer to the tt_common_entry object to map size the size of the hash table RETURN the hash index where the object represented by 'data' shoul...
batadv_claim_hash_find(9)
NAME batadv_claim_hash_find - looks for a claim in the claim hash SYNOPSIS struct batadv_bla_claim * batadv_claim_hash_find (struct batadv_priv *bat_priv , struct batadv_bla_claim *data ); ARGUMENTS bat_priv the bat priv with all the mesh interface information data search data (may be local/static d...
batadv_claim_put(9)
NAME batadv_claim_put - decrement the claim refcounter and possibly release it SYNOPSIS void batadv_claim_put (struct batadv_bla_claim *claim ); ARGUMENTS claim claim to be free'd SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim(9), batadv_choose_backbone_gw(9), batadv_compare...
batadv_claim_release(9)
NAME batadv_claim_release - release claim from lists and queue for free after rcu grace period SYNOPSIS void batadv_claim_release (struct kref *ref ); ARGUMENTS ref kref pointer of the claim SEE ALSO Kernel file ./net/batman-adv/bridge_loop_avoidance.c batadv_choose_claim(9), batadv_choose_backbone_gw(9), b...
batadv_compare_backbone_gw(9)
NAME batadv_compare_backbone_gw - compare address and vid of two backbone gws SYNOPSIS bool batadv_compare_backbone_gw (const struct hlist_node *node , const void *data2 ); ARGUMENTS node list node of the first entry to compare data2 pointer to the second backbone gateway RETURN true if the back...
batadv_compare_claim(9)
NAME batadv_compare_claim - compare address and vid of two claims SYNOPSIS bool batadv_compare_claim (const struct hlist_node *node , const void *data2 ); ARGUMENTS node list node of the first entry to compare data2 pointer to the second claims RETURN true if the claim have the same data, 0 othe...
batadv_compare_dat(9)
NAME batadv_compare_dat - comparing function used in the local DAT hash table SYNOPSIS bool batadv_compare_dat (const struct hlist_node *node , const void *data2 ); ARGUMENTS node node in the local table data2 second object to compare the node to RETURN true if the two entries are the same, fals...
batadv_compare_eth(9)
NAME batadv_compare_eth - Compare two not u16 aligned Ethernet addresses SYNOPSIS bool batadv_compare_eth (const void *data1 , const void *data2 ); ARGUMENTS data1 Pointer to a six-byte array containing the Ethernet address data2 Pointer other six-byte array containing the Ethernet address NOTE c...
batadv_compare_orig(9)
NAME batadv_compare_orig - comparing function used in the originator hash table SYNOPSIS bool batadv_compare_orig (const struct hlist_node *node , const void *data2 ); ARGUMENTS node node in the local table data2 second object to compare the node to RETURN true if they are the same originator S...
batadv_compare_tt(9)
NAME batadv_compare_tt - check if two TT entries are the same SYNOPSIS bool batadv_compare_tt (const struct hlist_node *node , const void *data2 ); ARGUMENTS node the list element pointer of the first TT entry data2 pointer to the tt_common_entry of the second TT entry DESCRIPTION Compare the MA...
batadv_dat_addr_t(9)
Kernel API(9) API Manual Kernel API(9) NAME typedef batadv_dat_addr_t - type used for all DHT addresses Description If it is cha...
batadv_dat_arp_create_reply(9)
NAME batadv_dat_arp_create_reply - create an ARP Reply SYNOPSIS struct sk_buff * batadv_dat_arp_create_reply (struct batadv_priv *bat_priv , __be32 ip_src , __be32 ip_dst , u8 *hw_src , u8 *hw_dst , unsigned short vid ); ARGUMENTS bat_priv the bat priv with all the mesh interface information ip_src AR...
batadv_dat_cache_dump(9)
NAME batadv_dat_cache_dump - dump DAT cache table to a netlink socket SYNOPSIS int batadv_dat_cache_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 file ./net/...
batadv_dat_cache_dump_bucket(9)
NAME batadv_dat_cache_dump_bucket - dump one bucket of the DAT cache table to a netlink socket SYNOPSIS int batadv_dat_cache_dump_bucket (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_hashtable *hash , unsigned int bucket , int *idx_skip ); ARGUMENTS msg buffer for the message...
batadv_dat_cache_dump_entry(9)
NAME batadv_dat_cache_dump_entry - dump one entry of the DAT cache table to a netlink socket SYNOPSIS int batadv_dat_cache_dump_entry (struct sk_buff *msg , u32 portid , struct netlink_callback *cb , struct batadv_dat_entry *dat_entry ); ARGUMENTS msg buffer for the message portid netlink port ...
batadv_dat_check_dhcp(9)
NAME batadv_dat_check_dhcp - examine packet for valid DHCP message SYNOPSIS int batadv_dat_check_dhcp (struct sk_buff *skb , __be16 proto , __be32 *ip_src ); ARGUMENTS skb the packet to check proto ethernet protocol hint (behind a potential vlan) ip_src a buffer to store the IPv4 so...
batadv_dat_check_dhcp_ack(9)
NAME batadv_dat_check_dhcp_ack - examine packet for valid DHCP message SYNOPSIS bool batadv_dat_check_dhcp_ack (struct sk_buff *skb , __be16 proto , __be32 *ip_src , u8 *chaddr , __be32 *yiaddr ); ARGUMENTS skb the packet to check proto ethernet protocol hint (behind a potential vlan) ip...
batadv_dat_check_dhcp_ipudp(9)
NAME batadv_dat_check_dhcp_ipudp - check skb for IP+UDP headers valid for DHCP SYNOPSIS bool batadv_dat_check_dhcp_ipudp (struct sk_buff *skb , __be32 *ip_src ); ARGUMENTS skb the packet to check ip_src a buffer to store the IPv4 source address in DESCRIPTION Checks whether the given skb has an ...