Lines Matching defs:hostname
124 /* Lookup from hostname -> IPv4 */
126 /* Lookup from IPv4/v6 -> hostname */
128 /* Lookup from hostname -> IPv6 */
130 /* Lookup from hostname -> IPv6 */
311 * @param label The label to add, like <hostname>, 'local', 'com' or ''
597 * Build the <hostname>.local. domain name
600 * @return ERR_OK if domain <hostname>.local. was written, an err_t otherwise
710 /* Handle requests for our hostname */
1179 /** Write a 4.3.2.1.in-addr.arpa -> hostname.local PTR RR to outpacket */
1202 /** Write a x.y.z.ip6.arpa -> hostname.local PTR RR to outpacket */
2053 * @param hostname Name to use. Queries for <hostname>.local will be answered
2054 * with the IP addresses of the netif. The hostname will be copied, the
2060 mdns_resp_add_netif(struct netif *netif, const char *hostname, u32_t dns_ttl)
2067 LWIP_ERROR("mdns_resp_add_netif: Hostname too long", (strlen(hostname) <= MDNS_LABEL_MAXLEN), return ERR_VAL);
2075 MEMCPY(&mdns->name, hostname, LWIP_MIN(MDNS_LABEL_MAXLEN, strlen(hostname)));
2148 * Update MDNS hostname for a network interface.
2150 * @param hostname Name to use. Queries for <hostname>.local will be answered
2151 * with the IP addresses of the netif. The hostname will be copied, the
2156 mdns_resp_rename_netif(struct netif *netif, const char *hostname)
2162 len = strlen(hostname);
2168 MEMCPY(&mdns->name, hostname, LWIP_MIN(MDNS_LABEL_MAXLEN, len));