Re: IP MTU

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




>       How a network device driver notify the IP layer the MTU in liunx, which function will be called or a MTU struct member will be changed?

MTU is a MAC layer concept.

You can use ifconfig to set the mtu or through the netdevice structure for the corresponding device (dev->change_mtu(...)) in kernel space.  I believe the dev->mtu value is just for reading but not for changing the value itself.

regards,
Mazhar
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux