UDP max packet size

Bernd Petrovitsch bernd at petrovitsch.priv.at
Thu Jun 13 10:54:31 EDT 2013


On Don, 2013-06-13 at 11:40 +0300, Victor Buciuc wrote:
> On Thu, Jun 13, 2013 at 11:13 AM, Pietro Paolini <pulsarpietro at aol.com>wrote:
> > I am trying to perform a simple but a little tricky task: I have to
> > understand the maximum payload size of an UDP packet in order to avoid
> > fragmentation of that.
> >
> > Some suggestions ?

The technical term for this is "path mtu discovery".

> You should totally google it. There's a lot of stuff on what you're looking
> for, like:
> http://linux.derkeiler.com/Newsgroups/comp.os.linux.networking/2004-02/0873.html

... or https://en.wikipedia.org/wiki/Path_MTU_discovery for starters.

If that makes any sense if there is not just exactly one path (but
potentially many), is a different question ......

Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
                     LUGA : http://www.luga.at

More information about the Kernelnewbies mailing list