https://github.com/metaswitch/sendpacket
A high-level rust library for low-level network data.
https://github.com/metaswitch/sendpacket
networking rust
Last synced: 9 months ago
JSON representation
A high-level rust library for low-level network data.
- Host: GitHub
- URL: https://github.com/metaswitch/sendpacket
- Owner: Metaswitch
- License: apache-2.0
- Created: 2018-05-11T14:57:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-11T18:02:35.000Z (almost 8 years ago)
- Last Synced: 2025-07-03T15:57:30.757Z (9 months ago)
- Topics: networking, rust
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 7
- Watchers: 11
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# sendpacket
[](https://crates.io/crates/sendpacket) [](https://travis-ci.org/Metaswitch/sendpacket) [](https://opensource.org/licenses/MIT) [](http://www.apache.org/licenses/LICENSE-2.0)
`sendpacket` is a high-level rust library for low-level networking that makes use of macros to provide a "kwargs-like" interface a-la python's dpkt/scapy.
With `sendpacket` you can construct and modify arbitrary packet data and attempt to send it via a NIC, which uses `libpnet` under the covers.
`sendpacket` should perform well, but is otherwise fundamentally a hackathon project: it exposes a somewhat hacky API, provides an incomplete set of functionality for general use, and the authors don't promise any level of maintenance.
## Documentation
https://docs.rs/sendpacket
## License
Licensed under either of
* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or http://www.apache.org/licenses/LICENSE-2.0)
* MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
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.