sending TCP/IP packet based on NIC MTU size
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