/Zephyr-latest/subsys/net/ip/ |
D | ipv4_autoconf.c | 33 ipv4auto->requested_ip.s4_addr[2] = sys_rand8_get() % 254; in ipv4_autoconf_addr_set() 34 ipv4auto->requested_ip.s4_addr[3] = sys_rand8_get() % 254; in ipv4_autoconf_addr_set()
|
/Zephyr-latest/include/zephyr/random/ |
D | random.h | 79 static inline uint8_t sys_rand8_get(void) in sys_rand8_get() function
|
/Zephyr-latest/tests/subsys/ipc/pbuf/src/ |
D | main.c | 214 int rpt = (sys_rand8_get() & 3) + 1; in stress_read() 238 uint16_t len = STRESS_LEN_MIN + (sys_rand8_get() % STRESS_LEN_MOD); in stress_write() 239 int rpt = (sys_rand8_get() & 1) + 1; in stress_write()
|
/Zephyr-latest/tests/net/hostname/src/ |
D | main.c | 85 data->mac_addr[5] = sys_rand8_get(); in net_iface_get_mac() 176 ctx->mac_address[5] = sys_rand8_get(); in eth_fake_iface_init()
|
/Zephyr-latest/tests/net/socket/af_packet_ipproto_raw/src/ |
D | main.c | 59 ctx->mac_addr[5] = sys_rand8_get(); in fake_dev_get_mac()
|
/Zephyr-latest/tests/net/wifi/wifi_nm/src/ |
D | main.c | 90 mac_addr[5] = sys_rand8_get(); in generate_mac()
|
/Zephyr-latest/tests/drivers/smbus/smbus_emul/src/ |
D | smbus.c | 115 snd_byte = sys_rand8_get(); in ZTEST() 155 snd_byte = sys_rand8_get(); in ZTEST()
|
/Zephyr-latest/tests/net/lib/dns_dispatcher/src/ |
D | main.c | 82 data->mac_addr[5] = sys_rand8_get(); in net_iface_get_mac()
|
/Zephyr-latest/tests/subsys/logging/log_stress/src/ |
D | main.c | 119 switch (sys_rand8_get() % 4) { in context_handler()
|
/Zephyr-latest/tests/net/pm/src/ |
D | main.c | 69 ctx->mac_addr[5] = sys_rand8_get(); in fake_dev_get_mac()
|
/Zephyr-latest/tests/net/route/src/ |
D | main.c | 116 route->mac_addr[5] = sys_rand8_get(); in net_route_get_mac() 288 dest_addresses[i].s6_addr[15] = sys_rand8_get(); in test_init()
|
/Zephyr-latest/tests/net/shell/src/ |
D | main.c | 81 context->mac_addr[5] = sys_rand8_get(); in net_udp_get_mac()
|
/Zephyr-latest/tests/lib/spsc_pbuf/src/ |
D | main.c | 427 int rpt = (sys_rand8_get() & 3) + 1; in stress_read() 451 int rpt = (sys_rand8_get() & 1) + 1; in stress_write() 493 int rpt = sys_rand8_get() % 0x3; in stress_claim_free()
|
/Zephyr-latest/samples/arch/smp/pktqueue/src/ |
D | main.c | 68 descriptors[queue_num][i].ptr[j] = sys_rand8_get(); in init_datagram_queue()
|
/Zephyr-latest/tests/lib/p4workq/src/ |
D | main.c | 75 int num_tries = sys_rand8_get() % 4; in stress_handler()
|
/Zephyr-latest/tests/net/virtual/src/ |
D | main.c | 178 mac_addr[5] = sys_rand8_get(); in generate_mac() 212 data->mac_addr[5] = sys_rand8_get(); in net_iface_get_mac() 537 lladdr.addr[0] = sys_rand8_get(); in add_to_arp() 542 lladdr.addr[5] = sys_rand8_get(); in add_to_arp()
|
/Zephyr-latest/drivers/net/ |
D | slip.c | 410 slip->mac_addr[5] = sys_rand8_get(); in slip_iface_init()
|
/Zephyr-latest/samples/bluetooth/peripheral_csc/src/ |
D | main.c | 308 uint8_t rnd = sys_rand8_get(); in csc_simulation()
|
/Zephyr-latest/tests/net/tx_timestamp/src/ |
D | main.c | 144 mac_addr[5] = sys_rand8_get(); in generate_mac()
|
/Zephyr-latest/samples/net/cloud/mqtt_azure/src/ |
D | main.c | 328 return (10 + sys_rand8_get() % 5); in timeout_for_publish()
|
/Zephyr-latest/tests/net/lib/dns_addremove/src/ |
D | main.c | 94 data->mac_addr[5] = sys_rand8_get(); in net_iface_get_mac()
|
/Zephyr-latest/tests/net/vlan/src/ |
D | main.c | 191 mac_addr[5] = sys_rand8_get(); in generate_mac() 268 data->mac_addr[5] = sys_rand8_get(); in net_iface_get_mac()
|
/Zephyr-latest/samples/net/mqtt_publisher/src/ |
D | main.c | 223 sys_rand8_get()); in get_mqtt_payload()
|
/Zephyr-latest/subsys/testsuite/ztest/src/ |
D | ztress.c | 219 uint8_t repeat = sys_rand8_get(); in microdelay()
|
/Zephyr-latest/tests/net/igmp/src/ |
D | main.c | 108 context->mac_addr[5] = sys_rand8_get(); in net_test_get_mac()
|