| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
There was some crapped up indentation in the crc32 source file.
|
|\
| |
| |
| | |
ipcpd: normal: Add operations to get and set the PCI
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the operations needed in the normal IPCP to get and set the
Protocol Control Information. It allows to allocate or release space
in the current DU. The struct pci can be serialized into newly
allocate space. Vice versa, a struct pci can be deserialized given a
DU. It allows for decreasing the TTL in the DU and for calculating the
CRC32. The TTL and CRC32 can now be selected when creating a new DIF.
|
| |
| |
| |
| |
| | |
Permissions are now set correctly upon creation, removing the need to
call fchmod.
|
| | |
|
| |
| |
| |
| |
| |
| | |
The flow_set now has a safe copy which is threadsafe for the select
call without needing a lock. This greatly speeds up consecutive
select calls.
|
| |
| |
| |
| |
| | |
If there are unregistered IPCPs (no DIF name set) the lookup should
skip over them without segfaulting.
|
| |
| |
| |
| |
| |
| |
| | |
The flow_select call now takes as a parameter a flow_set_t, which
specifies a set of flow descriptors that will unblock the select call
when an SDU for one of them arrives. The select call has been moved to
its own header.
|
| | |
|
| |
| |
| |
| |
| | |
Renamed _ap_instance to ai, adds a char * daf_name (to be set by ipcps
in ipcp-dev.h, later to be set when we generalise enrolment to DAFs).
|
|\ \
| | |
| | |
| | | |
src: Fix grammar (SDU's -> SDUs)
|
| | | |
|
|\| |
| |/
|/|
| | |
lib: Add northbound ringbuffers
|
| |
| |
| |
| | |
Fast path is split in north and southbound paths.
|
|\ \
| |/
|/|
| | |
lib: ipcp: Decouple flow_dealloc
|
| |
| |
| |
| | |
Sending a dealloc to the irmd moved to its own call.
|
|/
|
|
|
|
| |
The head and tail alloc and release operations were taking an int to
identify the idx instead of a ssize_t. The size was a ssize_t instead
of a size_t.
|
| |
|
|
|
|
| |
Adds missing condition signals.
|
| |
|
|
|
|
|
| |
Flow will now allocate correctly when the name is registered in a DIF
before it is bound to an AP.
|
| |
|
|
|
|
|
|
| |
Disables robust mutexes and clock attributes for condition variables
for compatibility with OSX (SUSv2). Implements clock_gettime and adds
some defines for OSX compatibility in time_utils.
|
|
|
|
|
|
|
|
|
|
| |
The shm_du_map is renamed to shm_rdrbuff to reflect the Random
Deletion Ringbuffer used in the implementation. The close_on_exit call
is removed and SDUs are cleaned up by the application in the ap_fini()
call. This required a non-blocking peek() operation in the shm_ap_rbuff.
Some initial implementation for future support of qos cubes has been
added to the shm_rdrbuff.
|
|
|
|
| |
When getting a DELETE opcode, create was called instead of delete.
|
|
|
|
|
| |
Destroying NULL should succeed. Resources need to be freed even if
flow_dealloc fails.
|
|
|
|
| |
Prevents double destruction.
|
|
|
|
| |
IPCPs will report their pid on shutdown for faster debugging.
|
|
|
|
|
| |
Flows are deallocated first, then the socket is closed to prevent
IPCPs hanging on the connect.
|
|
|
|
| |
Destruction of the object in the reply stage was unsafe.
|
| |
|
| |
|
|
|
|
| |
This removes the ret value which was not being set correctly.
|
|\
| |
| |
| | |
Fix locks
|
| | |
|
| | |
|
|\|
| |
| |
| | |
ipcpd: Revised locking
|
| |
| |
| |
| |
| |
| | |
The state lock was reverted to an rwlock to avoid interference of
management functions with the fast path. IPCPs now close without
calling unsafe functions in the signal handler.
|
|\ \
| |/
|/|
| | |
ipcpd: normal: Add initial steps for N+1 flow allocation
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the initial framework for flow allocation between two N+1
endpoints. The FMGR will receive flow allocation requests and will
create a connection as a result, addressed to the right address, it
will also pass a flow allocation message to this address. Upon receipt
on the other side, the FMGR will be receive a flow allocation message
and a pointer to a new connection. The FMGR can then accept or destroy
the connection. This commit also introduces the RMT function, which is
needed by the FRCT to forward its SDUs on the right file descriptor.
|
| | |
|
| |
| |
| |
| | |
ap_table had no function to look for entries by apn.
|
| | |
|
| |
| |
| |
| |
| | |
The reg_entry_del_api must be called to correctly set the flow
handling state instead of just clearing the entry from the list.
|
| |
| |
| |
| | |
Location-dependent names should be managed by a higher-level NMS.
|
| |
| |
| |
| |
| | |
The apis parameter is not set if the IRMd is not running when running
the tool.
|
| | |
|
| | |
|
|/ |
|
| |
|