Home
last modified time | relevance | path

Searched refs:content_type (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-14.2/crypto/openssl/util/perl/TLSProxy/
H A DRecord.pm83 print " Content type: ".$record_type{$content_type}."\n";
89 $content_type,
99 if ($content_type != RT_CCS
101 || $content_type != RT_ALERT)) {
168 $content_type,
179 content_type => $content_type,
234 if ($self->content_type() == RT_ALERT) {
262 $self->content_type($content_type);
365 sub content_type subroutine
369 $self->{content_type} = shift;
[all …]
H A DMessage.pm180 if ($record->content_type == TLSProxy::Record::RT_CCS) {
192 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
270 } elsif ($record->content_type == TLSProxy::Record::RT_APPLICATION_DATA) {
278 } elsif ($record->content_type == TLSProxy::Record::RT_ALERT) {
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Object/
H A DSymbolicFile.h69 template <class content_type> class content_iterator {
70 content_type Current;
74 using value_type = content_type;
79 content_iterator(content_type symb) : Current(std::move(symb)) {} in content_iterator()
81 const content_type *operator->() const { return &Current; }
83 const content_type &operator*() const { return Current; }
/freebsd-14.2/crypto/openssl/include/openssl/
H A Dhttp.h49 const char *content_type, int asn1,
51 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
75 const char *content_type, BIO *req,
92 const char *content_type, BIO *req,
/freebsd-14.2/crypto/openssl/test/
H A Dhttp_test.c121 const char content_type[] = "application/x-x509-ca-cert"; in test_http_x509() local
134 0 /* buf_size */, headers, content_type, in test_http_x509()
140 0 /* buf_size */, headers, content_type, in test_http_x509()
141 req, content_type, 1 /* expect_asn1 */, in test_http_x509()
163 const char *const content_type = "application/x-x509-ca-cert"; in test_http_keep_alive() local
182 content_type, 0 /* ASN.1 not expected */, in test_http_keep_alive()
/freebsd-14.2/crypto/openssl/crypto/http/
H A Dhttp_client.c244 const char *content_type, int asn1, in OSSL_HTTP_REQ_CTX_set_expected() argument
260 if (content_type != NULL in OSSL_HTTP_REQ_CTX_set_expected()
261 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
274 const char *content_type, BIO *req) in set1_content() argument
281 if (rctx == NULL || (req == NULL && content_type != NULL)) { in set1_content()
299 if (content_type != NULL in set1_content()
345 res = res && set1_content(rctx, content_type, mem); in OSSL_HTTP_REQ_CTX_set1_req()
1028 const char *content_type, BIO *req, in OSSL_HTTP_set1_request() argument
1051 && set1_content(rctx, content_type, req); in OSSL_HTTP_set1_request()
1230 const char *content_type, BIO *req, in OSSL_HTTP_transfer() argument
[all …]
/freebsd-14.2/crypto/openssl/test/recipes/
H A D70-test_sslrecords.t43 my $content_type = TLSProxy::Record::RT_APPLICATION_DATA;
53 $content_type = TLSProxy::Record::RT_HANDSHAKE;
268 $content_type,
553 last if $record->content_type == TLSProxy::Record::RT_CCS;
577 if ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
H A D70-test_tls13hrr.t141 $hrr_record->content_type(),
/freebsd-14.2/sys/arm/nvidia/drm2/
H A Dhdmi.c138 ((frame->content_type & 0x3) << 4) | in hdmi_avi_infoframe_pack()
641 hdmi_content_type_get_name(enum hdmi_content_type content_type) in hdmi_content_type_get_name() argument
643 switch (content_type) { in hdmi_content_type_get_name()
686 hdmi_content_type_get_name(frame->content_type)); in hdmi_avi_infoframe_log()
1033 frame->content_type = (ptr[4] >> 4) & 0x3; in hdmi_avi_infoframe_unpack()
H A Dhdmi.h149 enum hdmi_content_type content_type; member
/freebsd-14.2/crypto/openssl/doc/man3/
H A DSSL_CTX_set_msg_callback.pod17 int content_type, const void *buf,
23 int content_type, const void *buf,
59 =item I<content_type>
H A DOSSL_HTTP_REQ_CTX.pod37 const char *content_type, int asn1,
39 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
97 If the I<content_type> parameter
129 I<content_type> must be NULL if I<req> is NULL.
130 If I<content_type> isn't NULL,
/freebsd-14.2/crypto/openssl/apps/include/
H A Dhttp_server.h103 const char *content_type,
H A Ds_apps.h43 void msg_cb(int write_p, int version, int content_type, const void *buf,
/freebsd-14.2/contrib/wpa/src/utils/
H A Dhttp-utils.h53 const char *content_type, const char *ext_hdr,
/freebsd-14.2/contrib/wpa/src/tls/
H A Dtlsv1_record.h64 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf,
H A Dtlsv1_record.c150 int tlsv1_record_send(struct tlsv1_record_layer *rl, u8 content_type, u8 *buf, in tlsv1_record_send() argument
165 *pos++ = content_type; in tlsv1_record_send()
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_hdmi.c168 ((frame->content_type & 0x3) << 4) | in hdmi_avi_infoframe_pack_only()
1227 hdmi_content_type_get_name(enum hdmi_content_type content_type) in hdmi_content_type_get_name() argument
1229 switch (content_type) { in hdmi_content_type_get_name()
1269 hdmi_content_type_get_name(frame->content_type)); in hdmi_avi_infoframe_log()
1644 frame->content_type = (ptr[4] >> 4) & 0x3; in hdmi_avi_infoframe_unpack()
/freebsd-14.2/contrib/ntp/sntp/libevent/sample/
H A Dhttp-server.c85 const char *content_type; member
124 return ent->content_type; in guess_content_type()
/freebsd-14.2/contrib/libevent/sample/
H A Dhttp-server.c85 const char *content_type; member
124 return ent->content_type; in guess_content_type()
/freebsd-14.2/crypto/openssl/apps/lib/
H A Dhttp_server.c512 const char *content_type, in http_server_send_asn1_resp() argument
519 content_type, in http_server_send_asn1_resp()
H A Ds_cb.c586 void msg_cb(int write_p, int version, int content_type, const void *buf, in msg_cb() argument
602 switch (content_type) { in msg_cb()
643 BIO_snprintf(tmpbuf, sizeof(tmpbuf)-1, ", Unknown (content_type=%d)", content_type); in msg_cb()
647 …tmpbuf)-1, "Not TLS data or unknown version (version=%d, content_type=%d)", version, content_type); in msg_cb()
/freebsd-14.2/crypto/openssl/crypto/pkcs7/
H A Dpk7_lib.c147 p7->d.signed_and_enveloped->enc_data->content_type in PKCS7_set_type()
157 p7->d.enveloped->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
166 p7->d.encrypted->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
/freebsd-14.2/contrib/wpa/src/crypto/
H A Dtls_openssl.c1410 static const char * openssl_content_type(int content_type) in openssl_content_type() argument
1412 switch (content_type) { in openssl_content_type()
1436 if (content_type == 257 && buf && len == 1) in openssl_handshake_type()
1438 if (content_type != 22 || !buf || len == 0) in openssl_handshake_type()
1594 version, content_type); in tls_msg_cb()
1600 write_p ? "TX" : "RX", version, content_type, in tls_msg_cb()
1601 openssl_content_type(content_type), in tls_msg_cb()
1602 openssl_handshake_type(content_type, buf, len)); in tls_msg_cb()
1604 if (content_type == 24 && len >= 3 && pos[0] == 1) { in tls_msg_cb()
1618 if (content_type == 22 && pos && len > 0 && pos[0] == 2) in tls_msg_cb()
[all …]
/freebsd-14.2/lib/libfetch/
H A Dhttp.c1584 struct url *purl, const char *flags, const char *content_type, in http_request_body() argument
1774 if (content_type != NULL) in http_request_body()
1775 http_cmd(conn, "Content-Type: %s", content_type); in http_request_body()
2143 const char *content_type, const char *body) in fetchReqHTTP() argument
2147 flags, content_type, body)); in fetchReqHTTP()

12