-
-
Save chintanparikh/7de4fe44a6c47ff91e09 to your computer and use it in GitHub Desktop.
This file contains 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
source ip - 32 bits (4 x 8 bits) | |
dest ip - 32 bits (4 x 8 bits) | |
source port - 16 bits | |
dest port - 16 bits | |
seq num - 32 bits | |
ack num - 32 bits | |
SYN flag - 1 bit | |
ACK flag - 1 bit | |
FIN flag - 1 bit | |
wasted space - 13 bits | |
checksum - 16 bits | |
Example array | |
[12, 34, 67, 2, 54, 21, 7, 78, 5678, 5679, 2568445870, 0, 1, 0, 0, '', 31] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment