s2n-quic-dc 0.85.0

Internal crate used by s2n-quic
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0

#[cfg(target_os = "linux")]
mod bpf;
// this module is used on platforms other than linux, but we still want to make
// sure it compiles
#[cfg_attr(target_os = "linux", allow(dead_code))]
mod pair;

#[cfg(target_os = "linux")]
pub use bpf::Pair;
#[cfg(not(target_os = "linux"))]
pub use pair::Pair;

pub mod recv;

pub use s2n_quic_platform::socket::options::{Options, ReusePort};