| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Now that the RPCs have const, this forces us cleaning our const-meant
functions.
|
|
|
|
|
| |
This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server
side")
|
|
|
|
|
|
|
| |
* boot/boot.c (ds_device_intr_register, ds_device_intr_ack): New stubs.
* devnode/devnode.c (ds_device_intr_register, ds_device_intr_ack): New stubs.
* eth-multiplexer/device_impl.c (ds_device_intr_register,
ds_device_intr_ack): New stubs.
|
|
|
|
|
|
| |
* eth-multiplexer/vdev.c (add_vdev): Remove class and bucket parameter.
* eth-multiplexer/vdev.h (add_vdev): Likewise.
* eth-multiplexer/device_impl.c (ds_device_open): Update callsite.
|
|
|
|
|
| |
* eth-multiplexer/device_impl.c (ds_device_open): Check the port
class.
|
|
|
|
|
|
|
|
|
| |
* eth-multiplexer/device_impl.c (ds_device_write): Deny writes when
interface is down.
* eth-multiplexer/vdev.c (add_vdev): Initialize flags to
a sane value.
(broadcast_pack): Skip interfaces that are down.
(broadcast_msg): Likewise.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* eth-multiplexer/device_impl.c (ds_device_write): Do not deallocate
data, it is destroyed by the server loop ("consume-on-success").
|
|
|
|
|
|
|
|
|
|
| |
Previously, the ethernet multiplexer returned the status of the real
network device if one was configured. This had the unfortunate
consequence that all virtual devices shared the same ethernet address.
* eth-multiplexer/device_impl.c (ds_device_get_status): Always return
the information for the virtual device.
* eth-multiplexer/vdev.h (dev_getstat): Add prototype.
|
|
* Makefile (prog-subdirs): Add the new program.
* NEWS: Update.
* eth-multiplexer/ChangeLog: New file.
* eth-multiplexer/Makefile: Likewise.
* eth-multiplexer/README: Likewise.
* eth-multiplexer/demuxer.c: Likewise.
* eth-multiplexer/dev_stat.c: Likewise.
* eth-multiplexer/device_impl.c: Likewise.
* eth-multiplexer/ethernet.c: Likewise.
* eth-multiplexer/ethernet.h: Likewise.
* eth-multiplexer/mig-decls.h: Likewise.
* eth-multiplexer/mig-mutate.h: Likewise.
* eth-multiplexer/multiplexer.c: Likewise.
* eth-multiplexer/netfs_impl.c: Likewise.
* eth-multiplexer/netfs_impl.h: Likewise.
* eth-multiplexer/notify_impl.c: Likewise.
* eth-multiplexer/test.c: Likewise.
* eth-multiplexer/util.h: Likewise.
* eth-multiplexer/vdev.c: Likewise.
* eth-multiplexer/vdev.h: Likewise.
The eth-multiplexer has been written by Zheng Da. This merges his
work into the main repository.
|