Home
last modified time | relevance | path

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

123

/freebsd/crypto/openssl/util/perl/TLSProxy/
H A DRecord.pm80 my $content_type;
91 ($content_type, $version, $epoch,
96 ($content_type, $version, $len) = unpack('Cnn', $packet);
107 print " Content type: ".$record_type{$content_type}."\n";
119 $content_type,
133 $content_type,
144 if ($content_type != RT_CCS
146 || $content_type != RT_ALERT)) {
158 .$record_type{$record->content_type()}."\n";
213 $content_type,
[all …]
H A DMessage.pm195 if ($record->content_type == TLSProxy::Record::RT_CCS) {
207 } elsif ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
307 } elsif ($record->content_type == TLSProxy::Record::RT_APPLICATION_DATA) {
315 } elsif ($record->content_type == TLSProxy::Record::RT_ALERT) {
/freebsd/crypto/openssl/test/
H A Dhttp_test.c28 const char *content_type; member
44 const char *content_type, const char *txt, in mock_http_server() argument
118 content_type, len) in mock_http_server()
144 args->content_type, args->txt, in http_bio_cb_ex()
163 const char *content_type; in test_http_method() local
170 content_type = "text/plain"; in test_http_method()
180 content_type = "application/x-x509-ca-cert"; in test_http_method()
188 mock_args.content_type = content_type; in test_http_method()
198 real_server ? "text/html; charset=utf-8" : content_type, in test_http_method()
204 0 /* buf_size */, headers, content_type, in test_http_method()
[all …]
H A Dtls13groupselection_test.c336 int content_type, const void *buf, in server_response_check_cb() argument
352 content_type == SSL3_RT_HANDSHAKE && /* carrying a handshake record type ... */ in server_response_check_cb()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DSymbolicFile.h70 template <class content_type> class content_iterator {
71 content_type Current;
75 using value_type = const content_type;
80 content_iterator(content_type symb) : Current(std::move(symb)) {} in content_iterator()
82 const content_type *operator->() const { return &Current; }
84 const content_type &operator*() const { return Current; }
/freebsd/crypto/openssl/include/openssl/
H A Dhttp.h56 const char *content_type, int asn1,
58 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type,
84 const char *content_type, BIO *req,
101 const char *content_type, BIO *req,
/freebsd/crypto/openssl/test/recipes/
H A D70-test_sslrecords.t30 my $content_type = undef;
76 $content_type = TLSProxy::Record::RT_APPLICATION_DATA;
90 $content_type = TLSProxy::Record::RT_HANDSHAKE;
368 $content_type,
382 $content_type,
707 last if $record->content_type == TLSProxy::Record::RT_CCS;
731 if ($record->content_type == TLSProxy::Record::RT_HANDSHAKE) {
H A D70-test_tls13hrr.t173 $hrr_record->content_type(),
/freebsd/crypto/openssl/crypto/http/
H A Dhttp_client.c253 const char *content_type, int asn1, in OSSL_HTTP_REQ_CTX_set_expected() argument
269 if (content_type != NULL in OSSL_HTTP_REQ_CTX_set_expected()
270 && (rctx->expected_ct = OPENSSL_strdup(content_type)) == NULL) in OSSL_HTTP_REQ_CTX_set_expected()
283 const char *content_type, BIO *req) in set1_content() argument
290 if (rctx == NULL || (req == NULL && content_type != NULL)) { in set1_content()
308 if (content_type == NULL) { in set1_content()
311 if (HAS_CASE_PREFIX(content_type, "text/")) in set1_content()
313 if (BIO_printf(rctx->mem, "Content-Type: %s\r\n", content_type) <= 0) in set1_content()
351 int OSSL_HTTP_REQ_CTX_set1_req(OSSL_HTTP_REQ_CTX *rctx, const char *content_type, in OSSL_HTTP_REQ_CTX_set1_req() argument
359 res = res && set1_content(rctx, content_type, mem); in OSSL_HTTP_REQ_CTX_set1_req()
[all …]
/freebsd/sys/arm/nvidia/drm2/
H A Dhdmi.c137 ((frame->content_type & 0x3) << 4) | in hdmi_avi_infoframe_pack()
640 hdmi_content_type_get_name(enum hdmi_content_type content_type) in hdmi_content_type_get_name() argument
642 switch (content_type) { in hdmi_content_type_get_name()
685 hdmi_content_type_get_name(frame->content_type)); in hdmi_avi_infoframe_log()
1032 frame->content_type = (ptr[4] >> 4) & 0x3; in hdmi_avi_infoframe_unpack()
/freebsd/crypto/openssl/include/internal/
H A Dquic_trace.h15 int ossl_quic_trace(int write_p, int version, int content_type,
H A Dssl.h16 typedef void (*ossl_msg_cb)(int write_p, int version, int content_type,
H A Dquic_tserver.h196 int content_type,
/freebsd/crypto/openssl/doc/man3/
H A DSSL_CTX_set_msg_callback.pod18 int content_type, const void *buf,
24 int content_type, const void *buf,
28 void SSL_trace(int write_p, int version, int content_type,
65 =item I<content_type>
/freebsd/crypto/openssl/apps/include/
H A Dhttp_server.h85 const char *content_type,
H A Ds_apps.h48 void msg_cb(int write_p, int version, int content_type, const void *buf,
/freebsd/contrib/wpa/src/utils/
H A Dhttp-utils.h53 const char *content_type, const char *ext_hdr,
/freebsd/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/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/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/contrib/libevent/sample/
H A Dhttp-server.c85 const char *content_type; member
124 return ent->content_type; in guess_content_type()
/freebsd/crypto/openssl/crypto/pkcs7/
H A Dpk7_lib.c148 p7->d.signed_and_enveloped->enc_data->content_type in PKCS7_set_type()
158 p7->d.enveloped->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
167 p7->d.encrypted->enc_data->content_type = OBJ_nid2obj(NID_pkcs7_data); in PKCS7_set_type()
/freebsd/crypto/openssl/ssl/quic/
H A Dquic_trace.c565 int ossl_quic_trace(int write_p, int version, int content_type, in ossl_quic_trace() argument
573 switch (content_type) { in ossl_quic_trace()
/freebsd/crypto/openssl/apps/lib/
H A Dhttp_server.c504 const char *content_type, in http_server_send_asn1_resp() argument
512 content_type, in http_server_send_asn1_resp()

123