Searched refs:ext_type (Results 1 - 25 of 37) sorted by relevance

12

/freebsd-11.0-release/crypto/openssl/ssl/
H A Dt1_ext.c64 unsigned int ext_type)
69 if (ext_type == meth->ext_type)
88 unsigned int ext_type,
93 meth = custom_ext_find(exts, ext_type);
117 return meth->parse_cb(s, ext_type, ext_data, ext_size, al,
150 cb_retval = meth->add_cb(s, meth->ext_type,
159 s2n(meth->ext_type, ret);
176 meth->free_cb(s, meth->ext_type, out, meth->add_arg);
204 unsigned int ext_type,
63 custom_ext_find(custom_ext_methods *exts, unsigned int ext_type) argument
87 custom_ext_parse(SSL *s, int server, unsigned int ext_type, const unsigned char *ext_data, size_t ext_size, int *al) argument
203 custom_ext_meth_add(custom_ext_methods *exts, unsigned int ext_type, custom_ext_add_cb add_cb, custom_ext_free_cb free_cb, void *add_arg, custom_ext_parse_cb parse_cb, void *parse_arg) argument
248 SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type, custom_ext_add_cb add_cb, custom_ext_free_cb free_cb, void *add_arg, custom_ext_parse_cb parse_cb, void *parse_arg) argument
259 SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type, custom_ext_add_cb add_cb, custom_ext_free_cb free_cb, void *add_arg, custom_ext_parse_cb parse_cb, void *parse_arg) argument
270 SSL_extension_supported(unsigned int ext_type) argument
[all...]
H A Dssltest.c512 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, argument
516 if (ext_type == SCT_EXT_TYPE)
518 else if (ext_type == TACK_EXT_TYPE)
544 static int custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type, argument
548 if (ext_type != CUSTOM_EXT_TYPE_0)
553 static int custom_ext_0_cli_parse_cb(SSL *s, unsigned int ext_type, argument
560 static int custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, argument
564 if (ext_type != CUSTOM_EXT_TYPE_1)
571 static int custom_ext_1_cli_parse_cb(SSL *s, unsigned int ext_type, argument
578 static int custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, argument
589 custom_ext_2_cli_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *arg) argument
600 custom_ext_3_cli_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) argument
611 custom_ext_3_cli_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *arg) argument
628 custom_ext_0_srv_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *arg) argument
637 custom_ext_0_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) argument
646 custom_ext_1_srv_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *arg) argument
660 custom_ext_1_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) argument
667 custom_ext_2_srv_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *arg) argument
681 custom_ext_2_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) argument
690 custom_ext_3_srv_parse_cb(SSL *s, unsigned int ext_type, const unsigned char *in, size_t inlen, int *al, void *arg) argument
704 custom_ext_3_srv_add_cb(SSL *s, unsigned int ext_type, const unsigned char **out, size_t *outlen, int *al, void *arg) argument
[all...]
H A Dssl_rsa.c810 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, argument
823 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, argument
835 ext_type, out, outlen);
859 unsigned int ext_type = 0; local
872 ext_type = (serverinfo[0] << 8) + serverinfo[1];
880 if (ext_type == meth->ext_type) {
886 if (!have_ext_cbs && !SSL_CTX_add_server_custom_ext(ctx, ext_type,
H A Dssl.h402 typedef int (*custom_ext_add_cb) (SSL *s, unsigned int ext_type,
406 typedef void (*custom_ext_free_cb) (SSL *s, unsigned int ext_type,
409 typedef int (*custom_ext_parse_cb) (SSL *s, unsigned int ext_type,
1388 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
1395 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
1402 int SSL_extension_supported(unsigned int ext_type);
/freebsd-11.0-release/contrib/wpa/src/tls/
H A Dtlsv1_client.h37 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type,
H A Dtlsv1_client.c676 * @ext_type: Extension type
681 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type, argument
700 WPA_PUT_BE16(pos, ext_type);
707 if (ext_type == TLS_EXT_PAC_OPAQUE) {
H A Dtlsv1_server_read.c57 u16 ext_type, ext_len; local
241 ext_type = WPA_GET_BE16(pos);
258 ext_type);
262 if (ext_type == TLS_EXT_SESSION_TICKET) {
/freebsd-11.0-release/crypto/openssl/crypto/x509v3/
H A Dv3_conf.c88 int ext_type; local
91 if ((ext_type = v3_check_generic(&value)))
92 return v3_generic_extension(name, value, crit, ext_type, ctx);
107 int ext_type; local
109 if ((ext_type = v3_check_generic(&value)))
111 value, crit, ext_type, ctx);
/freebsd-11.0-release/sys/dev/hpt27xx/
H A Dos_bsd.h131 int ext_type; member in struct:_hba
164 int ext_type; member in struct:_vbus_ext
H A Dhpt27xx_os_bsd.c155 if (vbus_ext->ext_type!=EXT_TYPE_VBUS)
194 if (vbus_ext->ext_type!=EXT_TYPE_VBUS)
250 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS);
/freebsd-11.0-release/sys/dev/hptnr/
H A Dos_bsd.h133 int ext_type; member in struct:_hba
164 int ext_type; member in struct:_vbus_ext
H A Dhptnr_os_bsd.c141 if (vbus_ext->ext_type!=EXT_TYPE_VBUS)
180 if (vbus_ext->ext_type!=EXT_TYPE_VBUS)
236 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS);
/freebsd-11.0-release/sys/dev/hptrr/
H A Dos_bsd.h134 int ext_type; member in struct:_hba
165 int ext_type; member in struct:_vbus_ext
H A Dhptrr_os_bsd.c127 if (vbus_ext->ext_type!=EXT_TYPE_VBUS)
166 if (vbus_ext->ext_type!=EXT_TYPE_VBUS)
222 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS);
/freebsd-11.0-release/sys/dev/iir/
H A Diir_ctrl.c230 p->ext_type = 0x6000 | gdt->sc_device;
234 /* new -> subdevice into ext_type */
236 p->ext_type = 0x6000 | gdt->sc_subdevice;
240 /* new -> subdevice into ext_type */
242 p->ext_type = 0x6000 | gdt->sc_subdevice;
/freebsd-11.0-release/contrib/wpa/src/crypto/
H A Dtls_none.c166 int ext_type, const u8 *data,
165 tls_connection_client_hello_ext(void *tls_ctx, struct tls_connection *conn, int ext_type, const u8 *data, size_t data_len) argument
H A Dtls_internal.c654 int ext_type, const u8 *data,
659 return tlsv1_client_hello_ext(conn->client, ext_type,
653 tls_connection_client_hello_ext(void *tls_ctx, struct tls_connection *conn, int ext_type, const u8 *data, size_t data_len) argument
H A Dtls.h515 * @ext_type: Extension type
522 int ext_type, const u8 *data,
/freebsd-11.0-release/share/dtrace/
H A Dmbuf.d153 uint32_t ext_type:8, /* type of external storage */
/freebsd-11.0-release/sys/kern/
H A Dkern_mbuf.c473 KASSERT(m->m_ext.ext_type == EXT_PACKET, ("%s: ext_type != EXT_PACKET", __func__));
514 m->m_ext.ext_type = m_gettype(size);
535 m->m_ext.ext_type = EXT_PACKET; /* Override. */
647 KASSERT(m->m_ext.ext_type == EXT_EXTREF,
654 switch (m->m_ext.ext_type) {
702 KASSERT(m->m_ext.ext_type == 0,
703 ("%s: unknown ext_type", __func__));
935 mb->m_ext.ext_type = type;
H A Duipc_mbuf2.c140 * (ii) since mbuf has M_EXT, the ext_type _has_ to be
155 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n)))
/freebsd-11.0-release/sys/dev/netmap/
H A Dnetmap_generic.c112 (m)->m_ext.ext_type = EXT_EXTREF; \
121 m->m_ext.ext_type = EXT_PACKET;
137 m->m_ext.ext_type = EXT_EXTREF;
/freebsd-11.0-release/sys/netinet/
H A Dtcp_pcap.c312 switch (mhead->m_ext.ext_type) {
/freebsd-11.0-release/sys/sys/
H A Dmbuf.h195 uint32_t ext_type:8, /* type of external storage */ member in struct:m_ext
666 m->m_ext.ext_type = EXT_EXTREF;
796 m->m_ext.ext_type = type;
/freebsd-11.0-release/crypto/openssl/apps/
H A Ds_client.c625 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, argument
633 ext_buf[0] = ext_type >> 8;
634 ext_buf[1] = ext_type & 0xFF;
640 ext_type);

Completed in 279 milliseconds

12