iplib: Add helpers for bypass
authorBarret Rhoden <brho@cs.berkeley.edu>
Fri, 16 Dec 2016 17:11:25 +0000 (12:11 -0500)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 10 Jan 2017 00:01:40 +0000 (19:01 -0500)
commit27e5a9aabd5804f41bc318db79b76d16e7b2f36d
treeb5088f12237322764f8a0d5e8fd8c31c7be987a5
parent43b2b2f2dbc48f98d16b6e1c4bf68fba1478d968
iplib: Add helpers for bypass

bypass9() is just like announce9(), but it says "bypass" instead of
"announce".  open_data_fd9() is just a helper for opening a data file in a
net directory.  I got tired of copy-and-pasting that code.

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