-
Notifications
You must be signed in to change notification settings - Fork 0
herrin/ipstructs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
C struct overlay for IPv4 and IPv6 packet headers. Conveniently access fields within the headers instead of using a bunch of macros. #include "addresses.h" struct *ipv4_header *h; h = (struct ipv4_header *) ipv4_packet; if (h->dont_fragment) printf("Don't fragment bit set!\n");
About
Bitwise access to IPv4 headers in C
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published