#udp #api #api-bindings

dontfrag

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

2 stable releases

1.0.1 Dec 10, 2023

#113 in #udp

Download history 1247/week @ 2024-11-14 894/week @ 2024-11-21 259/week @ 2024-11-28 614/week @ 2024-12-05 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 980/week @ 2025-02-27

4,340 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–9.5MB
~85K SLoC