On Sun, Aug 29, 2004 at 07:55:27PM -0700, Dennis George wrote:
> Hi all,
>  
> Can anybody tell me how to find the MTU (Maximum Transmitting Unit) in
> freeBSD programatically...

Define programatically?
With syscalls, or in a way that is easily repeatable?

If you just mean the latter, this will do it:
  ifconfig -a | awk '/mtu/ { print $1, $NF }'

Otherwise, try  man networking  and look for the word 'mtu', that might
be a good start.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to