/third_party/libcoap/src/ |
D | coap_tcp.c | 44 const coap_address_t *local_if, argument 108 if (local_if && local_if->addr.sa.sa_family) { 109 coap_address_copy(local_addr, local_if); 113 if (bind(sock->fd, &local_if->addr.sa, 115 local_if->addr.sa.sa_family == AF_INET ? 118 (socklen_t)local_if->size) == COAP_SOCKET_ERROR) {
|
D | coap_netif.c | 53 coap_netif_dgrm_connect(coap_session_t *session, const coap_address_t *local_if, in coap_netif_dgrm_connect() argument 55 if (!coap_socket_connect_udp(&session->sock, local_if, server, in coap_netif_dgrm_connect() 185 const coap_address_t *local_if, in coap_netif_strm_connect1() argument 187 if (!coap_socket_connect_tcp1(&session->sock, local_if, server, in coap_netif_strm_connect1()
|
D | coap_io_lwip.c | 377 const coap_address_t *local_if, in coap_socket_connect_udp() argument 385 (void)local_if; in coap_socket_connect_udp() 436 const coap_address_t *local_if, in coap_socket_connect_tcp1() argument 442 (void)local_if; in coap_socket_connect_tcp1()
|
D | coap_session.c | 1260 const coap_address_t *local_if, in coap_session_create_client() argument 1314 local_if, server, 0, ctx, NULL); in coap_session_create_client() 1325 if (!coap_netif_dgrm_connect(session, local_if, server, default_port)) { in coap_session_create_client() 1345 if (!coap_netif_strm_connect1(session, local_if, server, default_port)) { in coap_session_create_client() 1361 if (local_if) in coap_session_create_client() 1418 const coap_address_t *local_if, in coap_new_client_session() argument 1421 coap_session_t *session = coap_session_create_client(ctx, local_if, server, in coap_new_client_session() 1433 const coap_address_t *local_if, in coap_new_client_session_psk() argument 1452 return coap_new_client_session_psk2(ctx, local_if, server, in coap_new_client_session_psk() 1458 const coap_address_t *local_if, in coap_new_client_session_psk2() argument [all …]
|
D | coap_io.c | 258 const coap_address_t *local_if, argument 344 if (local_if && local_if->addr.sa.sa_family) { 345 if (local_if->addr.sa.sa_family != connect_addr.addr.sa.sa_family) { 355 if (bind(sock->fd, &local_if->addr.sa, 357 local_if->addr.sa.sa_family == AF_INET ? 360 (socklen_t)local_if->size) == COAP_SOCKET_ERROR) { 367 int ret = bind_to_device(sock->fd, (struct sockaddr_in *)(&local_if->addr.sa)); 383 if (!(local_if && local_if->addr.sa.sa_family)) { 426 if (!(local_if && local_if->addr.sa.sa_family)) {
|
D | coap_oscore.c | 67 const coap_address_t *local_if, in coap_new_client_session_oscore() argument 72 coap_new_client_session(ctx, local_if, server, proto); in coap_new_client_session_oscore() 86 const coap_address_t *local_if, in coap_new_client_session_oscore_psk() argument 92 coap_new_client_session_psk2(ctx, local_if, server, proto, psk_data); in coap_new_client_session_oscore_psk() 106 const coap_address_t *local_if, in coap_new_client_session_oscore_pki() argument 112 coap_new_client_session_pki(ctx, local_if, server, proto, pki_data); in coap_new_client_session_oscore_pki() 2110 const coap_address_t *local_if, in coap_new_client_session_oscore() argument 2115 (void)local_if; in coap_new_client_session_oscore() 2124 const coap_address_t *local_if, in coap_new_client_session_oscore_psk() argument 2130 (void)local_if; in coap_new_client_session_oscore_psk() [all …]
|
D | coap_io_contiki.c | 108 const coap_address_t *local_if, in coap_socket_connect_udp() argument 115 if (local_if) { in coap_socket_connect_udp()
|
/third_party/libcoap/include/coap3/ |
D | coap_oscore.h | 58 const coap_address_t *local_if, 83 const coap_address_t *local_if, 109 const coap_address_t *local_if,
|
D | coap_session.h | 249 const coap_address_t *local_if, 271 const coap_address_t *local_if, 296 const coap_address_t *local_if, 348 const coap_address_t *local_if,
|
D | coap_netif_internal.h | 70 const coap_address_t *local_if, 148 const coap_address_t *local_if,
|
D | coap_tcp_internal.h | 49 const coap_address_t *local_if,
|
D | coap_io_internal.h | 88 const coap_address_t *local_if,
|