summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/system.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-10-23 01:19:04 +0000
committerdlg <dlg@openbsd.org>2015-10-23 01:19:04 +0000
commitc9b0da9822b03791b99cbf70968712960e1c7347 (patch)
tree828370d0c6f2aba8896280775d64134472b8b65b /lib/libc/stdlib/system.c
parentproto.h contains many function prototypes. It's apparently separate from (diff)
downloadwireguard-openbsd-c9b0da9822b03791b99cbf70968712960e1c7347.tar.xz
wireguard-openbsd-c9b0da9822b03791b99cbf70968712960e1c7347.zip
tweak the vnetid so it can be optional and therefore cleared/deleted.
the abstract vnetid is promoted to a uin32_t, and adds a SIOCDVNETID ioctl so it can be cleared. this is all because i set an assignment on implementing a virtual network interface and the students got confused when vnetid 0 didnt show up in ifconfig output. the vnetid in the vxlan(4) protocol is optional, but the current code confuses 0 with no vnetid being set. this makes it clear. ok reyk@ who also simplified my diff
Diffstat (limited to 'lib/libc/stdlib/system.c')
0 files changed, 0 insertions, 0 deletions