Skip to contentSkip to conversation

About IP options in UDP

DISCUSSION Enrique Gómez 1 participant 1 message Apr 21, 2008

lore
Share & tools
lore
#0 lore raw

Well, I am trying to find the place of the kernel, in which calculates the size of the IP Packets, taking into account the IP options that the packet could have.

I have found the answer of this question in *TCP*. In the file net/ipv4/tcp_output.c there is a function called "tcp_mtu_to_mss" where calculates the PMTU, taking into account IP options.

Now, I would like to know where *UDP* does this operation.

I would be very glad of receiving any answer.

Thanks.

Enrique.