Home
last modified time | relevance | path

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

12

/freebsd-13.1/crypto/openssl/ssl/statem/
H A Dextensions_cust.c89 if (ext_type == meth->ext_type in custom_ext_find()
125 meth = custom_ext_find(exts, role, ext_type, NULL); in custom_ext_parse()
220 if (!WPACKET_put_bytes_u16(pkt, meth->ext_type) in custom_ext_add()
378 if (SSL_extension_supported(ext_type) in add_custom_ext_intern()
383 if (ext_type > 0xffff) in add_custom_ext_intern()
386 if (custom_ext_find(exts, role, ext_type, NULL)) in add_custom_ext_intern()
401 meth->ext_type = ext_type; in add_custom_ext_intern()
409 unsigned int ext_type, in add_old_custom_ext() argument
434 ret = add_custom_ext_intern(ctx, role, ext_type, in add_old_custom_ext()
490 int SSL_extension_supported(unsigned int ext_type) in SSL_extension_supported() argument
[all …]
/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_extension_supported.pod15 typedef int (*SSL_custom_ext_add_cb_ex) (SSL *s, unsigned int ext_type,
22 typedef void (*SSL_custom_ext_free_cb_ex) (SSL *s, unsigned int ext_type,
27 typedef int (*SSL_custom_ext_parse_cb_ex) (SSL *s, unsigned int ext_type,
34 int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
42 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
47 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
51 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
56 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
62 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
68 int SSL_extension_supported(unsigned int ext_type);
[all …]
H A DSSL_CTX_has_client_custom_ext.pod12 int SSL_CTX_has_client_custom_ext(const SSL_CTX *ctx, unsigned int ext_type);
17 client extension of type B<ext_type> using SSL_CTX_add_client_custom_ext().
/freebsd-13.1/crypto/openssl/ssl/
H A Dssl_rsa.c715 static int serverinfoex_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_parse_cb() argument
730 static int serverinfo_srv_parse_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_parse_cb() argument
734 return serverinfoex_srv_parse_cb(s, ext_type, 0, in, inlen, NULL, 0, al, in serverinfo_srv_parse_cb()
738 static int serverinfoex_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfoex_srv_add_cb() argument
756 ext_type, out, outlen); in serverinfoex_srv_add_cb()
769 static int serverinfo_srv_add_cb(SSL *s, unsigned int ext_type, in serverinfo_srv_add_cb() argument
773 return serverinfoex_srv_add_cb(s, ext_type, 0, out, outlen, NULL, 0, al, in serverinfo_srv_add_cb()
799 unsigned int ext_type = 0; in serverinfo_process_buffer() local
803 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
822 if (!SSL_CTX_add_server_custom_ext(ctx, ext_type, in serverinfo_process_buffer()
[all …]
/freebsd-13.1/crypto/openssl/crypto/x509v3/
H A Dv3_conf.c40 int ext_type; in X509V3_EXT_nconf() local
43 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf()
44 return v3_generic_extension(name, value, crit, ext_type, ctx); in X509V3_EXT_nconf()
59 int ext_type; in X509V3_EXT_nconf_nid() local
61 if ((ext_type = v3_check_generic(&value))) in X509V3_EXT_nconf_nid()
63 value, crit, ext_type, ctx); in X509V3_EXT_nconf_nid()
/freebsd-13.1/sys/dev/hpt27xx/
H A Dos_bsd.h133 int ext_type; member
164 int ext_type; member
H A Dhpt27xx_os_bsd.c157 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
196 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
252 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/freebsd-13.1/sys/dev/hptnr/
H A Dos_bsd.h135 int ext_type; member
166 int ext_type; member
H A Dhptnr_os_bsd.c143 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
182 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
238 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/freebsd-13.1/sys/dev/hptrr/
H A Dos_bsd.h136 int ext_type; member
167 int ext_type; member
H A Dhptrr_os_bsd.c129 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve()
168 if (vbus_ext->ext_type!=EXT_TYPE_VBUS) in freelist_reserve_dma()
224 HPT_ASSERT(vbus_ext->ext_type==EXT_TYPE_VBUS); in os_request_timer()
/freebsd-13.1/sys/dev/iir/
H A Diir_ctrl.c234 p->ext_type = 0x6000 | gdt->sc_device; in iir_ioctl()
240 p->ext_type = 0x6000 | gdt->sc_subdevice; in iir_ioctl()
246 p->ext_type = 0x6000 | gdt->sc_subdevice; in iir_ioctl()
/freebsd-13.1/sys/kern/
H A Dkern_mbuf.c712 KASSERT(m->m_ext.ext_type == EXT_PACKET, ("%s: ext_type != EXT_PACKET", __func__)); in mb_dtor_pack()
750 m->m_ext.ext_type = m_gettype(size); in mb_ctor_clust()
771 m->m_ext.ext_type = EXT_PACKET; /* Override. */ in mb_zinit_pack()
1204 KASSERT(m->m_ext.ext_type == EXT_EXTREF || in mb_free_ext()
1205 m->m_ext.ext_type == EXT_RXRING, in mb_free_ext()
1212 switch (m->m_ext.ext_type) { in mb_free_ext()
1254 KASSERT(m->m_ext.ext_type == 0, in mb_free_ext()
1534 mb->m_ext.ext_type = type; in m_extadd()
H A Duipc_mbuf2.c157 (n->m_ext.ext_type == EXT_CLUSTER && M_WRITABLE(n))) in m_pulldown()
H A Dkern_sendfile.c172 KASSERT(m->m_flags & M_EXT && m->m_ext.ext_type == EXT_SFBUF, in sendfile_free_mext()
1092 m0->m_ext.ext_type = EXT_SFBUF; in vn_sendfile()
/freebsd-13.1/contrib/wpa/src/tls/
H A Dtlsv1_server_read.c129 u16 ext_type, ext_len; in tls_process_client_hello() local
341 ext_type = WPA_GET_BE16(pos); in tls_process_client_hello()
358 ext_type); in tls_process_client_hello()
362 if (ext_type == TLS_EXT_SESSION_TICKET) { in tls_process_client_hello()
370 } else if (ext_type == TLS_EXT_STATUS_REQUEST) { in tls_process_client_hello()
372 } else if (ext_type == TLS_EXT_STATUS_REQUEST_V2) { in tls_process_client_hello()
H A Dtlsv1_client.h38 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type,
H A Dtlsv1_client.c730 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type, in tlsv1_client_hello_ext() argument
747 WPA_PUT_BE16(pos, ext_type); in tlsv1_client_hello_ext()
754 if (ext_type == TLS_EXT_PAC_OPAQUE) { in tlsv1_client_hello_ext()
/freebsd-13.1/crypto/openssl/include/openssl/
H A Dssl.h262 typedef int (*custom_ext_add_cb)(SSL *s, unsigned int ext_type,
266 typedef void (*custom_ext_free_cb)(SSL *s, unsigned int ext_type,
269 typedef int (*custom_ext_parse_cb)(SSL *s, unsigned int ext_type,
274 typedef int (*SSL_custom_ext_add_cb_ex)(SSL *s, unsigned int ext_type,
281 typedef void (*SSL_custom_ext_free_cb_ex)(SSL *s, unsigned int ext_type,
286 typedef int (*SSL_custom_ext_parse_cb_ex)(SSL *s, unsigned int ext_type,
866 unsigned int ext_type);
869 unsigned int ext_type,
877 unsigned int ext_type,
884 __owur int SSL_CTX_add_custom_ext(SSL_CTX *ctx, unsigned int ext_type,
[all …]
/freebsd-13.1/contrib/wpa/src/crypto/
H A Dtls_none.c180 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument
H A Dtls_internal.c720 int ext_type, const u8 *data, in tls_connection_client_hello_ext() argument
725 return tlsv1_client_hello_ext(conn->client, ext_type, in tls_connection_client_hello_ext()
H A Dtls.h587 int ext_type, const u8 *data,
/freebsd-13.1/sys/netinet/
H A Dtcp_pcap.c316 switch (mhead->m_ext.ext_type) { in tcp_pcap_add()
/freebsd-13.1/sys/sys/
H A Dmbuf.h266 uint32_t ext_type:8, /* type of external storage */ member
911 m->m_ext.ext_type = EXT_EXTREF; in m_extaddref()
1041 m->m_ext.ext_type = type; in m_cljset()
/freebsd-13.1/sys/dev/netmap/
H A Dnetmap_kern.h2318 (m)->m_ext.ext_type = EXT_EXTREF; \
2327 m->m_ext.ext_type = EXT_PACKET; in void_mbuf_dtor()
2350 m->m_ext.ext_type = EXT_EXTREF; in nm_os_get_mbuf()

12