aboutsummaryrefslogtreecommitdiff
path: root/eth-multiplexer/vdev.h
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2017-08-22 15:05:27 +0200
committerJustus Winter <justus@gnupg.org>2017-08-23 19:00:43 +0200
commitae61f83839ea072533fca15dc75284799e5e0445 (patch)
tree5a5d61d220596204fce8b38a59e78d6dbf9f4eaa /eth-multiplexer/vdev.h
parent2d0d1fd043efd3457bc8bce04c884579d140b2b5 (diff)
downloadhurd-ae61f83839ea072533fca15dc75284799e5e0445.tar.gz
hurd-ae61f83839ea072533fca15dc75284799e5e0445.tar.bz2
hurd-ae61f83839ea072533fca15dc75284799e5e0445.zip
eth-multiplexer: Allow setting of flags.
* eth-multiplexer/dev_stat.c (wants_all_multi_p): New function. (vdev_setstat): Likewise. * eth-multiplexer/device_impl.c (ds_device_set_status): Use new function. * eth-multiplexer/vdev.h (vdev_setstat): New declaration.
Diffstat (limited to 'eth-multiplexer/vdev.h')
-rw-r--r--eth-multiplexer/vdev.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/eth-multiplexer/vdev.h b/eth-multiplexer/vdev.h
index c98c4418..3c3c320f 100644
--- a/eth-multiplexer/vdev.h
+++ b/eth-multiplexer/vdev.h
@@ -79,6 +79,8 @@ int foreach_dev_do (dev_act_func func);
/* dev_stat.c */
io_return_t dev_getstat (struct vether_device *, dev_flavor_t,
dev_status_t, natural_t *);
+io_return_t vdev_setstat (struct vether_device *, dev_flavor_t,
+ dev_status_t, size_t);
#endif