Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/dns/
Ddns_sd.h34 STRUCT_SECTION_FOREACH(dns_sd_rec, it)
37 STRUCT_SECTION_COUNT(dns_sd_rec, dst)
40 STRUCT_SECTION_GET(dns_sd_rec, i, dst)
68 int dns_sd_query_extract(const uint8_t *query, size_t query_size, struct dns_sd_rec *record,
115 bool dns_sd_rec_match(const struct dns_sd_rec *record,
116 const struct dns_sd_rec *filter);
139 int dns_sd_handle_ptr_query(const struct dns_sd_rec *inst,
157 int dns_sd_handle_service_type_enum(const struct dns_sd_rec *service,
Ddns_sd.c32 static size_t service_proto_size(const struct dns_sd_rec *inst);
34 static int add_a_record(const struct dns_sd_rec *inst, uint32_t ttl,
38 static int add_ptr_record(const struct dns_sd_rec *inst, uint32_t ttl,
44 static int add_txt_record(const struct dns_sd_rec *inst, uint32_t ttl,
47 static int add_aaaa_record(const struct dns_sd_rec *inst, uint32_t ttl,
51 static int add_srv_record(const struct dns_sd_rec *inst, uint32_t ttl,
57 static bool rec_is_valid(const struct dns_sd_rec *inst);
81 size_t service_proto_size(const struct dns_sd_rec *ref) in service_proto_size()
287 bool rec_is_valid(const struct dns_sd_rec *inst) in rec_is_valid()
300 int add_a_record(const struct dns_sd_rec *inst, uint32_t ttl, in add_a_record()
[all …]
Dmdns_responder.c73 static const struct dns_sd_rec *external_records;
358 const struct dns_sd_rec *record; in send_sd_response()
360 struct dns_sd_rec filter = {0}; in send_sd_response()
943 int mdns_responder_set_ext_records(const struct dns_sd_rec *records, size_t count) in mdns_responder_set_ext_records()
/Zephyr-latest/include/zephyr/net/
Ddns_sd.h114 static const STRUCT_SECTION_ITERABLE(dns_sd_rec, _id) = { \
215 struct dns_sd_rec { struct
255 static inline size_t dns_sd_txt_size(const struct dns_sd_rec *rec) in dns_sd_txt_size()
277 bool dns_sd_is_service_type_enumeration(const struct dns_sd_rec *rec);
284 void dns_sd_create_wildcard_filter(struct dns_sd_rec *filter);
Dmdns_responder.h32 int mdns_responder_set_ext_records(const struct dns_sd_rec *records, size_t count);
/Zephyr-latest/tests/net/lib/dns_sd/src/
Dmain.c30 extern int add_a_record(const struct dns_sd_rec *inst, uint32_t ttl,
34 extern int add_ptr_record(const struct dns_sd_rec *inst, uint32_t ttl,
40 extern int add_txt_record(const struct dns_sd_rec *inst, uint32_t ttl,
43 extern int add_aaaa_record(const struct dns_sd_rec *inst, uint32_t ttl,
47 extern int add_srv_record(const struct dns_sd_rec *inst, uint32_t ttl,
53 extern size_t service_proto_size(const struct dns_sd_rec *ref);
54 extern bool rec_is_valid(const struct dns_sd_rec *ref);
89 static uint8_t *create_query(const struct dns_sd_rec *inst, in create_query()
640 static const struct dns_sd_rec filter_ok = { in ZTEST()
650 static const struct dns_sd_rec filter_nok = { in ZTEST()
[all …]
/Zephyr-latest/tests/net/lib/mdns_responder/src/
Dmain.c39 struct dns_sd_rec *record;
111 static struct dns_sd_rec records[EXT_RECORDS_NUM];
252 static void free_ext_record(struct dns_sd_rec *rec) in free_ext_record()
332 static struct dns_sd_rec *alloc_ext_record(const char *instance, const char *service, in alloc_ext_record()
387 struct dns_sd_rec *records[EXT_RECORDS_NUM]; in ZTEST()
/Zephyr-latest/include/zephyr/linker/common-rom/
Dcommon-rom-net.ld14 ITERABLE_SECTION_ROM(dns_sd_rec, Z_LINK_ITERABLE_SUBALIGN)
/Zephyr-latest/cmake/linker_script/common/
Dcommon-rom.cmake165 …zephyr_iterable_section(NAME dns_sd_rec KVMA RAM_REGION GROUP RODATA_REGION SUBALIGN ${CONFIG_LINK…