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/



Reply via email to