Lines Matching full:label

265  * Add a label part to a domain
266 * @param domain The domain to add a label to
267 * @param label The label to add, like <hostname>, 'local', 'com' or ''
268 * @param len The length of the label
269 * @return ERR_OK on success, an err_t otherwise if label too long
272 mdns_domain_add_label(struct mdns_domain *domain, const char *label, u8_t len) in mdns_domain_add_label() argument
287 MEMCPY(&domain->name[domain->length], label, len); in mdns_domain_add_label()
311 /* is this a compressed label? */ in mdns_readname_loop()
334 /* normal label */ in mdns_readname_loop()
336 u8_t label[MDNS_LABEL_MAXLEN]; in mdns_readname_loop() local
343 if (pbuf_copy_partial(p, label, c, offset) != c) { in mdns_readname_loop()
348 res = mdns_domain_add_label(domain, (char *) label, c); in mdns_readname_loop()
474 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
477 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
479 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
481 LWIP_ERROR("mdns_build_reverse_v4_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v4_domain()
517 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
522 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
524 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
526 LWIP_ERROR("mdns_build_reverse_v6_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_reverse_v6_domain()
537 LWIP_ERROR("mdns_add_dotlocal: Failed to add label", (res == ERR_OK), return res); in mdns_add_dotlocal()
554 LWIP_ERROR("mdns_build_host_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_host_domain()
569 LWIP_ERROR("mdns_build_dnssd_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_dnssd_domain()
571 LWIP_ERROR("mdns_build_dnssd_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_dnssd_domain()
573 LWIP_ERROR("mdns_build_dnssd_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_dnssd_domain()
593 LWIP_ERROR("mdns_build_service_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_service_domain()
596 LWIP_ERROR("mdns_build_service_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_service_domain()
598 LWIP_ERROR("mdns_build_service_domain: Failed to add label", (res == ERR_OK), return res); in mdns_build_service_domain()
762 /* Skip to next label in domain */ in mdns_compress_domain()