Home
last modified time | relevance | path

Searched refs:COAP_DEFAULT_PORT (Results 1 – 15 of 15) sorted by relevance

/third_party/libcoap/examples/contiki/
Dcoap-observer.c59 listen_addr.port = UIP_HTONS(COAP_DEFAULT_PORT); in init_coap()
129 dst.port = uip_htons(COAP_DEFAULT_PORT); in PROCESS_THREAD()
139 if (uri.port != COAP_DEFAULT_PORT) { in PROCESS_THREAD()
Dserver.c63 listen_addr.port = UIP_HTONS(COAP_DEFAULT_PORT); in init_coap_server()
/third_party/libcoap/tests/
Dtest_uri.c28 CU_ASSERT(uri.port == COAP_DEFAULT_PORT); in t_parse_uri1()
74 CU_ASSERT(uri.port == COAP_DEFAULT_PORT); in t_parse_uri3()
129 CU_ASSERT(uri.port == COAP_DEFAULT_PORT); in t_parse_uri6()
221 CU_ASSERT(uri.port == COAP_DEFAULT_PORT); in t_parse_uri10()
256 CU_ASSERT(uri.port == COAP_DEFAULT_PORT); in t_parse_uri11()
Dtest_session.c154 laddr.addr.sin6.sin6_port = htons(COAP_DEFAULT_PORT); in t_session6()
179 addr.addr.sin6.sin6_port = htons(COAP_DEFAULT_PORT); in t_session_tests_create()
Dtest_wellknown.c262 addr.addr.sin6.sin6_port = htons(COAP_DEFAULT_PORT); in t_wkc_tests_create()
Dtest_sendqueue.c283 addr.addr.sin6.sin6_port = htons(COAP_DEFAULT_PORT); in t_sendqueue_tests_create()
/third_party/libcoap/examples/lwip/
Dserver-coap.c122 listenaddress.port = COAP_DEFAULT_PORT; in server_coap_init()
/third_party/libcoap/include/coap3/
Dpdu.h41 #define COAP_DEFAULT_PORT COAP_USER_DEFAULT_PORT macro
/third_party/libcoap/examples/
Dcoap-client.c620 return coap_uri_scheme_is_secure(u) ? COAPS_DEFAULT_PORT : COAP_DEFAULT_PORT; in get_default_port()
880 proxy.port = COAP_DEFAULT_PORT; in cmdline_option()
888 proxy.port = COAP_DEFAULT_PORT; in cmdline_option()
1416 uint16_t port = COAP_DEFAULT_PORT; in main()
Dcoap-server.c679 uri->port = COAP_DEFAULT_PORT; in get_uri_proxy_scheme_info()
689 uri->port = COAP_DEFAULT_PORT; in get_uri_proxy_scheme_info()
892 uint16_t port = COAP_DEFAULT_PORT; in get_ongoing_proxy_session()
1130 COAPS_DEFAULT_PORT : COAP_DEFAULT_PORT)) { in hnd_proxy_uri()
Dcoap-rd.c345 if (peer->addr.sin6.sin6_port != htons(COAP_DEFAULT_PORT)) { in add_source_address()
/third_party/libcoap/src/
Duri.c63 uri->port = COAP_DEFAULT_PORT; in coap_split_uri_sub()
Dcoap_session.c857 proto == COAP_PROTO_DTLS ? COAPS_DEFAULT_PORT : COAP_DEFAULT_PORT, in coap_session_create_client()
864 proto == COAP_PROTO_TLS ? COAPS_DEFAULT_PORT : COAP_DEFAULT_PORT, in coap_session_create_client()
Dnet.c836 COAP_DEFAULT_PORT, in coap_send_pdu()
/third_party/libcoap/man/
Dcoap_observe.txt.in264 addr.addr.sin.sin_port = ntohs(COAP_DEFAULT_PORT);