crypto_buffer.9 (e25152834cdf3b353892835a4f3b157e066a8ed4) | crypto_buffer.9 (fade09c8ac20df877e8e9256b7258813884e41e0) |
---|---|
1.\" Copyright (c) 2020, Chelsio Inc 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions are met: 5.\" 6.\" 1. Redistributions of source code must retain the above copyright notice, 7.\" this list of conditions and the following disclaimer. 8.\" --- 184 unchanged lines hidden (view full) --- 193An array of bytes mapped into the kernel's address space. 194.It Dv CRYPTO_BUF_UIO 195A scatter/gather list of kernel buffers as described in 196.Xr uio 9 . 197.It Dv CRYPTO_BUF_MBUF 198A network memory buffer as described in 199.Xr mbuf 9 . 200.It Dv CRYPTO_BUF_VMPAGE | 1.\" Copyright (c) 2020, Chelsio Inc 2.\" 3.\" Redistribution and use in source and binary forms, with or without 4.\" modification, are permitted provided that the following conditions are met: 5.\" 6.\" 1. Redistributions of source code must retain the above copyright notice, 7.\" this list of conditions and the following disclaimer. 8.\" --- 184 unchanged lines hidden (view full) --- 193An array of bytes mapped into the kernel's address space. 194.It Dv CRYPTO_BUF_UIO 195A scatter/gather list of kernel buffers as described in 196.Xr uio 9 . 197.It Dv CRYPTO_BUF_MBUF 198A network memory buffer as described in 199.Xr mbuf 9 . 200.It Dv CRYPTO_BUF_VMPAGE |
201A scatter/gather list of | 201A scatter/gather list of |
202.Vt vm_page_t 203structures describing pages in the kernel's address space. 204This buffer type is only available if 205.Dv CRYPTO_HAS_VMPAGE 206is true. 207.El 208.Pp 209The structure also contains the following type-specific fields: --- 102 unchanged lines hidden (view full) --- 312.Pp 313.Fn crypto_cursor_seglen 314returns the length in bytes of a contiguous segment. 315.Pp 316.Fn CRYPTO_HAS_OUTPUT_BUFFER 317returns true if the request uses a separate output buffer. 318.Sh SEE ALSO 319.Xr ipsec 4 , | 202.Vt vm_page_t 203structures describing pages in the kernel's address space. 204This buffer type is only available if 205.Dv CRYPTO_HAS_VMPAGE 206is true. 207.El 208.Pp 209The structure also contains the following type-specific fields: --- 102 unchanged lines hidden (view full) --- 312.Pp 313.Fn crypto_cursor_seglen 314returns the length in bytes of a contiguous segment. 315.Pp 316.Fn CRYPTO_HAS_OUTPUT_BUFFER 317returns true if the request uses a separate output buffer. 318.Sh SEE ALSO 319.Xr ipsec 4 , |
320.Xr bus_dma 9 , | |
321.Xr crypto 7 , 322.Xr crypto 9 , | 320.Xr crypto 7 , 321.Xr crypto 9 , |
323.Xr crypto_request 9 , | |
324.Xr crypto_driver 9 , | 322.Xr crypto_driver 9 , |
323.Xr crypto_request 9 , |
|
325.Xr crypto_session 9 , | 324.Xr crypto_session 9 , |
326.Xr mbuf 9 | 325.Xr mbuf 9 , |
327.Xr uio 9 | 326.Xr uio 9 |