Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. When the packet is received a pointer to the location of the payload is set (d_appdata). This is an offset into the packet buffer For TCP, that accounts for the MAC/Ethernet header, the minimum IPv4/IPv6 header size, and the minimum TCP header size.
  2. The TCP payload data is written at that location using a constant MSS,
  3. The minimum sized IPv4/IPv6 headers and the minimumsize sized TCP header are added below the payload, and finally
  4. The MAC/Ethernet header as add at the very beginning of the buffer.

...