Lines Matching full:port
22 * QUIC Port
25 * A QUIC Port (QUIC_PORT) represents a single UDP network socket and contains
30 * A QUIC port is responsible for managing a set of channels which all use the
42 /* The engine which the QUIC port is to be a child of. */
60 * If 1, this port is to be used for multiple connections, so
61 * non-zero-length CIDs should be used. If 0, this port will only be used
67 * if 1, this port should do server address validation
75 void ossl_quic_port_free(QUIC_PORT *port);
82 /* Create an outgoing channel using this port. */
83 QUIC_CHANNEL *ossl_quic_port_create_outgoing(QUIC_PORT *port, SSL *tls);
86 * Create an incoming channel using this port.
90 QUIC_CHANNEL *ossl_quic_port_create_incoming(QUIC_PORT *port, SSL *tls);
96 QUIC_CHANNEL *ossl_quic_port_pop_incoming(QUIC_PORT *port);
99 int ossl_quic_port_have_incoming(QUIC_PORT *port);
104 void ossl_quic_port_drop_incoming(QUIC_PORT *port);
112 BIO *ossl_quic_port_get_net_rbio(QUIC_PORT *port);
113 BIO *ossl_quic_port_get_net_wbio(QUIC_PORT *port);
114 int ossl_quic_port_set_net_rbio(QUIC_PORT *port, BIO *net_rbio);
115 int ossl_quic_port_set_net_wbio(QUIC_PORT *port, BIO *net_wbio);
116 SSL_CTX *ossl_quic_port_get_channel_ctx(QUIC_PORT *port);
123 int ossl_quic_port_update_poll_descriptors(QUIC_PORT *port, int force);
125 /* Gets the engine which this port is a child of. */
126 QUIC_ENGINE *ossl_quic_port_get0_engine(QUIC_PORT *port);
128 /* Gets the reactor which can be used to tick/poll on the port. */
129 QUIC_REACTOR *ossl_quic_port_get0_reactor(QUIC_PORT *port);
131 /* Gets the demuxer belonging to the port. */
132 QUIC_DEMUX *ossl_quic_port_get0_demux(QUIC_PORT *port);
134 /* Gets the mutex used by the port. */
135 CRYPTO_MUTEX *ossl_quic_port_get0_mutex(QUIC_PORT *port);
138 OSSL_TIME ossl_quic_port_get_time(QUIC_PORT *port);
140 int ossl_quic_port_get_rx_short_dcid_len(const QUIC_PORT *port);
141 int ossl_quic_port_get_tx_init_dcid_len(const QUIC_PORT *port);
143 /* Returns 1 if the port is running/healthy, 0 if it has failed. */
144 int ossl_quic_port_is_running(const QUIC_PORT *port);
147 * Restores port-level error to the error stack. To be called only if
148 * the port is no longer running.
150 void ossl_quic_port_restore_err_state(const QUIC_PORT *port);
153 void ossl_quic_port_subtick(QUIC_PORT *port, QUIC_TICK_RESULT *r,
157 size_t ossl_quic_port_get_num_incoming_channels(const QUIC_PORT *port);
160 void ossl_quic_port_set_allow_incoming(QUIC_PORT *port, int allow_incoming);
163 int ossl_quic_port_is_addressed_r(const QUIC_PORT *port);
166 int ossl_quic_port_is_addressed_w(const QUIC_PORT *port);
169 int ossl_quic_port_is_addressed(const QUIC_PORT *port);
175 uint64_t ossl_quic_port_get_net_bio_epoch(const QUIC_PORT *port);
187 void ossl_quic_port_raise_net_error(QUIC_PORT *port,