summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc
Commit message (Collapse)AuthorAgeFilesLines
* build: correct sandboxingdimitri staessens2016-06-271-1/+1
| | | | | paths cannot start with "/" or PREFIX will be omitted. PREFIX must be set before the project() call.
* build: Fix installation prefixSander Vrijders2016-06-271-1/+1
| | | | | | 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.
* lib, irmd, ipcp: robust mutexesdimitri staessens2016-06-211-93/+94
| | | | | | | | 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.
* Merge remote-tracking branch 'upstream/be' into beSander Vrijders2016-06-201-22/+183
|\
| * ipcpd: Adds RX_RING and TX_RING in shim-eth-llcSander Vrijders2016-06-201-22/+183
| | | | | | | | | | | | | | | | | | | | | | 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
* | build: Change install directories and set correct permissionsSander Vrijders2016-06-201-1/+1
|/ | | | | | | | | 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
* ipcpd: Fix wrong length in shim-eth-llcSander Vrijders2016-06-141-4/+7
| | | | | | | 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.
* ipcpd: Remove source AP name from protobuf messageSander Vrijders2016-06-141-5/+4
| | | | | The source AP name was still present in the protobuf message the shim-eth-llc uses.
* ipcpd: Remove source AP name from shim-eth-llcSander Vrijders2016-06-141-9/+2
| | | | | This removes the source AP name from all shim-eth-llc flow allocation operations, since it was removed from flow allocation by 6271d09bd.
* ipcpd: Address comments by DimitriSander Vrijders2016-06-141-30/+23
| | | | | This addresses some comments Dimitri had on the shim Ethernet with LLC.
* ipcpd: Adds a shim over IEEE 802.2 over IEEE 802.3Sander Vrijders2016-06-143-0/+1212
This adds a shim over LLC over Ethernet. It uses the raw socket API to send messages directly over an interface.