#udp #api-bindings

dontfrag

Library for setting Don't Fragment option (DF) on UDP sockets

2 stable releases

1.0.1 Dec 10, 2023

#531 in Operating systems

Download history 1278/week @ 2024-12-12 1200/week @ 2024-12-19 483/week @ 2024-12-26 779/week @ 2025-01-02 901/week @ 2025-01-09 1021/week @ 2025-01-16 1003/week @ 2025-01-23 1070/week @ 2025-01-30 1100/week @ 2025-02-06 1036/week @ 2025-02-13 880/week @ 2025-02-20 1000/week @ 2025-02-27 867/week @ 2025-03-06 1279/week @ 2025-03-13 2654/week @ 2025-03-20 1803/week @ 2025-03-27

6,779 downloads per month

MIT/Apache

15KB
283 lines

dontfrag-rs

Crate Documentation

Rust library for setting Don't Fragment option (DF) on UDP sockets.

Platform support

  • BSD-like: macOS, iOS, tvOS, watchOS, FreeBSD, Dragonfly, OpenBSD, NetBSD
  • Linux-like: Linux, L4RE, Android, Emscripten
  • Windows

PRs for additional platforms are welcome!

Optional features

  • tokio: Adds support for tokio::net::UdpSocket.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0–10MB
~88K SLoC