Home
last modified time | relevance | path

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

/linux/net/handshake/
H A 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/include/trace/events/
H A 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/fs/hfsplus/
H A 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()
296 __be32 found_cnid, record_type; in __hfsplus_delete_attr() local
305 hfs_bnode_read(fd->bnode, &record_type, in __hfsplus_delete_attr()
306 fd->entryoffset, sizeof(record_type)); in __hfsplus_delete_attr()
308 switch (be32_to_cpu(record_type)) { in __hfsplus_delete_attr()
H A Dxattr.c525 u32 record_type; in __hfsplus_getxattr() local
561 record_type = be32_to_cpu(xattr_record_type); in __hfsplus_getxattr()
562 if (record_type == HFSPLUS_ATTR_INLINE_DATA) { in __hfsplus_getxattr()
572 } else if (record_type == HFSPLUS_ATTR_FORK_DATA || in __hfsplus_getxattr()
573 record_type == HFSPLUS_ATTR_EXTENTS) { in __hfsplus_getxattr()
/linux/net/tls/
H A Dtls.h180 unsigned char *record_type);
336 unsigned char record_type) in tls_fill_prepend() argument
354 TLS_RECORD_TYPE_DATA : record_type; in tls_fill_prepend()
365 unsigned char record_type, struct tls_prot_info *prot) in tls_make_aad() argument
375 TLS_RECORD_TYPE_DATA : record_type; in tls_make_aad()
H A Dtls_device.c317 unsigned char record_type) in tls_device_record_close() argument
339 record_type); in tls_device_record_close()
424 unsigned char record_type) in tls_push_data() argument
478 if (record_type != TLS_RECORD_TYPE_DATA) { in tls_push_data()
545 pfrag, record_type); in tls_push_data()
567 unsigned char record_type = TLS_RECORD_TYPE_DATA; in tls_device_sendmsg() local
578 rc = tls_process_cmsg(sk, msg, &record_type); in tls_device_sendmsg()
584 record_type); in tls_device_sendmsg()
H A Dtls_sw.c726 unsigned char record_type) in tls_push_record() argument
782 rec->content_type = record_type; in tls_push_record()
810 tls_ctx->tx.rec_seq, record_type, prot); in tls_push_record()
816 record_type); in tls_push_record()
844 bool full_record, u8 record_type, in bpf_exec_tx_verdict() argument
860 err = tls_push_record(sk, flags, record_type); in bpf_exec_tx_verdict()
902 err = tls_push_record(sk, flags, record_type); in bpf_exec_tx_verdict()
1034 unsigned char record_type = TLS_RECORD_TYPE_DATA; in tls_sw_sendmsg_locked() local
1053 ret = tls_process_cmsg(sk, msg, &record_type); in tls_sw_sendmsg_locked()
1140 record_type, &copied, in tls_sw_sendmsg_locked()
[all …]
H A Dtls_main.c239 unsigned char *record_type) in tls_process_cmsg() argument
252 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type))) in tls_process_cmsg()
258 *record_type = *(unsigned char *)CMSG_DATA(cmsg); in tls_process_cmsg()
/linux/tools/testing/selftests/landlock/
H A Daudit.h32 __u32 record_type; member
156 .fields[0] = filter->record_type, in audit_filter_exe()
163 if (filter->record_type != AUDIT_EXE) in audit_filter_exe()
402 filter->record_type = AUDIT_EXE; in audit_init_filter_exe()
/linux/drivers/net/ethernet/intel/igb/
H A 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/Documentation/networking/
H A Dtls.rst132 using a record of type @record_type.
136 /* send TLS control message using record_type */
137 static int klts_send_ctrl_message(int sock, unsigned char record_type,
141 int cmsg_len = sizeof(record_type);
152 *CMSG_DATA(cmsg) = record_type;
194 int record_type = *((unsigned char *)CMSG_DATA(cmsg));
195 // Do something with record_type, and control message data in
198 // Note that record_type may be == to application data (23).
/linux/include/linux/
H A Dhfs_common.h614 __be32 record_type; member
621 __be32 record_type; member
630 __be32 record_type; member
639 __be32 record_type; member
H A Dcper.h573 u8 record_type; member
/linux/drivers/gpu/drm/amd/display/dc/bios/
H A Dbios_parser2.c437 if (header->record_type == LAST_RECORD_TYPE || in bios_parser_get_i2c_info()
441 if (header->record_type == ATOM_I2C_RECORD_TYPE in bios_parser_get_i2c_info()
546 if (header->record_type == ATOM_RECORD_END_TYPE || in get_hpd_record_for_path_v3()
550 if (header->record_type == ATOM_HPD_INT_RECORD_TYPE in get_hpd_record_for_path_v3()
624 if (header->record_type == LAST_RECORD_TYPE || in get_hpd_record()
628 if (header->record_type == ATOM_HPD_INT_RECORD_TYPE in get_hpd_record()
2196 if (header->record_type == LAST_RECORD_TYPE || in get_encoder_cap_record()
2200 if (header->record_type != ATOM_ENCODER_CAP_RECORD_TYPE) in get_encoder_cap_record()
2233 if (header->record_type == LAST_RECORD_TYPE || in get_disp_connector_caps_record()
2237 if (header->record_type != ATOM_DISP_CONNECTOR_CAPS_RECORD_TYPE) in get_disp_connector_caps_record()
[all …]
/linux/tools/testing/selftests/net/
H A Dtls.c157 static int tls_send_cmsg(int fd, unsigned char record_type, in tls_send_cmsg() argument
178 *CMSG_DATA(cmsg) = record_type; in tls_send_cmsg()
215 int fd, unsigned char record_type, in tls_recv_cmsg() argument
222 EXPECT_EQ(ctype, record_type); in tls_recv_cmsg()
570 char record_type = 100; in TEST_F() local
574 EXPECT_EQ(tls_send_cmsg(self->fd, record_type, test_str, send_len, in TEST_F()
582 char record_type = 100; in TEST_F() local
590 ret = tls_send_cmsg(self->fd, record_type, test_str, send_len, 0); in TEST_F()
596 EXPECT_EQ(tls_recv_cmsg(_metadata, self->cfd, record_type, in TEST_F()
857 char record_type = 100; in TEST_F() local
[all …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_io.c974 unsigned char *record_type) in chtls_proccess_cmsg() argument
987 if (cmsg->cmsg_len < CMSG_LEN(sizeof(*record_type))) in chtls_proccess_cmsg()
993 *record_type = *(unsigned char *)CMSG_DATA(cmsg); in chtls_proccess_cmsg()
1045 unsigned char record_type = TLS_RECORD_TYPE_DATA; in chtls_sendmsg() local
1049 &record_type); in chtls_sendmsg()
1060 csk->tlshws.type = record_type; in chtls_sendmsg()
/linux/drivers/firmware/efi/
H A Dcper.c532 fw_err->record_type < ARRAY_SIZE(fw_err_rec_type_strs) ? in cper_print_fw_err()
533 fw_err_rec_type_strs[fw_err->record_type] : "unknown"); in cper_print_fw_err()
/linux/tools/perf/
H A 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/fs/ntfs3/
H A Dfslog.c249 __le32 record_type; // 0x20: LfsClientRecord or LfsClientRestart. member
2536 } else if (LfsClientRecord == hdr->record_type) { in find_client_next_lsn()
4433 if (LfsClientRecord != frh->record_type) in log_replay()
4895 if (LfsClientRecord != frh->record_type) in log_replay()
/linux/drivers/gpu/drm/amd/include/
H A Datomfirmware.h826 uint8_t record_type; //An emun to indicate the record type member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dreg.h12205 MLXSW_ITEM32(reg, tnumt, record_type, 0x00, 28, 4);