Skip to content

Commit

Permalink
Update quic/s2n-quic-platform/src/features/tos_v4.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Wesley Rosenblum <[email protected]>
  • Loading branch information
camshaft and WesleyRosenblum authored Jan 13, 2024
1 parent 63253a4 commit cf4b2fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quic/s2n-quic-platform/src/features/tos_v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ pub use tos_impl::*;

// FreeBSD uses an unsigned_char for IP_TOS
// see https://svnweb.freebsd.org/base/stable/8/sys/netinet/ip_input.c?view=markup&pathrev=247944#l1716
#[cfg(target_os = "freebsg")]
#[cfg(target_os = "freebsd")]
pub type Cmsg = libc::c_uchar;
#[cfg(not(target_os = "freebsg"))]
#[cfg(not(target_os = "freebsd"))]
pub type Cmsg = c_int;

pub const IS_SUPPORTED: bool = cfg!(s2n_quic_platform_tos);

0 comments on commit cf4b2fa

Please sign in to comment.