Home
last modified time | relevance | path

Searched refs:BATADV_JITTER (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/net/batman-adv/
Dbat_v_elp.c52 msecs = atomic_read(&hard_iface->bat_v.elp_interval) - BATADV_JITTER; in batadv_v_elp_start_timer()
53 msecs += prandom_u32_max(2 * BATADV_JITTER); in batadv_v_elp_start_timer()
Dmain.h23 #define BATADV_JITTER 20 macro
Dbat_v_ogm.c110 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER; in batadv_v_ogm_start_timer()
111 msecs += prandom_u32_max(2 * BATADV_JITTER); in batadv_v_ogm_start_timer()
Dsysfs.c738 BATADV_ATTR_SIF_UINT(orig_interval, orig_interval, 0644, 2 * BATADV_JITTER,
1205 2 * BATADV_JITTER, INT_MAX, NULL);
Dbat_iv_ogm.c283 msecs = atomic_read(&bat_priv->orig_interval) - BATADV_JITTER; in batadv_iv_ogm_emit_send_time()
284 msecs += prandom_u32_max(2 * BATADV_JITTER); in batadv_iv_ogm_emit_send_time()
292 return jiffies + msecs_to_jiffies(prandom_u32_max(BATADV_JITTER / 2)); in batadv_iv_ogm_fwd_send_time()
Dnetlink.c612 orig_interval = max_t(u32, orig_interval, 2 * BATADV_JITTER); in batadv_netlink_set_mesh()