Home
last modified time | relevance | path

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

/Linux-v4.19/net/batman-adv/
Dtp_meter.c98 static u8 batadv_tp_prerandom[4096] __read_mostly; variable
552 tp_vars->prerandom_offset %= sizeof(batadv_tp_prerandom); in batadv_tp_fill_prerandom()
556 local_offset %= sizeof(batadv_tp_prerandom); in batadv_tp_fill_prerandom()
557 bytes_inbuf = sizeof(batadv_tp_prerandom) - local_offset; in batadv_tp_fill_prerandom()
560 memcpy(&buf[pos], &batadv_tp_prerandom[local_offset], to_copy); in batadv_tp_fill_prerandom()
1504 get_random_bytes(batadv_tp_prerandom, sizeof(batadv_tp_prerandom)); in batadv_tp_meter_init()