diff options
author | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-08 17:53:55 +0200 |
---|---|---|
committer | Justus Winter <4winter@informatik.uni-hamburg.de> | 2014-04-08 18:40:43 +0200 |
commit | 8fd6d978242baf5192450d14245d5451caec85a2 (patch) | |
tree | 6769d84506c40994827761605611b596d36856f6 /eth-multiplexer/mig-mutate.h | |
parent | 4c9e012c872e3527b5071fde0f33f4ffd5976698 (diff) |
eth-multiplexer: fix receiver lookups
* eth-multiplexer/device_impl.c: Fix all device_t receiver lookups.
* eth-multiplexer/mig-decls.h: New file.
* eth-multiplexer/mig-mutate.h: Add mutators.
Diffstat (limited to 'eth-multiplexer/mig-mutate.h')
-rw-r--r-- | eth-multiplexer/mig-mutate.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/eth-multiplexer/mig-mutate.h b/eth-multiplexer/mig-mutate.h index f692236e..2403c29d 100644 --- a/eth-multiplexer/mig-mutate.h +++ b/eth-multiplexer/mig-mutate.h @@ -23,3 +23,10 @@ end_using_port_info (port_info_t) #define NOTIFY_IMPORTS \ import "libports/mig-decls.h"; + +#define DEVICE_INTRAN \ + vether_device_t begin_using_device_port (mach_port_t) +#define DEVICE_DESTRUCTOR \ + end_using_device (vether_device_t) +#define DEVICE_IMPORTS \ + import "eth-multiplexer/mig-decls.h"; |