Home
last modified time | relevance | path

Searched refs:local_if (Results 1 – 12 of 12) sorted by relevance

/third_party/libcoap/src/
Dcoap_tcp.c44 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) {
Dcoap_netif.c53 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()
Dcoap_io_lwip.c377 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()
Dcoap_session.c1260 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 …]
Dcoap_io.c258 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)) {
Dcoap_oscore.c67 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 …]
Dcoap_io_contiki.c108 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/
Dcoap_oscore.h58 const coap_address_t *local_if,
83 const coap_address_t *local_if,
109 const coap_address_t *local_if,
Dcoap_session.h249 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,
Dcoap_netif_internal.h70 const coap_address_t *local_if,
148 const coap_address_t *local_if,
Dcoap_tcp_internal.h49 const coap_address_t *local_if,
Dcoap_io_internal.h88 const coap_address_t *local_if,