Skip to content

tsnlab/libtsn

Repository files navigation

TSN library

Build status

TSN library(libtsn) is a library for making TSN application.

Build

To install rust, run curl -fsS https://sh.rustup.rs | sh

cargo build --release  # Release build
cargo build  # Debug build

Running examples

#Run latency

#Server
sudo ./target/release/latency -s -i <interface>
#Client
sudo ./target/release/latency -c -i <interface> -t <target MAC address>

#To see more options
sudo ./target/release/latency --help
sudo ./target/release/latency server help
sudo ./target/release/latency client help
#Run throughput

#Server
sudo ./target/release/throughput -s -i <interface>
#Client
sudo ./target/release/latency -c -i <interface> -t <target MAC address>

#To see more options
sudo ./target/release/throughput --help
sudo ./target/release/throughput server help
sudo ./target/release/throughput client help

License

The libtsn is distributed under GPLv3 license. See license
If you need other license than GPLv3 for proprietary use or professional support, please mail us to contact at tsnlab dot com.