Making magic with the network stack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
1.0 KiB

  1. Hi There,
  2. This folder contains details for Test_Case3.
  3. 1. Version = 4
  4. 2. IHL = 5, which indicates 20 bytes.
  5. 3. Type Of Service (ToS) = 0,
  6. 4. Total Length = 40 bytes, which is 28 in hex.
  7. 5. Identification = 3,
  8. 6. Flags = The flags are set to zero,
  9. 7. Fragment Offset = 0 for now,
  10. 8. Time To Live (TTL) = 40s, which is 28 in hex.
  11. 9. Protocol = 6, which indicates TCP protocol is used.
  12. 10. Header Checksum
  13. 11. Source Address = 172.168.5.3, which is aca8 0503 in hex.
  14. 12. Destination Address = 172.168.5.4, which is aca8 0504 in hex.
  15. 13. Source Port = 5555, which is 15b3 in hex.
  16. 14. Destination Port = 6666, which is 1a0a in hex.
  17. 15. Sequence Number = 0,
  18. 16. Acknowledgement Number = 0,
  19. 17. Data Offset = 5, as it indicates the number of bytes after which data starts. The number 5 represents that data starts after 20 bytes. The data offset value is scaled by 4.
  20. 18. RSV = The reserved bits are set to zero for now.
  21. 19. Flgas: set according to the packet type.
  22. 20. Window Size = 0
  23. 21. Checksum =
  24. 22. Urgent Pointer = 0 for now.