C library for portable packet creation and injection