<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/eth-multiplexer, branch master</title>
<subtitle>Personal Hurd development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/'/>
<updated>2016-11-05T17:47:09Z</updated>
<entry>
<title>eth-multiplexer: Generate stable ethernet addresses.</title>
<updated>2016-11-05T17:47:09Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-11-05T17:41:13Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=54c6736341bda9564a028ad3d61d46488e53b8a6'/>
<id>urn:sha1:54c6736341bda9564a028ad3d61d46488e53b8a6</id>
<content type='text'>
Previously, the ethernet multiplexer generated ethernet addresses for
the virtual interfaces using a pseudo-random number generator.  This
has the downside of generating a new address every time.  Generate
stable pseudo-random addresses instead.

* eth-multiplexer/Makefile (HURDLIBS): Link to libihash.
* eth-multiplexer/ethernet.c (ether_address): New variable.
(get_ethernet_address): New function.
(ethernet_open): Get the ethernet address of the real interface.
* eth-multiplexer/ethernet.h (ether_address): New declaration.
* eth-multiplexer/vdev.c (add_vdev): Compute the ethernet address by
hashing the address of the real interface with the name of the virtual
interface.
</content>
</entry>
<entry>
<title>eth-multiplexer: Avoid local definitions.</title>
<updated>2016-11-05T17:26:39Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-11-05T17:26:39Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=115695afe34e5253816ff0e828054f8c07e2ddbd'/>
<id>urn:sha1:115695afe34e5253816ff0e828054f8c07e2ddbd</id>
<content type='text'>
* eth-multiplexer/util.h: Include 'net/if_ether.h'.
(ETH_ALEN): Drop.
(struct ethhdr): Likewise.
* eth-multiplexer/vdev.c: Include 'net/if_ether.h'.
(ETH_HLEN): Drop.
</content>
</entry>
<entry>
<title>eth-multiplexer: Fix retrieving status of virtual interfaces.</title>
<updated>2016-11-05T17:05:06Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-11-05T17:05:06Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=fd3b0bc1b318a2cc95ac1f85e308708c4bb8999a'/>
<id>urn:sha1:fd3b0bc1b318a2cc95ac1f85e308708c4bb8999a</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>eth-multiplexer: Fix packet delivery.</title>
<updated>2016-11-05T16:58:22Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-11-05T16:58:22Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=ed257f4e3320307eca7ed181f6e2dd6e699efb41'/>
<id>urn:sha1:ed257f4e3320307eca7ed181f6e2dd6e699efb41</id>
<content type='text'>
* eth-multiplexer/vdev.c (deliver_msg): Do not return an error if
delivering a message fails.  Doing so prevents all other filters from
being executed, and more importantly aborts the iteration over all
virtual devices.
</content>
</entry>
<entry>
<title>eth-multiplexer: Merge the eth-multiplexer.</title>
<updated>2016-11-04T14:40:53Z</updated>
<author>
<name>Zheng Da</name>
<email>zhengda1936@gmail.com</email>
</author>
<published>2016-11-02T17:06:53Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=25d614aa11e52370c200e677099746a619ea76db'/>
<id>urn:sha1:25d614aa11e52370c200e677099746a619ea76db</id>
<content type='text'>
* 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.
</content>
</entry>
</feed>
