Lines Matching +full:multi +full:- +full:tt

1 /* SPDX-License-Identifier: GPL-2.0 */
13 #define BATADV_DRIVER_DEVICE "batman-adv"
32 * -> TODO: check influence on BATADV_TQ_LOCAL_WINDOW_SIZE
63 /* number of OGMs sent with the last tt diff */
78 /* default interface for multi interface operation. The default interface is
100 /* BATADV_TQ_SIMILARITY_THRESHOLD - TQ points that a secondary metric can differ
106 * forw_packet->direct_link_flags
127 * BATADV_TP_MAX_NUM - maximum number of simultaneously active tp sessions
132 * enum batadv_mesh_state - State of a soft interface
149 * enum batadv_uev_action - action type of uevent
174 * enum batadv_uev_type - Type of uevent
202 /* Append 'batman-adv: ' before kernel messages */
222 * batadv_print_vid() - return printable version of vid information
225 * Return: -1 when no VLAN is used, VLAN id otherwise
232 return -1; in batadv_print_vid()
257 * batadv_compare_eth() - Compare two not u16 aligned Ethernet addresses
258 * @data1: Pointer to a six-byte array containing the Ethernet address
259 * @data2: Pointer other six-byte array containing the Ethernet address
271 * batadv_has_timed_out() - compares current time (jiffies) and timestamp +
285 * batadv_atomic_dec_not_zero() - Decrease unless the number is 0
288 * Return: non-zero if v was not 0, and zero otherwise.
290 #define batadv_atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0)
293 * batadv_smallest_signed_int() - Returns the smallest signed integer in two's
299 #define batadv_smallest_signed_int(x) (1u << (7u + 8u * (sizeof(x) - 1u)))
302 * batadv_seq_before() - Checks if a sequence number x is a predecessor of y
308 * 2**(bitwidth(x)-1)-1.
312 * * when adding nothing - it is neither a predecessor nor a successor
313 * * before adding more than 127 to the starting value - it is a predecessor,
314 * * when adding 128 - it is neither a predecessor nor a successor,
315 * * after adding more than 127 to the starting value - it is a successor
322 typeof(x)_dummy = (_d1 - _d2); \
328 * batadv_seq_after() - Checks if a sequence number x is a successor of y
334 * 2**(bitwidth(x)-1)-1.
338 * * when adding nothing - it is neither a predecessor nor a successor
339 * * before adding more than 127 to the starting value - it is a predecessor,
340 * * when adding 128 - it is neither a predecessor nor a successor,
341 * * after adding more than 127 to the starting value - it is a successor
348 * batadv_add_counter() - Add to per cpu statistics counter of soft interface
358 this_cpu_add(bat_priv->bat_counters[idx], count); in batadv_add_counter()
362 * batadv_inc_counter() - Increase per cpu statistics counter of soft interface
369 * BATADV_SKB_CB() - Get batadv_skb_cb from skb control buffer
377 #define BATADV_SKB_CB(__skb) ((struct batadv_skb_cb *)&((__skb)->cb[0]))