| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
Tools would do a double ap_fini when an error occurred.
|
| |/
| |
| |
| | |
Unlock missing when compiled without DNS support.
|
|/
|
|
|
|
|
| |
Adds a thread that cleans up stale pending flows. Compile time option
IRMD_FLOW_TIMEOUT allows setting the timeout period. Default timeout is
5 seconds. The thread wakes up 20 times per period to check the
flows.
|
|\
| |
| |
| | |
ipcpd: fixed locking and cleanup
|
|/
|
|
|
| |
The ipcpds didn't unlock the flows lock when the dst_name is
unbeknownst to the IRMd.
|
|\
| |
| |
| | |
ipcpd: Fix wrong length in shim-eth-llc
|
|/
|
|
|
|
|
| |
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.
|
|\
| |
| |
| | |
Be llc
|
| |
| |
| |
| |
| | |
The release build was being installed sandboxed. Now it is installed
system-wide.
|
| |
| |
| |
| |
| | |
The source AP name was still present in the protobuf message the
shim-eth-llc uses.
|
|\|
| |
| |
| | |
ipcpd: Adds a shim over IEEE 802.2 over IEEE 802.3
|
| |
| |
| |
| |
| | |
This removes the source AP name from all shim-eth-llc flow allocation
operations, since it was removed from flow allocation by 6271d09bd.
|
| |\
| |/
|/| |
|
|\ \
| | |
| | |
| | | |
lib, irmd, tools, ipcpd: updates to dev API.
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Now correctly deallocates the local fd if the remote already
deallocated the flow.
|
| | |
| | |
| | |
| | |
| | | |
Comment updated to reflect removal of the AP name from flow
allocation.
|
| | |
| | |
| | |
| | |
| | | |
A condition variable is now used to wait for an auto-executed AP to
accept the requested flow.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The registration function has been moved to the irm tool, applications
now need to be registered by an administrator. Currently only supports
one instance per registered name, and an AP can be registered under
only one name.
The irmd can now start a registered server application on demand.
For the full functionality of the tool, execute "irm register".
AP name removed from flow allocation. Flow allocation does not send
the source ap name as it is quite useless. The accept() call now only
returns the AE name.
|
|\ \
| | |
| | |
| | | |
irmd: Add wildcarding of DIF names
|
| | |
| | |
| | |
| | |
| | | |
This addresses some comments Dimitri had on the shim Ethernet with
LLC.
|
| |/
| |
| |
| |
| | |
This adds a shim over LLC over Ethernet. It uses the raw socket API to
send messages directly over an interface.
|
|/
|
|
|
| |
This adds wildcarding of DIF names so that application developers can
for instance specify home.* to specify all home DIFs.
|
|\
| |
| |
| | |
lib: shm_ap_rbuff: sleep when read on empty rbuff
|
| |\
| |/
|/| |
|
|\ \
| | |
| | |
| | | |
ipcpd: cleanup of IPC processes
|
| | | |
|
| | | |
|
| |/
| |
| |
| |
| | |
When the ring buffer is empty, a read call will sleep. A write call on
an empty ring buffer will wake up sleeping readers.
|
|/
|
|
|
|
|
| |
This stops IPC processes from hanging due to bad locks. It first
informs all threads that the IPCP is shutting down, then cancels all
threads. Cancellation is still required because threads may be in
accept() or receivefrom().
|
|\
| |
| |
| | |
ipcpd: IPCP over local memory
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
This introduces an IPC process that relays data between two local AP's
over the shm_du_map. Only configuration it has is a DIF name.
It required small modification elsewhere:
lib: added support for the IPCP_LOCAL type
irm: added support for the IPCP_LOCAL type
dif_config: added the IPCP_LOCAL type
tools: added support for the IPCP_LOCAL type
|
|\
| |
| |
| | |
ipcpd: shim-udp changed to blocking write
|
|/
|
|
|
| |
The shim UDP did a non-blocking write call, causing loss of
SDU's. This has been changed to a blocking write call.
|
|\
| |
| |
| | |
tools: updated cbr with flood and sleep options
|
|/
|
|
|
|
|
| |
The cbr client will now use busy waiting by default to control the
sending rate. A --sleep option has been added to allow low CPU usage
when sending at low data rates. A --flood option has been added that
writes SDU's as fast as possible.
|
|\
| |
| |
| | |
ipcpd: fixed the shim-udp grinding the cpu
|
| |
| |
| |
| |
| |
| |
| |
| | |
In linux, the select call changes the timeout variable to the time not
spent in sleep, causing the timeout to decrease and that loop to grind
the cpu. The timeval is now reset to the correct value every loop.
Also removed a LOG_ERR message that was hampering performance.
|
|\ \
| |/
|/|
| | |
lib: fixed SHM_DU_BUFF_BLOCK_SIZE in shm_du_map
|
|/ |
|
|\
| |
| |
| | |
lib: fixed blocking/non-blocking write
|
|/
|
|
|
| |
non-blocking write would return when the buffer was full
functions in dev now check validity of input file descripters
|
|\
| |
| |
| | |
Be cbr
|
| |
| |
| |
| |
| | |
This adds a cleanup handler for the main message loop, which closes
the socket upon pthread_cancel so that the ipcp can exit cleanly.
|
| |
| |
| |
| |
| | |
This adds a threadpool to cbr, so that it is not overflooded with
client requests.
|
|\ \
| |/
|/|
| | |
lib: allow running shm_du_map in single block mode
|
| |
| |
| |
| |
| | |
this allows disabling support for SDU's that are larger than a block
in the DU MAP by defining the variable SHM_MAP_SINGLE_BLOCK
|
|\ \
| | |
| | |
| | | |
tools, lib: cbr tool for bandwidth testing
|