Searched refs:local_if (Results 1 – 7 of 7) sorted by relevance
/third_party/libcoap/src/ |
D | coap_tcp.c | 40 const coap_address_t *local_if, argument 98 if (local_if && local_if->addr.sa.sa_family) { 99 coap_address_copy(local_addr, local_if); 104 if (bind(sock->fd, &local_if->addr.sa, 105 local_if->addr.sa.sa_family == AF_INET ? 107 (socklen_t)local_if->size) == COAP_SOCKET_ERROR) {
|
D | coap_session.c | 814 const coap_address_t *local_if, in coap_session_create_client() argument 849 local_if, server, 0, ctx, NULL); in coap_session_create_client() 856 if (!coap_socket_connect_udp(&session->sock, local_if, server, in coap_session_create_client() 863 if (!coap_socket_connect_tcp1(&session->sock, local_if, server, in coap_session_create_client() 881 if (local_if) in coap_session_create_client() 971 const coap_address_t *local_if, in coap_new_client_session() argument 975 coap_session_t *session = coap_session_create_client(ctx, local_if, server, proto); in coap_new_client_session() 986 const coap_address_t *local_if, in coap_new_client_session_psk() argument 1007 return coap_new_client_session_psk2(ctx, local_if, server, in coap_new_client_session_psk() 1013 const coap_address_t *local_if, in coap_new_client_session_psk2() argument [all …]
|
D | coap_io.c | 122 const coap_address_t *local_if, in coap_socket_connect_udp() argument 297 const coap_address_t *local_if, argument 367 if (local_if && local_if->addr.sa.sa_family) { 374 if (bind(sock->fd, &local_if->addr.sa, 375 local_if->addr.sa.sa_family == AF_INET ? 377 (socklen_t)local_if->size) == COAP_SOCKET_ERROR) { 383 int ret = bind_to_device(sock->fd, (struct sockaddr_in *)(&local_if->addr.sa)); 392 if (!(local_if && local_if->addr.sa.sa_family)) {
|
D | coap_io_lwip.c | 183 const coap_address_t *local_if, in coap_socket_connect_udp() argument 193 const coap_address_t *local_if, in coap_socket_connect_tcp1() argument
|
/third_party/libcoap/include/coap3/ |
D | coap_session.h | 229 const coap_address_t *local_if, 248 const coap_address_t *local_if, 273 const coap_address_t *local_if, 316 const coap_address_t *local_if,
|
D | coap_tcp_internal.h | 49 const coap_address_t *local_if,
|
D | coap_io_internal.h | 65 const coap_address_t *local_if,
|