Searched refs:tlshdr (Results 1 – 1 of 1) sorted by relevance
2091 struct tls_record_layer *tlshdr; in ktls_frame() local2150 tlshdr = (void *)m->m_epg_hdr; in ktls_frame()2151 tlshdr->tls_vmajor = tls->params.tls_vmajor; in ktls_frame()2159 tlshdr->tls_vminor = TLS_MINOR_VER_TWO; in ktls_frame()2160 tlshdr->tls_type = TLS_RLTYPE_APP; in ktls_frame()2165 tlshdr->tls_vminor = tls->params.tls_vminor; in ktls_frame()2166 tlshdr->tls_type = record_type; in ktls_frame()2168 tlshdr->tls_length = htons(m->m_len - sizeof(*tlshdr)); in ktls_frame()2183 be64enc(tlshdr + 1, *noncep); in ktls_frame()2187 arc4rand(tlshdr + 1, AES_BLOCK_LEN, 0); in ktls_frame()