]> Zhao Yanbai Git Server - minix.git/commit
INET/LWIP: minimal net.route sysctl support 27/3327/1
authorDavid van Moolenbroek <david@minix3.org>
Fri, 17 Jun 2016 14:03:27 +0000 (14:03 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Sat, 18 Jun 2016 12:47:30 +0000 (12:47 +0000)
commit764cd267a7cfe0e8c19a3d97970ba520ca409f77
treee3f5b678f9a30123677d2ad975fea5c400084b1a
parent534584945c0f50b9816e7051003856bd31bf8c65
INET/LWIP: minimal net.route sysctl support

At a point not too far in the future, we will be switching from the
hardcoded MINIX3 implementation of the getifaddrs(3) libc routine to
the proper NetBSD implementation.  The latter uses the
net.route.rtable sysctl functionality to obtain its information.  In
order make the transition as painless as possible, this patch adds
basic support for that net.route.rtable functionality to INET and
LWIP, using the remote MIB (RMIB) facility.

Change-Id: I54f5cea7985f6606e317c73a5e6be3a5d07bc7dc
minix/net/inet/Makefile
minix/net/inet/inet.c
minix/net/inet/proto.h
minix/net/inet/rtinfo.c [new file with mode: 0644]
minix/net/lwip/Makefile
minix/net/lwip/driver.c
minix/net/lwip/lwip.c
minix/net/lwip/proto.h
minix/net/lwip/rtinfo.c [new file with mode: 0644]
minix/usr.bin/trace/service/mib.c