Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As an example of modelling packets, here's an example of modelling a complex packet which is a bit-packed tagged union. I don't think many other languages make such packets so easy to declare: https://gist.github.com/liampwll/abaaa1f84827a1d81bcdb2f5f17...


p4? Granted, that's not something that just compiles to a usable language.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: