mirror of
https://github.com/dndx/phantun.git
synced 2025-01-18 22:09:30 +08:00
04b0e97c1d
Before: ``` test packet::benchmarks::bench_build_tcp_packet_128 ... bench: 207 ns/iter (+/- 25) test packet::benchmarks::bench_build_tcp_packet_1460 ... bench: 670 ns/iter (+/- 14) test packet::benchmarks::bench_build_tcp_packet_512 ... bench: 334 ns/iter (+/- 21) ``` After: ``` test packet::benchmarks::bench_build_tcp_packet_128 ... bench: 206 ns/iter (+/- 9) test packet::benchmarks::bench_build_tcp_packet_1460 ... bench: 259 ns/iter (+/- 16) test packet::benchmarks::bench_build_tcp_packet_512 ... bench: 212 ns/iter (+/- 11) ```
fake-tcp
A TUN interface based, user space, asynchronous and high performance TCP stack that allows packet oriented tunneling with minimum overhead.
License
Copyright 2021 Datong Sun dndx@idndx.com
Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or https://opensource.org/licenses/MIT>, at your option. Files in the project may not be copied, modified, or distributed except according to those terms.