diff options
author | ian <ian@FreeBSD.org> | 2016-03-21 14:58:12 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2016-03-21 14:58:12 +0000 |
commit | e88fb9c783e9a2592905530bdfb2bac12a7fb3b9 (patch) | |
tree | 7fc4e90f878fc66ed2ccdfe2aa6cb6cc0d9f069e /lib/libstand/net.h | |
parent | 21328427a73498e45d21a11010b5f580ae317348 (diff) | |
download | FreeBSD-src-e88fb9c783e9a2592905530bdfb2bac12a7fb3b9.zip FreeBSD-src-e88fb9c783e9a2592905530bdfb2bac12a7fb3b9.tar.gz |
If the dhcp server delivers an interface-mtu option, parse it and store
the value in a new global intf_mtu for use by the application.
These changes were inspired by the patch provided by Robert Blayzor in
PR 187094, and will allow loader(8) to propagate the value to the kernel
along with the other nfs_diskless parms delivered via environment vars.
Diffstat (limited to 'lib/libstand/net.h')
-rw-r--r-- | lib/libstand/net.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libstand/net.h b/lib/libstand/net.h index 94f2aab..ce7df49 100644 --- a/lib/libstand/net.h +++ b/lib/libstand/net.h @@ -83,6 +83,7 @@ extern struct in_addr swapip; extern struct in_addr gateip; extern struct in_addr nameip; extern n_long netmask; +extern u_int intf_mtu; extern int debug; /* defined in the machdep sources */ |