Home
last modified time | relevance | path

Searched refs:domain (Results 1 – 25 of 50) sorted by relevance

12

/AliOS-Things-master/components/linkkit/wrappers/os/
A Ddns.c31 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 Ddns.h5 int dns_getaddrinfo(char *domain, char *ip[DNS_RESULT_COUNT]);
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/mdns/
A Dmdns.c288 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 Dmdns_priv.h59 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 Dmdns_priv.h59 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 DCommonRequest.cc27 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 DCommonRequest.h33 std::string domain() const;
40 void setDomain(const std::string &domain);
/AliOS-Things-master/hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/
A Dcore_ca.h1887 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 Dsocket.h99 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 Ducloud_ai_common.c127 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 Dcommon.cc72 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 Dcommon.h34 char *getTokenId(const char *domain, const char *region);
/AliOS-Things-master/components/SDL2/test/
A DCOPYING4 public domain.
/AliOS-Things-master/components/linkkit/dynamic_register/
A Ddynreg.c181 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 Dcommonrequest_ut.cc15 EXPECT_TRUE(cr.domain() == "testDomain"); in TEST()
/AliOS-Things-master/components/netmgr/net/
A Dnet_impl.c156 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 Ducloud_ai_common.h134 char *ucloud_ai_get_token_id(const char *domain, const char *region_id);
/AliOS-Things-master/components/linkkit/include/linkkit/wrappers/
A Dwrappers_atm.h125 int HAL_AT_CONN_DomainToIp(char *domain, char ip[16]);
/AliOS-Things-master/components/amp_adapter/include/
A Daos_socket.h30 int aos_socket_open(int domain, int type, int protocol);
/AliOS-Things-master/components/py_engine/adapter/haas/
A Dmodsocket.c66 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 Dmodsocket.c66 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 Dmodsocket.c69 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 Dsockets.c125 #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 Dsockets.h503 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 Daf_packet.h105 int packet_socket(int domain, int type, int protocol);

Completed in 41 milliseconds

12