/AliOS-Things-master/components/linkkit/wrappers/os/ |
A D | dns.c | 31 static int dns_domain_check(char *domain) in dns_domain_check() argument 35 for (idx = 0; idx < strlen(domain); idx++) { in dns_domain_check() 36 if (domain[idx] == '.') { in dns_domain_check() 39 if (domain[idx] < 0x30 || domain[idx] > 0x39) { in dns_domain_check() 103 if (domain[qname_idx] == '.' || qname_idx == strlen(domain)) { in dns_request_message() 105 memcpy(&buffer[idx], &domain[section_start], in dns_request_message() 111 if (qname_idx == strlen(domain)) { in dns_request_message() 195 res = dns_domain_check(domain); in dns_resolve() 197 if (strlen(domain) >= 16) { in dns_resolve() 201 memcpy(g_dns_ip_list[0], domain, strlen(domain)); in dns_resolve() [all …]
|
A D | dns.h | 5 int dns_getaddrinfo(char *domain, char *ip[DNS_RESULT_COUNT]);
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/mdns/ |
A D | mdns.c | 288 domain->name[domain->length] = len; in mdns_domain_add_label() 289 domain->length++; in mdns_domain_add_label() 291 MEMCPY(&domain->name[domain->length], label, len); in mdns_domain_add_label() 292 domain->length += len; in mdns_domain_add_label() 387 u8_t *src = domain->name; in mdns_domain_debug_print() 467 if (!domain || !addr) { in mdns_build_reverse_v4_domain() 505 if (!domain || !addr) { in mdns_build_reverse_v6_domain() 742 return domain->length; in mdns_compress_domain() 746 return domain->length; in mdns_compress_domain() 749 ptr = domain->name; in mdns_compress_domain() [all …]
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/apps/ |
A D | mdns_priv.h | 59 err_t mdns_domain_add_label(struct mdns_domain *domain, const char *label, u8_t len); 60 u16_t mdns_readname(struct pbuf *p, u16_t offset, struct mdns_domain *domain); 62 u16_t mdns_compress_domain(struct pbuf *pbuf, u16_t *offset, struct mdns_domain *domain);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/apps/ |
A D | mdns_priv.h | 59 err_t mdns_domain_add_label(struct mdns_domain *domain, const char *label, u8_t len); 60 u16_t mdns_readname(struct pbuf *p, u16_t offset, struct mdns_domain *domain); 62 u16_t mdns_compress_domain(struct pbuf *pbuf, u16_t *offset, struct mdns_domain *domain);
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/src/ |
A D | CommonRequest.cc | 27 std::string CommonRequest::domain() const { return domain_; } in domain() function in AlibabaCloud::CommonRequest 29 void CommonRequest::setDomain(const std::string &domain) { domain_ = domain; } in setDomain() argument
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/core/include/alibabacloud/core/ |
A D | CommonRequest.h | 33 std::string domain() const; 40 void setDomain(const std::string &domain);
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/ |
A D | core_ca.h | 1887 uint8_t domain; member 1903 region.domain = 0x0; \ 1918 region.domain = 0x0; \ 1933 region.domain = 0x0; \ 1948 region.domain = 0x0; \ 1963 region.domain = 0x0; \ 1978 region.domain = 0x0; \ 1992 region.domain = 0x0; \ 2528 MMU_DomainSection(descriptor, reg.domain); in MMU_GetSectionDescriptor() 2558 MMU_DomainPage(descriptor, reg.domain); in MMU_GetPageDescriptor() [all …]
|
/AliOS-Things-master/components/netmgr/net/include/sys/ |
A D | socket.h | 99 int net_socket(int domain, int type, int protocol); 180 static inline int socket(int domain, int type, int protocol) in socket() argument 182 return net_socket(domain, type, protocol); in socket() 236 #define socket(domain,type,protocol) net_socket(domain,type,protocol) argument
|
/AliOS-Things-master/components/ucloud_ai/src/ |
A D | ucloud_ai_common.c | 127 char *ucloud_ai_get_token_id(const char *domain, const char *region_id) in ucloud_ai_get_token_id() argument 129 return getTokenId(domain, region_id); in ucloud_ai_get_token_id()
|
/AliOS-Things-master/components/ucloud_ai/src/model/ |
A D | common.cc | 72 char *getTokenId(const char *domain, const char *regionId) in getTokenId() argument 78 string domainStr = domain; in getTokenId()
|
/AliOS-Things-master/components/ucloud_ai/include/model/ |
A D | common.h | 34 char *getTokenId(const char *domain, const char *region);
|
/AliOS-Things-master/components/SDL2/test/ |
A D | COPYING | 4 public domain.
|
/AliOS-Things-master/components/linkkit/dynamic_register/ |
A D | dynreg.c | 181 const char *domain = NULL; in _fetch_dynreg_http_resp() local 197 domain = g_infra_http_domain[region]; in _fetch_dynreg_http_resp() 198 if (NULL == domain) { in _fetch_dynreg_http_resp() 202 url_len = strlen(url_format) + strlen(domain) + 1; in _fetch_dynreg_http_resp() 209 HAL_Snprintf(url, url_len, url_format, domain); in _fetch_dynreg_http_resp()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | commonrequest_ut.cc | 15 EXPECT_TRUE(cr.domain() == "testDomain"); in TEST()
|
/AliOS-Things-master/components/netmgr/net/ |
A D | net_impl.c | 156 int net_socket(int domain, int type, int protocol) in net_socket() argument 159 return lwip_socket(domain, type, protocol); in net_socket()
|
/AliOS-Things-master/components/ucloud_ai/include/ |
A D | ucloud_ai_common.h | 134 char *ucloud_ai_get_token_id(const char *domain, const char *region_id);
|
/AliOS-Things-master/components/linkkit/include/linkkit/wrappers/ |
A D | wrappers_atm.h | 125 int HAL_AT_CONN_DomainToIp(char *domain, char ip[16]);
|
/AliOS-Things-master/components/amp_adapter/include/ |
A D | aos_socket.h | 30 int aos_socket_open(int domain, int type, int protocol);
|
/AliOS-Things-master/components/py_engine/adapter/haas/ |
A D | modsocket.c | 66 uint8_t domain; member 266 sock->domain = AF_INET; in socket_make_new() 271 sock->domain = mp_obj_get_int(args[0]); in socket_make_new() 280 sock->fd = lwip_socket(sock->domain, sock->type, sock->proto); in socket_make_new() 347 sock->domain = self->domain; in socket_accept()
|
/AliOS-Things-master/components/py_engine/adapter/haas510/ |
A D | modsocket.c | 66 uint8_t domain; member 278 sock->domain = AF_INET; in socket_make_new() 283 sock->domain = mp_obj_get_int(args[0]); in socket_make_new() 292 sock->fd = lwip_socket(sock->domain, sock->type, sock->proto); in socket_make_new() 359 sock->domain = self->domain; in socket_accept()
|
/AliOS-Things-master/components/py_engine/adapter/haas600/ |
A D | modsocket.c | 69 uint8_t domain; member 258 sock->domain = AF_INET; in socket_make_new() 263 sock->domain = mp_obj_get_int(args[0]); in socket_make_new() 272 sock->fd = lwip_socket(sock->domain, sock->type, sock->proto); in socket_make_new() 336 sock->domain = self->domain; in socket_accept()
|
/AliOS-Things-master/components/lwip/lwip2.0.0/api/ |
A D | sockets.c | 125 #define DOMAIN_TO_NETCONN_TYPE(domain, type) (((domain) == AF_INET) ? \ argument 135 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type) argument 144 #define DOMAIN_TO_NETCONN_TYPE(domain, netconn_type) (netconn_type) argument 1454 lwip_socket(int domain, int type, int protocol) in lwip_socket() argument 1460 LWIP_UNUSED_ARG(domain); /* @todo: check this */ in lwip_socket() 1464 if(domain == AF_PACKET) in lwip_socket() 1466 return packet_socket(domain, type, protocol); in lwip_socket() 1476 domain == PF_INET ? "PF_INET" : "UNKNOWN", protocol)); in lwip_socket() 1479 conn = netconn_new_with_callback(DOMAIN_TO_NETCONN_TYPE(domain, in lwip_socket() 1483 domain == PF_INET ? "PF_INET" : "UNKNOWN", protocol)); in lwip_socket() [all …]
|
/AliOS-Things-master/hardware/chip/haas1000/drivers/net/lwip/src/include/lwip/ |
A D | sockets.h | 503 int lwip_socket(int domain, int type, int protocol); 544 #define socket(domain,type,protocol) lwip_socket(domain,type,protocol) argument
|
/AliOS-Things-master/components/lwip/lwip2.0.0/include/lwip/ |
A D | af_packet.h | 105 int packet_socket(int domain, int type, int protocol);
|