IPV4 conformance and bit DF configuration

Jean-Denis Boyer jdboyer at m5t.com
Fri Mar 5 07:09:56 EST 2004


Gérard,

> I want to set the DF (Don't Fragment bit) in an UDP socket
> without accessing
> the IP header.
> I don't find a setsockopt function to do it like for TOS or TTL.

There is a socket option for this: IP_PMTU_DISCOVER.
Have a look at the manual page ip(7).


Salutations,
--------------------------------------------
 Jean-Denis Boyer, Eng.
 M5T Centre d'Excellence en Télécoms Inc.
 4283 Garlock Street
 Sherbrooke (Québec)
 J1L 2C8  CANADA
 (819)829-3972 x241
--------------------------------------------

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list