Modify 'ipconfig' to send an event to 'daemonize'.
authorDan Cross <crossd@gmail.com>
Thu, 6 Oct 2016 19:12:15 +0000 (15:12 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Thu, 6 Oct 2016 19:39:23 +0000 (15:39 -0400)
commit32ec2df506a90d3fd79cb18eaaf2614e56492824
tree5e38e3feecf38c21d19d3006bbda0fde4c77ead8
parent15fbdbff09b9be71992636c31fbaf48d0f77ce1f
Modify 'ipconfig' to send an event to 'daemonize'.

As per the previous commit, modify `ipconfig` to participate
in the new `daemonize` protocol: use pthreads for the ipv6 router
advertisement/solitication and ipv6 DHCP loop maintenance threads.
Send an event to our parent when we exit or go into the background.

Change `ifconfig` to use daemonize and the new ipconfig facility.

Change-Id: I60735d0427c5ad580522cd7e5ac210f8d2d5ae4b
Signed-off-by: Dan Cross <crossd@gmail.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/kfs/ifconfig
tools/apps/ipconfig/Makefile
tools/apps/ipconfig/ipconfig.h
tools/apps/ipconfig/ipv6.c
tools/apps/ipconfig/main.c