Home
last modified time | relevance | path

Searched refs:ext_type (Results 1 – 25 of 38) sorted by relevance

12

/NextBSD/crypto/openssl/ssl/
HDt1_ext.c64 unsigned int ext_type) in custom_ext_find() argument
69 if (ext_type == meth->ext_type) in custom_ext_find()
88 unsigned int ext_type, in custom_ext_parse() argument
93 meth = custom_ext_find(exts, ext_type); in custom_ext_parse()
117 return meth->parse_cb(s, ext_type, ext_data, ext_size, al, in custom_ext_parse()
150 cb_retval = meth->add_cb(s, meth->ext_type, in custom_ext_add()
159 s2n(meth->ext_type, ret); in custom_ext_add()
176 meth->free_cb(s, meth->ext_type, out, meth->add_arg); in custom_ext_add()
204 unsigned int ext_type, in custom_ext_meth_add() argument
218 if (SSL_extension_supported(ext_type)) in custom_ext_meth_add()
[all …]
HDssltest.c457 static int serverinfo_cli_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_cli_parse_cb() argument
461 if (ext_type == SCT_EXT_TYPE) in serverinfo_cli_parse_cb()
463 else if (ext_type == TACK_EXT_TYPE) in serverinfo_cli_parse_cb()
489 static int custom_ext_0_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_add_cb() argument
493 if (ext_type != CUSTOM_EXT_TYPE_0) in custom_ext_0_cli_add_cb()
498 static int custom_ext_0_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_0_cli_parse_cb() argument
505 static int custom_ext_1_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_add_cb() argument
509 if (ext_type != CUSTOM_EXT_TYPE_1) in custom_ext_1_cli_add_cb()
516 static int custom_ext_1_cli_parse_cb(SSL *s, unsigned int ext_type, in custom_ext_1_cli_parse_cb() argument
523 static int custom_ext_2_cli_add_cb(SSL *s, unsigned int ext_type, in custom_ext_2_cli_add_cb() argument
[all …]
HDssl_rsa.c810 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb() argument
823 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_add_cb() argument
835 ext_type, out, outlen); in serverinfo_srv_add_cb()
859 unsigned int ext_type = 0; in serverinfo_process_buffer() local
872 ext_type = (serverinfo[0] << 8) + serverinfo[1]; in serverinfo_process_buffer()
873 if (ctx && !SSL_CTX_add_server_custom_ext(ctx, ext_type, in serverinfo_process_buffer()
HDssl.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);
/NextBSD/crypto/openssl/doc/ssl/
HDSSL_CTX_set_custom_cli_ext.pod11 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
17 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
23 int SSL_extension_supported(unsigned int ext_type);
25 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
30 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
34 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
43 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and
47 with extension type B<ext_type> and callbacks B<add_cb>, B<free_cb> and
53 SSL_extension_supported() returns 1 if the extension B<ext_type> is handled
60 B<ext_type> parameter is set to the extension type which will be added and
[all …]
/NextBSD/crypto/openssl/crypto/x509v3/
HDv3_conf.c88 int ext_type; in X509V3_EXT_nconf() local
91 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf()
92 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf()
107 int ext_type; in X509V3_EXT_nconf_nid() local
109 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_nid()
111 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid()
/NextBSD/sys/dev/iir/
HDiir_ctrl.c230 p->ext_type = 0x6000 | gdt->sc_device; in iir_ioctl()
236 p->ext_type = 0x6000 | gdt->sc_subdevice; in iir_ioctl()
242 p->ext_type = 0x6000 | gdt->sc_subdevice; in iir_ioctl()
/NextBSD/sys/dev/hptrr/
HDos_bsd.h134 int ext_type; member
165 int ext_type; member
HDhptrr_os_bsd.c127 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
166 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
222 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/NextBSD/sys/dev/hpt27xx/
HDos_bsd.h131 int ext_type; member
164 int ext_type; member
HDhpt27xx_os_bsd.c155 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
194 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
250 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/NextBSD/sys/dev/hptnr/
HDos_bsd.h133 int ext_type; member
164 int ext_type; member
HDhptnr_os_bsd.c141 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
180 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
236 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/NextBSD/contrib/wpa/src/tls/
HDtlsv1_client.h37 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type,
HDtlsv1_client.c681 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type, in tlsv1_client_hello_ext() argument
700 WPA_PUT_BE16(pos, ext_type); in tlsv1_client_hello_ext()
707 if (ext_type == TLS_EXT_PAC_OPAQUE) { in tlsv1_client_hello_ext()
HDtlsv1_server_read.c57 u16 ext_type, ext_len; in tls_process_client_hello() local
241 ext_type = WPA_GET_BE16(pos); in tls_process_client_hello()
258 ext_type); in tls_process_client_hello()
262 if (ext_type == TLS_EXT_SESSION_TICKET) { in tls_process_client_hello()
/NextBSD/sys/kern/
HDkern_mbuf.c497 KASSERT(m->m_ext.ext_type == EXT_PACKET, ("%s: ext_type != EXT_PACKET", __func__)); in mb_dtor_pack()
568 m->m_ext.ext_type = type; in mb_ctor_clust()
607 m->m_ext.ext_type = EXT_PACKET; /* Override. */ in mb_zinit_pack()
HDuipc_mbuf.c315 mb->m_ext.ext_type = type; in m_extadd()
337 switch (m->m_ext.ext_type) { in mb_free_ext()
356 switch (m->m_ext.ext_type) { in mb_free_ext()
388 KASSERT(m->m_ext.ext_type == 0, in mb_free_ext()
408 switch (m->m_ext.ext_type) { in mb_dupcl()
HDuipc_mbuf2.c155 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n))) in m_pulldown()
/NextBSD/sys/dev/netmap/
HDnetmap_generic.c112 (m)->m_ext.ext_type = EXT_EXTREF; \
121 m->m_ext.ext_type = EXT_PACKET; in netmap_default_mbuf_destructor()
136 m->m_ext.ext_type = EXT_EXTREF; in netmap_get_mbuf()
/NextBSD/contrib/wpa/src/crypto/
HDtls_none.c166 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument
HDtls_internal.c654 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument
659 return tlsv1_client_hello_ext(conn->client, ext_type, in tls_connection_client_hello_ext()
HDtls.h522 int ext_type, const u8 *data,
/NextBSD/sys/sys/
HDmbuf.h166 uint32_t ext_type:8, /* type of external storage */ member
582 m->m_ext.ext_type = EXT_EXTREF; in m_extaddref()
761 m->m_ext.ext_type = type; in m_cljset()
/NextBSD/sys/netinet/
HDtcp_pcap.c308 switch (mhead->m_ext.ext_type) { in tcp_pcap_add()

12