Home
last modified time | relevance | path

Searched refs:num_sockets (Results 1 – 5 of 5) sorted by relevance

/third_party/libcoap/src/
Dcoap_io_riot.c167 find_socket(coap_fd_t fd, coap_socket_t *sockets[], unsigned int num_sockets) { in find_socket() argument
168 for (unsigned int i = 0; i < num_sockets; i++) { in find_socket()
187 unsigned int num_sockets = 0, timeout; in coap_io_process() local
196 coap_io_prepare_io(ctx, sockets, ARRAY_SIZE(sockets), &num_sockets, before); in coap_io_process()
200 if (num_sockets > 0) { in coap_io_process()
228 coap_socket_t *sock = find_socket(s->sock.fd, sockets, num_sockets); in coap_io_process()
249 coap_socket_t *sock = find_socket(ep->sock.fd, sockets, num_sockets); in coap_io_process()
Dcoap_io.c1101 unsigned int num_sockets;
1105 timeout = coap_io_prepare_io(ctx, sockets, max_sockets, &num_sockets, now);
1143 unsigned int *num_sockets) argument
1150 sockets[(*num_sockets)++] = &ep->sock;
1151 if (*num_sockets >= max_sockets) {
1157 sockets[(*num_sockets)++] = &s->sock;
1158 if (*num_sockets >= max_sockets) {
1167 sockets[(*num_sockets)++] = &s->sock;
1168 if (*num_sockets >= max_sockets) {
1184 unsigned int *num_sockets, argument
[all …]
/third_party/libcoap/include/coap3/
Dnet.h645 unsigned int *num_sockets,
762 unsigned int *num_sockets, in coap_write() argument
765 return coap_io_prepare_io(ctx, sockets, max_sockets, num_sockets, now); in coap_write()
/third_party/curl/tests/server/
Dsws.c133 static size_t num_sockets = 0; variable
1723 if(MAX_SOCKETS == num_sockets) { in accept_connection()
1776 all_sockets[num_sockets] = msgsock; in accept_connection()
1777 num_sockets += 1; in accept_connection()
2027 num_sockets = 1; in main()
2223 for(socket_idx = num_sockets - 1; socket_idx >= 1; --socket_idx) { in main()
2227 char *end = (char *) (all_sockets + num_sockets); in main()
2229 num_sockets -= 1; in main()
2240 for(socket_idx = 0; socket_idx < num_sockets; ++socket_idx) { in main()
2284 for(socket_idx = 1; (socket_idx < num_sockets) && active; ++socket_idx) { in main()
[all …]
/third_party/curl/lib/
Deasy.c324 int num_sockets; /* number of nodes in the monitor list */ member