Searched refs:hostname (Results 1 – 9 of 9) sorted by relevance
| /lib/liblwip/src/core/ |
| D | dns.c | 348 dns_lookup_local(const char *hostname) in dns_lookup_local() argument 353 if(strcmp(entry->name, hostname) == 0) { in dns_lookup_local() 361 if(strcmp(local_hostlist_static[i].name, hostname) == 0) { in dns_lookup_local() 379 dns_local_removehost(const char *hostname, const ip_addr_t *addr) in dns_local_removehost() argument 385 if (((hostname == NULL) || !strcmp(entry->name, hostname)) && in dns_local_removehost() 414 dns_local_addhost(const char *hostname, const ip_addr_t *addr) in dns_local_addhost() argument 418 LWIP_ASSERT("invalid host name (NULL)", hostname != NULL); in dns_local_addhost() 419 namelen = strlen(hostname); in dns_local_addhost() 426 MEMCPY((char*)entry->name, hostname, namelen); in dns_local_addhost() 936 dns_gethostbyname(const char *hostname, ip_addr_t *addr, dns_found_callback found, in dns_gethostbyname() argument [all …]
|
| D | dhcp.c | 1307 if (netif->hostname != NULL) { in dhcp_option_hostname() 1308 size_t namelen = strlen(netif->hostname); in dhcp_option_hostname() 1311 const char *p = netif->hostname; in dhcp_option_hostname()
|
| /lib/liblwip/src/include/lwip/ |
| D | dns.h | 110 err_t dns_gethostbyname(const char *hostname, ip_addr_t *addr, 114 int dns_local_removehost(const char *hostname, const ip_addr_t *addr); 115 err_t dns_local_addhost(const char *hostname, const ip_addr_t *addr);
|
| D | netif.h | 183 char* hostname; member 301 #define netif_set_hostname(netif, name) do { if((netif) != NULL) { (netif)->hostname = name; }}whil… 302 #define netif_get_hostname(netif) (((netif) != NULL) ? ((netif)->hostname) : NULL)
|
| /lib/liblwip/src/api/ |
| D | netdb.c | 167 char *hostname; in lwip_gethostbyname_r() local 197 hostname = ((char*)h) + sizeof(struct gethostbyname_r_helper); in lwip_gethostbyname_r() 208 MEMCPY(hostname, name, namelen); in lwip_gethostbyname_r() 209 hostname[namelen] = 0; in lwip_gethostbyname_r() 215 ret->h_name = hostname; in lwip_gethostbyname_r()
|
| /lib/liblwip/src/netif/ |
| D | ethernetif.c | 289 netif->hostname = "lwip";
|
| /lib/liblwip/src/arch/ |
| D | etherif.c | 333 netif->hostname = "lwip"; in ethernetif_init()
|
| /lib/liblwip/src/netif/ppp/ |
| D | auth.c | 793 strcpy(ppp_settings.our_name, ppp_settings.hostname);
|
| /lib/liblwip/ |
| D | CHANGELOG | 271 * dhcp.c: fixed bug #34122 dhcp: hostname can overflow 475 * netif.h: Added function-like macros to get/set the hostname on a netif 938 * dns.c: Copy hostname for DNS_LOCAL_HOSTLIST_IS_DYNAMIC==1 since string 2006 define a hostname in netif struct (this is just a pointer, so, you can use a hardcoded 2008 It will be used by DHCP to register a client hostname, but can also be use when you call
|