ktls.4 (3413f26245d28722c7ad3cb3fb81561b40bb4bcb) | ktls.4 (fd11270509f26e9ebde11ef7d3c3c34497f29124) |
---|---|
1.\" Copyright (c) 2020, Chelsio Inc 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions are met: 6.\" 7.\" 1. Redistributions of source code must retain the above copyright notice, 8.\" this list of conditions and the following disclaimer. --- 146 unchanged lines hidden (view full) --- 155.Xr recvmsg 2 . 156Each received TLS record will contain a 157.Dv TLS_GET_RECORD 158control message along with the decrypted payload. 159The control message contains a 160.Vt struct tls_get_record 161which includes fields from the TLS record header. 162If an invalid or corrupted TLS record is received, | 1.\" Copyright (c) 2020, Chelsio Inc 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions are met: 6.\" 7.\" 1. Redistributions of source code must retain the above copyright notice, 8.\" this list of conditions and the following disclaimer. --- 146 unchanged lines hidden (view full) --- 155.Xr recvmsg 2 . 156Each received TLS record will contain a 157.Dv TLS_GET_RECORD 158control message along with the decrypted payload. 159The control message contains a 160.Vt struct tls_get_record 161which includes fields from the TLS record header. 162If an invalid or corrupted TLS record is received, |
163recvmsg 2 | 163.Xr recvmsg 2 |
164will fail with one of the following errors: 165.Bl -tag -width Er 166.It Bq Er EINVAL 167The version fields in a TLS record's header did not match the version required 168by the 169.Vt struct tls_so_enable 170structure used to enable in-kernel TLS. 171.It Bq Er EMSGSIZE --- 93 unchanged lines hidden --- | 164will fail with one of the following errors: 165.Bl -tag -width Er 166.It Bq Er EINVAL 167The version fields in a TLS record's header did not match the version required 168by the 169.Vt struct tls_so_enable 170structure used to enable in-kernel TLS. 171.It Bq Er EMSGSIZE --- 93 unchanged lines hidden --- |