Skip to content

FreeBSD ktls fixes #4552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,8 @@ fn test_freebsd(target: &str) {
"sys/shm.h",
"sys/socket.h",
"sys/socketvar.h",
"netinet/in_pcb.h", // must be after sys/socketvar.h
[freebsd15]:"sys/ktls.h",
"netinet/in_pcb.h", // must be after sys/socketvar.h, sys/ktls.h
"sys/stat.h",
"sys/statvfs.h",
"sys/sysctl.h",
Expand Down
4 changes: 2 additions & 2 deletions src/unix/bsd/freebsdlike/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1762,7 +1762,7 @@ s_no_extra_traits! {
}

pub struct xktls_session_onedir {
pub gennum: u64,
pub gen: u64,
_rsrv1: [u64; 8],
_rsrv2: [u32; 8],
pub iv: [u8; 32],
Expand All @@ -1779,7 +1779,7 @@ s_no_extra_traits! {
pub tls_bs: u8,
pub flags: u8,
pub drv_st_len: u16,
pub ifnet: [u8; 16],
pub ifnet: [c_char; 16],
}

pub struct xktls_session {
Expand Down
Loading