summaryrefslogtreecommitdiff
path: root/src/ipcpd/shim-eth-llc/main.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* 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
* 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 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-141-0/+1160
This adds a shim over LLC over Ethernet. It uses the raw socket API to send messages directly over an interface.