This repository contains the code for the P4BS project. The code includes the P4 program (under p4src), the switch's control plane (under bfrt_python).
The RTT calculation is inspired by the code in https://github.com/Princeton-Cabernet/p4-projects/tree/master/RTT-tofino