Versions Compared

Key

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

...

  • Keep CONFIG_NET_GUARDSIZE in all driver buffers, and
  • Set the CONFIG_NET_GUARDSIZE to the maximum size of IPv4/IPv6 and TCP options (depending on which IP version is enabled and if TCP is enabled)
  • Extend the driver interface to accept data offset into the driver's packet buffer.

Variable MSS

Closely related to this is the MSS which is the maximum size of the payload. Currently that is a constant because it assumes the minimum header lengths. It should be variable, depending on the actual header sizes.

...