Jaroslaw Kuraszewicz(deleted)
|
DF bit and UDP checksum validation per socket - IPv4
|
Jaroslaw Kuraszewicz(deleted)
06/09/2020 9:56 AM
post120748
|
DF bit and UDP checksum validation per socket - IPv4
Hello,
I have two questions:
1) Is there any way to set/unset IP Don't Fragment bit (DF bit) per socket (e.g. using setsockopt() ) in QNX 7.0.0?
In Linux it is possible via:
setsockopt() with the following settings (IPPROTO_IP, IP_MTU_DISCOVER) and values IP_PMTUDISC_DO / IP_PMTUDISC_DONT
(sets / unsets DF bit)
2) Is there any way to enable/disable transmission of UDP checksum per socket in QNX 7.0.0?
In Linux it is possible via:
setsockopt() with the following settings (SOL_SOCKET, SO_NO_CHECK) and values 1/0 (disables/enables checksum)
So far I have not found any alternatives in QNX system for the above Linux solution.
Thank you very much for the help.
|
|
|