<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ouroboros/src/ipcpd/shim-eth-llc, branch 0.2</title>
<subtitle>Ouroboros main repository</subtitle>
<id>http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.2</id>
<link rel='self' href='http://133.ip-51-38-114.eu/cgit/ouroboros/atom?h=0.2'/>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/'/>
<updated>2016-07-02T17:11:12+00:00</updated>
<entry>
<title>lib: robust locking in shared memory and crash recovery</title>
<updated>2016-07-02T17:11:12+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-30T21:14:14+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=79475a4742bc28e1737044f2300bcb601e6e10bf'/>
<id>urn:sha1:79475a4742bc28e1737044f2300bcb601e6e10bf</id>
<content type='text'>
This PR enhances the shared memory providing recovery if a process
crashes. It adds a SHM_DU_TIMEOUT_MICROS variable, setting an
expiration time for SDU's when shared memory is full. If an
application doesn't read a blocking SDU within this time, the shared
memory will be cleansed of all SDU's for this application and the
application's rbuff will be cleared.

Some refactoring of the API's. Fixed wrong pthread checks in IRMd.

Fixes #13
Fixes #14
</content>
</entry>
<entry>
<title>lib, irmd, ipcpd: Change pid to api</title>
<updated>2016-06-28T14:45:45+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-28T14:38:03+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=99d19307fae8f1370f52a62aee88fded624ad464'/>
<id>urn:sha1:99d19307fae8f1370f52a62aee88fded624ad464</id>
<content type='text'>
Changes the variable name as well to API instead of PID.
</content>
</entry>
<entry>
<title>lib, irmd, ipcpd: Change of IRM API</title>
<updated>2016-06-28T14:22:01+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-28T14:11:19+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=0d789ed8d938cc342c8f2138280795a1d5a61e3d'/>
<id>urn:sha1:0d789ed8d938cc342c8f2138280795a1d5a61e3d</id>
<content type='text'>
This changes the IRM API after discussions with Dimitri. The register
operation is now split into a bind and register operation. The same
for unregister; unbind and unregister. PIDs are now used as the
application instance name. A name for a PID is only provided for
scriptability in bash. It is therefore also no longer passed down to
the IPCP. Every operation on an IPCP through the IRM API has to use
the PID. Quering of the PIDs by name is possible. The IRM tool has
been updated to use this new API as well. A subcommand 'ipcp' has been
added for operations that take effect on IPCPs only.

Fixes #12
</content>
</entry>
<entry>
<title>build: correct sandboxing</title>
<updated>2016-06-27T19:01:22+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-27T18:40:05+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=cffd94aae48dac005d820dd667498bbbb09ab117'/>
<id>urn:sha1:cffd94aae48dac005d820dd667498bbbb09ab117</id>
<content type='text'>
paths cannot start with "/" or PREFIX will be omitted. PREFIX must be
set before the project() call.
</content>
</entry>
<entry>
<title>build: Fix installation prefix</title>
<updated>2016-06-27T10:03:31+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-27T10:03:31+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=80765f1d6ea16892224be8da954e5b0a4c53303b'/>
<id>urn:sha1:80765f1d6ea16892224be8da954e5b0a4c53303b</id>
<content type='text'>
The installation prefix was taking a trailing backslash, while it is
common not to do so. Fixed it so that any trailing backslash is
removed by the compilation and installation scripts.
</content>
</entry>
<entry>
<title>lib, irmd, ipcp: robust mutexes</title>
<updated>2016-06-20T22:14:14+00:00</updated>
<author>
<name>dimitri staessens</name>
<email>dimitri.staessens@intec.ugent.be</email>
</author>
<published>2016-06-20T21:49:35+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=a46114ec01e8d174a41744f4f1b49905613847dc'/>
<id>urn:sha1:a46114ec01e8d174a41744f4f1b49905613847dc</id>
<content type='text'>
Update to POSIX 200112L to allow use of robust mutexes in the
shm_du_map. Removed the implementation of the rw_lock in favor of
pthread_rwlock_t.

Placeholder for the shm_du_map_sanitize function.
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/be' into be</title>
<updated>2016-06-20T18:59:59+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-20T18:59:59+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=4ecf8b0bfa00473e6f1c3d26693ba2491eaa84ef'/>
<id>urn:sha1:4ecf8b0bfa00473e6f1c3d26693ba2491eaa84ef</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Change install directories and set correct permissions</title>
<updated>2016-06-20T18:57:25+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-20T18:57:25+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=16323dcc9df15020e368d4324cf1c1d9dceac805'/>
<id>urn:sha1:16323dcc9df15020e368d4324cf1c1d9dceac805</id>
<content type='text'>
This sets the correct install directories for all the binaries,
library and header files. It also sets the right permissions on the
sockets and shared memory so that regular users can also use the
ouroboros library. Root privileges are required to run the irmd.

Fixes #7
</content>
</entry>
<entry>
<title>ipcpd: Adds RX_RING and TX_RING in shim-eth-llc</title>
<updated>2016-06-20T14:56:00+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-19T17:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=c1ba188184cf4a2b62f7eab466639479c2157b8f'/>
<id>urn:sha1:c1ba188184cf4a2b62f7eab466639479c2157b8f</id>
<content type='text'>
This adds the RX_RING and TX_RING socket options to the shim-eth-llc
for faster transmission and reception. On systems where these options
are not available the old method of sending and receiving is
used. Further optimization would be creating and assigning a
read/write thread per CPU core, but that becomes very platform
specific, and is not required in the short term.

Fixes #10
</content>
</entry>
<entry>
<title>ipcpd: Fix wrong length in shim-eth-llc</title>
<updated>2016-06-14T16:00:36+00:00</updated>
<author>
<name>Sander Vrijders</name>
<email>sander.vrijders@intec.ugent.be</email>
</author>
<published>2016-06-14T15:56:45+00:00</published>
<link rel='alternate' type='text/html' href='http://133.ip-51-38-114.eu/cgit/ouroboros/commit/?id=6cc20e6d98aec8d1da0740a2a890e984e634445a'/>
<id>urn:sha1:6cc20e6d98aec8d1da0740a2a890e984e634445a</id>
<content type='text'>
The shim Ethernet with LLC was using the frame length in the header of
the 802.3 frame, which contained a wrong value when sent over the
wire. Probably the kernel filled in a wrong value. Now it uses the
length as reported by recv.
</content>
</entry>
</feed>
