sending TCP/IP packet based on NIC MTU size

From: Parav Pandit
Date: Wed Oct 08 2008 - 06:41:51 EST


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




--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/