Searched refs:rec_is_valid (Results 1 – 2 of 2) sorted by relevance
/Zephyr-latest/tests/net/lib/dns_sd/src/ |
D | main.c | 54 extern bool rec_is_valid(const struct dns_sd_rec *ref); 173 zassert_equal(true, rec_is_valid(&name_min), ""); in ZTEST() 183 zassert_equal(true, rec_is_valid(&name_max), ""); in ZTEST() 191 zassert_equal(false, rec_is_valid(&label_too_small), ""); in ZTEST() 200 zassert_equal(false, rec_is_valid(&label_too_big), ""); in ZTEST() 208 zassert_equal(false, rec_is_valid(&invalid_instance), ""); in ZTEST() 216 zassert_equal(false, rec_is_valid( in ZTEST() 225 zassert_equal(false, rec_is_valid(&invalid_service), ""); in ZTEST() 234 zassert_equal(false, rec_is_valid(&invalid_proto), ""); in ZTEST() 243 zassert_equal(false, rec_is_valid(&invalid_domain), ""); in ZTEST() [all …]
|
/Zephyr-latest/subsys/net/lib/dns/ |
D | dns_sd.c | 57 static bool rec_is_valid(const struct dns_sd_rec *inst); 287 bool rec_is_valid(const struct dns_sd_rec *inst) in rec_is_valid() function 372 if (!rec_is_valid(inst)) { in add_ptr_record() 746 if (!rec_is_valid(inst)) { in dns_sd_handle_ptr_query() 844 if (!rec_is_valid(inst)) { in dns_sd_handle_service_type_enum() 942 if (!rec_is_valid(record)) { in dns_sd_rec_match()
|