Searched refs:expected_addr (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/net/iface/src/ |
D | main.c | 1338 struct in6_addr *expected_addr, in generate_iid() argument 1352 memcpy(expected_addr, &prefix, sizeof(struct in6_addr)); in generate_iid() 1353 memcpy(&expected_addr->s6_addr[8], &mac[0], 3); in generate_iid() 1354 expected_addr->s6_addr[11] = 0xff; in generate_iid() 1355 expected_addr->s6_addr[12] = 0xfe; in generate_iid() 1356 memcpy(&expected_addr->s6_addr[13], &mac[3], 3); in generate_iid() 1358 expected_addr->s6_addr[8] ^= 0x02; /* Universal bit toggle */ in generate_iid() 1369 struct in6_addr expected_addr = { }; in ZTEST() local 1371 generate_iid(eth_iface, &expected_addr, &iid_addr); in ZTEST() 1373 zassert_mem_equal(&expected_addr, &iid_addr, sizeof(struct in6_addr)); in ZTEST() [all …]
|
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_replay_cache.c | 294 static bool msg_recv(uint16_t expected_addr) in msg_recv() argument 301 LOG_ERR("Failed to receive message from %u (err %d)", expected_addr, err); in msg_recv() 306 ASSERT_EQUAL(expected_addr, msg.ctx.addr); in msg_recv()
|