Lines Matching refs:name
36 * 3. The name of the author may not be used to endorse or promote products
78 #define API_MSG_VAR_REF(name) API_VAR_REF(name)
79 #define API_MSG_VAR_DECLARE(name) API_VAR_DECLARE(struct api_msg, name)
80 #define API_MSG_VAR_ALLOC(name) API_VAR_ALLOC(struct api_msg, MEMP_API_MSG, name, ERR_MEM)
81 #define API_MSG_VAR_ALLOC_RETURN_NULL(name) API_VAR_ALLOC(struct api_msg, MEMP_API_MSG, name, NULL)
82 #define API_MSG_VAR_FREE(name) API_VAR_FREE(MEMP_API_MSG, name)
1261 * @param name a string representation of the DNS host name to query
1271 netconn_gethostbyname_addrtype(const char *name, ip_addr_t *addr, u8_t dns_addrtype)
1274 netconn_gethostbyname(const char *name, ip_addr_t *addr)
1284 LWIP_ERROR("netconn_gethostbyname: invalid name", (name != NULL), return ERR_ARG;);
1287 if (strlen(name) >= DNS_MAX_NAME_LENGTH) {
1294 if (LWIP_HOOK_NETCONN_EXTERNAL_RESOLVE(name, addr, dns_addrtype, &err)) {
1296 if (LWIP_HOOK_NETCONN_EXTERNAL_RESOLVE(name, addr, NETCONN_DNS_DEFAULT, &err)) {
1304 strncpy(API_VAR_REF(msg).name, name, DNS_MAX_NAME_LENGTH - 1);
1305 API_VAR_REF(msg).name[DNS_MAX_NAME_LENGTH - 1] = 0;
1310 API_VAR_REF(msg).name = name;