issues
search
NUS-SNL
/
p4-traffictool
p4-traffictool helps in packet generation, parsing and dissection for popular backends
MIT License
40
stars
10
forks
source link
Add option --only-headers to support passing of header structs only
#7
Closed
nishantbudhdev
closed
4 years ago
nishantbudhdev
commented
4 years ago
Completed
--only-headers
allows users to pass only header structs in a p4 file instead of a fully compiling p4 source code
header structs are appended to a template p4 file to produce a p4c compilable code
no bindings will be generated in the output files since the template does not contain any parser logic
Remaining
remove relative path for template file
auto-detect/auto-generate
struct headers
Completed
--only-headers
allows users to pass only header structs in a p4 file instead of a fully compiling p4 source codeRemaining
struct headers