Home
last modified time | relevance | path

Searched refs:record_type (Results 1 – 21 of 21) sorted by relevance

/linux-6.6.21/net/handshake/
Dalert.c36 u8 record_type = TLS_RECORD_TYPE_ALERT; in tls_alert_send() local
37 u8 buf[CMSG_SPACE(sizeof(record_type))]; in tls_alert_send()
59 cmsg->cmsg_len = CMSG_LEN(sizeof(record_type)); in tls_alert_send()
60 memcpy(CMSG_DATA(cmsg), &record_type, sizeof(record_type)); in tls_alert_send()
76 u8 record_type; in tls_get_record_type() local
83 record_type = *((u8 *)CMSG_DATA(cmsg)); in tls_get_record_type()
84 trace_tls_contenttype(sk, record_type); in tls_get_record_type()
85 return record_type; in tls_get_record_type()
/linux-6.6.21/include/trace/events/
Dhandshake.h14 record_type(CHANGE_CIPHER_SPEC) \
15 record_type(ALERT) \
16 record_type(HANDSHAKE) \
17 record_type(DATA) \
18 record_type(HEARTBEAT) \
19 record_type(TLS12_CID) \
22 #undef record_type
24 #define record_type(x) TRACE_DEFINE_ENUM(TLS_RECORD_TYPE_##x); macro
29 #undef record_type
31 #define record_type(x) { TLS_RECORD_TYPE_##x, #x }, macro
/linux-6.6.21/fs/hfsplus/
Dattributes.c96 static int hfsplus_attr_build_record(hfsplus_attr_entry *entry, int record_type, in hfsplus_attr_build_record() argument
99 if (record_type == HFSPLUS_ATTR_FORK_DATA) { in hfsplus_attr_build_record()
106 } else if (record_type == HFSPLUS_ATTR_EXTENTS) { in hfsplus_attr_build_record()
113 } else if (record_type == HFSPLUS_ATTR_INLINE_DATA) { in hfsplus_attr_build_record()
117 entry->inline_data.record_type = cpu_to_be32(record_type); in hfsplus_attr_build_record()
270 __be32 found_cnid, record_type; in __hfsplus_delete_attr() local
279 hfs_bnode_read(fd->bnode, &record_type, in __hfsplus_delete_attr()
280 fd->entryoffset, sizeof(record_type)); in __hfsplus_delete_attr()
282 switch (be32_to_cpu(record_type)) { in __hfsplus_delete_attr()
Dhfsplus_raw.h373 __be32 record_type; member
380 __be32 record_type; member
389 __be32 record_type; member
398 __be32 record_type; member
Dxattr.c495 u32 record_type; in __hfsplus_getxattr() local
533 record_type = be32_to_cpu(xattr_record_type); in __hfsplus_getxattr()
534 if (record_type == HFSPLUS_ATTR_INLINE_DATA) { in __hfsplus_getxattr()
544 } else if (record_type == HFSPLUS_ATTR_FORK_DATA || in __hfsplus_getxattr()
545 record_type == HFSPLUS_ATTR_EXTENTS) { in __hfsplus_getxattr()
/linux-6.6.21/net/tls/
Dtls.h174 unsigned char *record_type);
330 unsigned char record_type) in tls_fill_prepend() argument
348 TLS_RECORD_TYPE_DATA : record_type; in tls_fill_prepend()
359 unsigned char record_type, struct tls_prot_info *prot) in tls_make_aad() argument
369 TLS_RECORD_TYPE_DATA : record_type; in tls_make_aad()
Dtls_device.c321 unsigned char record_type) in tls_device_record_close() argument
343 record_type); in tls_device_record_close()
427 unsigned char record_type) in tls_push_data() argument
481 if (record_type != TLS_RECORD_TYPE_DATA) { in tls_push_data()
548 pfrag, record_type); in tls_push_data()
570 unsigned char record_type = TLS_RECORD_TYPE_DATA; in tls_device_sendmsg() local
581 rc = tls_process_cmsg(sk, msg, &record_type); in tls_device_sendmsg()
587 record_type); in tls_device_sendmsg()
Dtls_sw.c725 unsigned char record_type) in tls_push_record() argument
781 rec->content_type = record_type; in tls_push_record()
809 tls_ctx->tx.rec_seq, record_type, prot); in tls_push_record()
815 record_type); in tls_push_record()
843 bool full_record, u8 record_type, in bpf_exec_tx_verdict() argument
859 err = tls_push_record(sk, flags, record_type); in bpf_exec_tx_verdict()
888 err = tls_push_record(sk, flags, record_type); in bpf_exec_tx_verdict()
1013 unsigned char record_type = TLS_RECORD_TYPE_DATA; in tls_sw_sendmsg_locked() local
1032 ret = tls_process_cmsg(sk, msg, &record_type); in tls_sw_sendmsg_locked()
1116 record_type, &copied, in tls_sw_sendmsg_locked()
[all …]
Dtls_main.c238 unsigned char *record_type) in tls_process_cmsg() argument
251 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type))) in tls_process_cmsg()
261 *record_type = *(unsigned char *)CMSG_DATA(cmsg); in tls_process_cmsg()
/linux-6.6.21/Documentation/networking/
Dtls.rst130 using a record of type @record_type.
134 /* send TLS control message using record_type */
135 static int klts_send_ctrl_message(int sock, unsigned char record_type,
139 int cmsg_len = sizeof(record_type);
150 *CMSG_DATA(cmsg) = record_type;
192 int record_type = *((unsigned char *)CMSG_DATA(cmsg));
193 // Do something with record_type, and control message data in
196 // Note that record_type may be == to application data (23).
/linux-6.6.21/drivers/net/ethernet/intel/igb/
De1000_i210.c329 u8 record_type, word_address; in igb_read_invm_word_i210() local
334 record_type = INVM_DWORD_TO_RECORD_TYPE(invm_dword); in igb_read_invm_word_i210()
335 if (record_type == E1000_INVM_UNINITIALIZED_STRUCTURE) in igb_read_invm_word_i210()
337 if (record_type == E1000_INVM_CSR_AUTOLOAD_STRUCTURE) in igb_read_invm_word_i210()
339 if (record_type == E1000_INVM_RSA_KEY_SHA256_STRUCTURE) in igb_read_invm_word_i210()
341 if (record_type == E1000_INVM_WORD_AUTOLOAD_STRUCTURE) { in igb_read_invm_word_i210()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/bios/
Dbios_parser2.c433 if (header->record_type == LAST_RECORD_TYPE || in bios_parser_get_i2c_info()
437 if (header->record_type == ATOM_I2C_RECORD_TYPE in bios_parser_get_i2c_info()
542 if (header->record_type == ATOM_RECORD_END_TYPE || in get_hpd_record_for_path_v3()
546 if (header->record_type == ATOM_HPD_INT_RECORD_TYPE in get_hpd_record_for_path_v3()
621 if (header->record_type == LAST_RECORD_TYPE || in get_hpd_record()
625 if (header->record_type == ATOM_HPD_INT_RECORD_TYPE in get_hpd_record()
2133 if (header->record_type == LAST_RECORD_TYPE || in get_encoder_cap_record()
2137 if (header->record_type != ATOM_ENCODER_CAP_RECORD_TYPE) in get_encoder_cap_record()
2170 if (header->record_type == LAST_RECORD_TYPE || in get_disp_connector_caps_record()
2174 if (header->record_type != ATOM_DISP_CONNECTOR_CAPS_RECORD_TYPE) in get_disp_connector_caps_record()
[all …]
/linux-6.6.21/tools/testing/selftests/net/
Dtls.c155 static int tls_send_cmsg(int fd, unsigned char record_type, in tls_send_cmsg() argument
176 *CMSG_DATA(cmsg) = record_type; in tls_send_cmsg()
183 int fd, unsigned char record_type, in tls_recv_cmsg() argument
208 EXPECT_EQ(ctype, record_type); in tls_recv_cmsg()
771 char record_type = 100; in TEST_F() local
785 EXPECT_EQ(tls_recv_cmsg(_metadata, self->cfd, record_type, in TEST_F()
794 char record_type = 100; in TEST_F() local
808 EXPECT_EQ(tls_recv_cmsg(_metadata, self->cfd, record_type, in TEST_F()
1448 char record_type = 100; in TEST_F() local
1455 EXPECT_EQ(tls_send_cmsg(self->fd, record_type, test_str, send_len, 0), in TEST_F()
[all …]
/linux-6.6.21/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_io.c980 unsigned char *record_type) in chtls_proccess_cmsg() argument
993 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type))) in chtls_proccess_cmsg()
999 *record_type = *(unsigned char *)CMSG_DATA(cmsg); in chtls_proccess_cmsg()
1051 unsigned char record_type = TLS_RECORD_TYPE_DATA; in chtls_sendmsg() local
1055 &record_type); in chtls_sendmsg()
1066 csk->tlshws.type = record_type; in chtls_sendmsg()
/linux-6.6.21/arch/ia64/include/asm/
Dsal.h494 record_type : 1, member
506 u8 record_type; member
/linux-6.6.21/drivers/firmware/efi/
Dcper.c467 fw_err->record_type < ARRAY_SIZE(fw_err_rec_type_strs) ? in cper_print_fw_err()
468 fw_err_rec_type_strs[fw_err->record_type] : "unknown"); in cper_print_fw_err()
/linux-6.6.21/include/linux/
Dcper.h546 u8 record_type; member
/linux-6.6.21/tools/perf/
Ddesign.txt47 __u32 record_type;
179 has irq_period > 0. The record_type controls what data is recorded on each
183 * Bits that can be set in hw_event.record_type to request information
/linux-6.6.21/fs/ntfs3/
Dfslog.c249 __le32 record_type; // 0x20: LfsClientRecord or LfsClientRestart. member
2514 } else if (LfsClientRecord == hdr->record_type) { in find_client_next_lsn()
4383 if (LfsClientRecord != frh->record_type) in log_replay()
4846 if (LfsClientRecord != frh->record_type) in log_replay()
/linux-6.6.21/drivers/gpu/drm/amd/include/
Datomfirmware.h793 uint8_t record_type; //An emun to indicate the record type member
/linux-6.6.21/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h12116 MLXSW_ITEM32(reg, tnumt, record_type, 0x00, 28, 4);