iplib: Add get_first_noloop_iplifc() helper
authorBarret Rhoden <brho@cs.berkeley.edu>
Thu, 22 Dec 2016 16:25:52 +0000 (11:25 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 10 Jan 2017 00:01:40 +0000 (19:01 -0500)
commitb203ad20b27e2644ed7546778b8ecd01a925669d
tree95bfb36b102cc18b6fd5cc80c4400ad15ceac259
parent7f3ad37973fc96faabc3da71e0aad4dbe271af89
iplib: Add get_first_noloop_iplifc() helper

This is the guts of myipaddr().  I need to get a few more things from the
iplifc, such as the mask.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
user/iplib/include/iplib/iplib.h
user/iplib/myipaddr.c
user/iplib/readipifc.c