Skip to contentSkip to conversation

sending TCP/IP packet based on NIC MTU size

DISCUSSION Parav Pandit 1 participant 1 message Oct 8, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I am searching Linux kernel TCP/IP code which does following functionality.

TCP/IP stack needs to check that -
how many bytes of a TCP stream it can send to NIC driver.

Can anybody point me where this check in performed?
Like if MTU size is set to 1500 for a NIC and VLAN is not set then it will send 1492 bytes. If VLAN is set then it will send 1398 bytes to NIC.

Regards,
Parav Pandit