Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/ktls.h
| Show All 22 Lines | |||||
| * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
| * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
| * SUCH DAMAGE. | * SUCH DAMAGE. | ||||
| */ | */ | ||||
| #ifndef _SYS_KTLS_H_ | #ifndef _SYS_KTLS_H_ | ||||
| #define _SYS_KTLS_H_ | #define _SYS_KTLS_H_ | ||||
| #ifdef _KERNEL | #ifdef _KERNEL | ||||
| #include <sys/_null.h> | |||||
| #include <sys/refcount.h> | #include <sys/refcount.h> | ||||
| #include <sys/_task.h> | #include <sys/_task.h> | ||||
| #include <machine/param.h> | |||||
| #endif | #endif | ||||
| struct tls_record_layer { | struct tls_record_layer { | ||||
| uint8_t tls_type; | uint8_t tls_type; | ||||
| uint8_t tls_vmajor; | uint8_t tls_vmajor; | ||||
| uint8_t tls_vminor; | uint8_t tls_vminor; | ||||
| uint16_t tls_length; | uint16_t tls_length; | ||||
| uint8_t tls_data[0]; | uint8_t tls_data[0]; | ||||
| ▲ Show 20 Lines • Show All 219 Lines • Show Last 20 Lines | |||||