/openssl/test/radix/ |
H A D | quic_tests.c | 87 items[0].events = 0; in DEF_FUNC() 92 items[i + 1].events = SSL_POLL_EVENT_R | SSL_POLL_EVENT_I; in DEF_FUNC() 105 items[0].events = SSL_POLL_EVENT_OS; in DEF_FUNC() 111 items[i + 1].events |= SSL_POLL_EVENT_W; in DEF_FUNC() 126 items[5].events = SSL_POLL_EVENT_IC; in DEF_FUNC()
|
/openssl/engines/ |
H A D | e_afalg.c | 134 struct io_event *events, in io_getevents() argument 140 int ret = syscall(__NR_io_pgetevents_time64, ctx, min, max, events, in io_getevents() 153 return syscall(__NR_io_getevents, ctx, min, max, events, timeout); in io_getevents() 271 struct io_event events[MAX_INFLIGHTS]; in afalg_fin_cipher_aio() local 332 memset(events, 0, sizeof(events)); in afalg_fin_cipher_aio() 337 events, &timeout); in afalg_fin_cipher_aio() 343 if (events[0].res < 0) { in afalg_fin_cipher_aio() 348 if (events[0].res == -EBUSY && retry++ < 3) { in afalg_fin_cipher_aio() 367 long long int op_ret = events[0].res; in afalg_fin_cipher_aio() 375 __FILE__, __LINE__, events[0].res); in afalg_fin_cipher_aio() [all …]
|
H A D | e_afalg.h | 73 struct io_event events[MAX_INFLIGHTS]; member
|
/openssl/ssl/rio/ |
H A D | poll_immediate.c | 45 uint64_t events, in poll_translate_ssl_quic() argument 130 if (!ossl_quic_conn_poll_events(ssl, events, /*do_tick = */0, &revents)) { in poll_translate_ssl_quic() 221 if (!poll_translate_ssl_quic(ssl, wctx, rpb, item->events, in poll_translate() 340 uint64_t events; in poll_readout() local 347 events = item->events; in poll_readout() 363 if (!ossl_quic_conn_poll_events(ssl, events, do_tick, &revents)) in poll_readout()
|
H A D | poll_builder.c | 120 pfds[i].events = 0; in ossl_rio_poll_builder_add_fd() 123 pfds[i].events |= POLLIN; in ossl_rio_poll_builder_add_fd() 125 pfds[i].events |= POLLOUT; in ossl_rio_poll_builder_add_fd()
|
/openssl/ssl/quic/ |
H A D | quic_reactor.c | 309 pfds[npfd].events = (rfd_want_read ? POLLIN : 0) in poll_two_fds() 311 if (rfd >= 0 && pfds[npfd].events != 0) in poll_two_fds() 315 pfds[npfd].events = (rfd_want_read ? POLLIN : 0); in poll_two_fds() 316 if (rfd >= 0 && pfds[npfd].events != 0) in poll_two_fds() 320 pfds[npfd].events = (wfd_want_write ? POLLOUT : 0); in poll_two_fds() 321 if (wfd >= 0 && pfds[npfd].events != 0) in poll_two_fds() 327 pfds[npfd].events = POLLIN; in poll_two_fds()
|
H A D | quic_impl.c | 5172 if ((events & SSL_POLL_EVENT_W) != 0) in ossl_quic_conn_poll_events() 5183 if ((events & SSL_POLL_EVENT_R) != 0 in ossl_quic_conn_poll_events() 5187 if ((events & SSL_POLL_EVENT_ER) != 0 in ossl_quic_conn_poll_events() 5191 if ((events & SSL_POLL_EVENT_W) != 0 in ossl_quic_conn_poll_events() 5195 if ((events & SSL_POLL_EVENT_EW) != 0 in ossl_quic_conn_poll_events() 5201 if ((events & SSL_POLL_EVENT_EC) != 0 in ossl_quic_conn_poll_events() 5205 if ((events & SSL_POLL_EVENT_ECD) != 0 in ossl_quic_conn_poll_events() 5209 if ((events & SSL_POLL_EVENT_ISB) != 0 in ossl_quic_conn_poll_events() 5213 if ((events & SSL_POLL_EVENT_ISU) != 0 in ossl_quic_conn_poll_events() 5227 if ((events & SSL_POLL_EVENT_EL) != 0 in ossl_quic_conn_poll_events() [all …]
|
/openssl/doc/man3/ |
H A D | SSL_poll.pod | 62 uint64_t events, revents; 103 =item I<events> 105 This is the set of zero or more events which the caller is interested in 112 After SSL_poll() returns, this is the set of zero or more events which are 116 I<revents> need not be a subset of the events specified in I<events>, as some 161 performed in an attempt to generate new readiness events. Only existing 162 readiness events will be reported. 204 of whether they were requested in I<events>. 223 This event type may be raised even if it was not requested in I<events>; 224 specifying this event type in I<events> does nothing. [all …]
|
H A D | SSL_handle_events.pod | 18 timeout events which have become due, or may attempt, to the extent currently 24 events, or to respond to the availability of new data to be read from an 35 events to be handled properly. This is equivalent to a call to 49 timeout events to be handled properly, as well as incoming network data to be 57 periodically to allow timeout events to be handled. An application can find out 69 connection events.
|
H A D | SSL_get_event_timeout.pod | 5 SSL_get_event_timeout - determine when an SSL object next needs to have events 28 The SSL object has events which need to be handled immediately; The fields of 33 The SSL object has events which need to be handled after some amount of time 40 There are currently no timer events which require handling in the future. The
|
H A D | DTLSv1_handle_timeout.pod | 16 DTLSv1_handle_timeout() handles any timeout events which have become pending
|
H A D | OSSL_QUIC_client_method.pod | 24 OpenSSL library for processing time based events.
|
H A D | SSL_get_value_uint.pod | 231 incoming datagrams and timeout events are processed. 237 L<SSL_write_ex(3)> do not result in the automatic processing of QUIC events. Any 239 generated, and pending timeout events are not processed. This allows an 270 processing of background events (for example, received QUIC network traffic) may
|
H A D | SSL_set1_initial_peer_addr.pod | 30 connection events, such as connection migration (where supported).
|
/openssl/doc/designs/ddd/ |
H A D | ddd-05-mem-nonblocking.c | 297 static int pump(APP_CONN *conn, int fd, int events, int timeout) argument 305 pfd.events = (events & (POLLIN | POLLERR)); 307 pfd.events &= ~POLLIN; 309 pfd.events |= POLLOUT; 311 if ((pfd.events & (POLLIN|POLLOUT)) == 0)
|
H A D | ddd-02-conn-nonblocking-threads.c | 301 pfd.events = get_conn_pending_tx(conn); in main() 319 pfd.events = get_conn_pending_rx(conn); in main()
|
H A D | ddd-02-conn-nonblocking.c | 377 pfd.events = get_conn_pending_tx(conn); in main() 421 pfd.events = get_conn_pending_rx(conn); in main()
|
H A D | ddd-04-fd-nonblocking.c | 392 pfd.events = get_conn_pending_tx(conn); in main() 436 pfd.events = get_conn_pending_rx(conn); in main()
|
/openssl/doc/designs/quic-design/server/ |
H A D | quic-polling.md | 774 * The events field of each item specifies the events the caller is interested 782 * in the events field. 910 - Addition of registered events and mutation of existing events uses an 998 * events in the array given in events. 1023 * The number of events written to events is written to *num_events_out, 1043 * events, which might be a superset of the events which were actually asked 1231 events, OSSL_NELEM(events), sizeof(events[0]), 1268 rc = SSL_POLL_GROUP_poll(pg, events, OSSL_NELEM(events), 1315 if (!SSL_POLL_GROUP_poll(pg, events, OSSL_NELEM(events), 1328 SSL_POLL_CHANGE_chflag(chg++, events[i].desc, events[i].instance, [all …]
|
/openssl/doc/man7/ |
H A D | openssl-quic-concurrency.pod | 70 timer events. 109 that QUIC timer events are handled in a timely fashion. This ensures that QUIC 110 timeout events are handled even if an application does not periodically call 112 network I/O events are handled. The assist thread contends for the same 113 resources like any other thread. However, handshake layer events (TLS) are never
|
/openssl/doc/designs/quic-design/ |
H A D | quic-overview.md | 50 Queue of events that need to be handled asynchronously or at a later 71 either as data or as events to the subsequent modules based on the frame
|
H A D | quic-fc.md | 140 the `numBytes` arguments of all On TX events so far; it is that simple. 187 The state machine receives On RX Controlled Bytes events from stream-level flow 203 previous Increase Window events emitted by the state machine. 209 The state machine uses the cadence of the On Retire Controlled Bytes events it 225 events should always occur at the same time.
|
H A D | connection-state-machine.md | 221 timer events related to the connection will ever need fire again. This is a 438 Notes on various events: 475 - Protocol errors, etc. can be handled identically to `APP:CLOSE` events 477 signalled by the peer are handled as `RX:ANY[CONNECTION_CLOSE]` events. 491 hierarchical states with default handlers for common events. [The state machine 495 We transpose the above table to sort by events rather than states, to discern 496 the following list of events: 545 From here we can discern state dependence of different events:
|
/openssl/test/quic-openssl-docker/hq-interop/ |
H A D | quic-hq-interop.c | 649 poll_list[poll_idx].events = SSL_POLL_EVENT_R; in build_request_set() 994 poll_list[poll_idx].events = 0; in main()
|
/openssl/ssl/statem/ |
H A D | README.md | 22 event of NBIO events; handling the common flow of steps for reading a
|