Created
December 10, 2011 06:19
-
-
Save silv3rm00n/1454686 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct pseudo_header //needed for checksum calculation | |
{ | |
unsigned int source_address; | |
unsigned int dest_address; | |
unsigned char placeholder; | |
unsigned char protocol; | |
unsigned short tcp_length; | |
struct tcphdr tcp; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment