summaryrefslogtreecommitdiff
path: root/rc/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2018-05-01 23:32:28 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2018-05-01 23:32:28 +0200
commit190c40c9fff3eafd23ab89cb445d4f85d29963b0 (patch)
treea6d3ee36203c112ddeb129ea52fae96c74392683 /rc/lib
parent8e53fe132efe25437f50974f107be4f1fcbad2ea (diff)
downloadplan9front-190c40c9fff3eafd23ab89cb445d4f85d29963b0.tar.xz
ip/ipconfig: populate /net/ndb from v6 router advertisements, configure multiple addresses in ndbconfig()
we now update /net/ndb with the following information gathered from router advertisements (rfc6106 and plan9 specific options): - recursive dns servers (option 25, ndb: dns=) - dns search list (option 31, ndb: dnsdomain=) - plan9 fileserver (option 250, ndb: fs=) - plan9 authserver (option 251, ndb: auth=) note the plan9 specific options can be disabled with the -G flag. for ndbconfig (-N flag), we now collect all ip addresses in ndb belonging to the devices mac address and configue them all. v6 addresses are getting added when a link local address exists or the -6 flag has been specified to automatically configure one. move the dhcp code in its own dhcp.c file and make symbols static that are not used across modules.
Diffstat (limited to 'rc/lib')
0 files changed, 0 insertions, 0 deletions