RFC {get,set}socktopt SO_DONTFRAGMENT

gnn at FreeBSD.org gnn at FreeBSD.org
Sat May 6 03:44:24 UTC 2006


At Fri, 5 May 2006 00:37:26 -0300,
Mario Sergio Fujikawa Ferreira wrote:
> 
> 	I would like to propose a new socket option: SO_DONTFRAGMENT
> on the lines of IP_DONTFRAG.
> 
> 	I was trying to tell a socket that it should not fragment
> the packets. However, I found out that I could only do it if I had
> a "struct socket". If I had a "struct socket" I could set INP_DONTFRAG
> which would solve all my problems.
> 

The important question is, "What kind of packets."  If you want a
sequential packet stream you should use SCTP (www.sctp.org) which has
been ported to FreeBSD but is not part of the base system as yet.

For packet based streams you should be able to use what is already
there.

Best,
George


More information about the freebsd-arch mailing list