Skip to content
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

Add SetSockOpt definitions related to Linux Kernel TLS. #2175

Merged
merged 1 commit into from
Jan 3, 2024
Merged

Add SetSockOpt definitions related to Linux Kernel TLS. #2175

merged 1 commit into from
Jan 3, 2024

Commits on Dec 31, 2023

  1. Add SetSockOpt definitions related to Linux Kernel TLS.

    1. kTLS is implemented as a TCP ULP, so add a `SetSockOpt` impl for it.
    
    2. kTLS parameters are pushed to the kernel using `setsockopt(SOL_TLS)`,
       so add `SetSockOpt` impls for them.
    
    Other test fixes:
    
    1. Change `setsockopt` tests to bind to port 0 so that
       they bind to an unbound port and don't affect each other.
    
    2. Fix `skip!` macro used to skip tests to generate its own block so that
       it can be used as an expr.
    Arnavion committed Dec 31, 2023
    Configuration menu
    Copy the full SHA
    3bfa621 View commit details
    Browse the repository at this point in the history