| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\|
| |
| |
| | |
ipcpd: Allow registering protocol machines with DT
|
| |
| |
| |
| |
| |
| | |
Other protocol machines now have to register on top of the DT AE. This
allows multiple instances of the same protocol machine and avoids
preallocating fds for each protocol machine instance.
|
|\|
| |
| |
| | |
lib: Fix some bugs in dev.c
|
| |
| |
| |
| |
| |
| |
| | |
Fixed releasing an allocated fd on failure. As the sending of dealloc
messages has been deprecated, dealloc was simplified by removing a
stale block of code (replaced with an assertion). Fixed reading some
variables without a necessary lock.
|
|\ \
| |/
|/|
| | |
build: Fix bad if check
|
|/
|
|
| |
This fixes a bad if check for the version of cmake.
|
|\
| |
| |
| | |
build: Fix deprecation warning
|
| |
| |
| |
| |
| |
| | |
This fixes a deprecation warning for CMake 3.8 and
higher. swig_add_module has been deprecated in favor of
swig_add_library.
|
|\ \
| |/
|/|
| | |
ipcpd: normal: Make routing a policy
|
|/
|
|
|
|
| |
This makes the routing component into a policy since different
approaches may exist to do this, depending on how high the rank of the
DIF is.
|
|\
| |
| |
| | |
ipcpd: Allow specifying fixed syntax
|
|/
|
|
|
|
| |
This commits adds the functions and messages to specify a fixed
protocol syntax during CACEP. It also revises the messages for
specifying the DT protocol syntax from the irm tool.
|
|\
| |
| |
| | |
ipcpd: Remove FRCT from normal IPCP
|
|/
|
|
|
|
|
| |
In order to ensure 100% reliable transfer, the protocol state machine
that takes care of retransmission and SDU ordering has to be in the
application. Flow allocation in the normal now uses fds. The PDU_type
field was deprecated and AE's within the DIF can use reserved fds.
|
|\
| |
| |
| | |
irmd: Fix unbinding AP and AP-Is from a name
|
| |
| |
| |
| |
| |
| |
| | |
APs and AP-Is were not removed from the registry entry for that name.
Reported by: loic.vervaeke@ugent.be
Tested by: loic.vervaeke@ugent.be
|
|\|
| |
| |
| | |
ipcpd: Don't send deallocation messages
|
|/
|
|
|
|
|
| |
The flow resources are Delta-t protocol machines that will time out
and free their resources without any required signaling. Flows can be
cleaned locally when the application requests it and all FRCT
instances have timed out and released their resources.
|
|\
| |
| |
| | |
ipcpd: Fix sending fa dealloc message
|
| |
| |
| |
| |
| |
| |
| | |
The frct instance was previously destroyed before sending the message,
resulting in the destination address being 0 and the message getting
dropped. Some fixes in the normal for deallocation, but will require
further revision once all data transfer protocols are in place.
|
|\|
| |
| |
| | |
ipcpd: Fix some bugs for the normal split
|
|/ |
|
|\
| |
| |
| | |
irmd: Remove some debug logs
|
| | |
|
|\ \
| | |
| | |
| | | |
ipcpd: normal: Split connection establishment
|
| | |
| | |
| | |
| | |
| | |
| | | |
Connection establishment was done at the same time as flow
allocation. This splits it more cleanly, and allows to re-use the DT
AE for other purposes.
|
|\ \ \
| | |/
| |/|
| | | |
lib: Remove obsolete lock in dev.c
|
|/ / |
|
|\ \
| |/
|/|
| | |
Be cap
|
| |
| |
| |
| |
| |
| |
| |
| | |
The IPCP will now report the DIF name and the hash value to the IRMd
as a dif_info struct. This can later be extended to add further
capability reporting. Some bugfixes in normal.
Fixes #24
|
|\|
| |
| |
| | |
ipcpd: Fix start/stop order in dt
|
| | |
|
|\|
| |
| |
| | |
lib: Add call to reserve blocks in rdrbuff
|
|/
|
|
|
|
|
| |
This adds a call ipcp_sdb_reserve to reserve memory in the rdrbuff
without directly writing to a flow. The ipcp_flow_del function was
renamed to ipcp_sdb_release. The functions operating on sdbs are moved
to their own header.
|
|\
| |
| |
| | |
lib: Remove dependency on installed headers
|
|/
|
|
|
|
|
| |
The header ipcp.h was not installed systemwide, giving compile time
errors when trying to compile external programs that use irm.h. ipcp.h
also included hash.h, which exposes project interal functions. The
enum was moved to ipcp.h to prevent this.
|
|\
| |
| |
| | |
ipcpd: normal: Extract flow sets from components
|
|/
|
|
|
|
| |
The flow sets were still kept within the FA and DT components, when it
makes more sense that they are kept within the SDU scheduler
component.
|
|\
| |
| |
| | |
ipcpd: normal: Split flow manager into DT and FA
|
|/
|
|
|
|
| |
This splits the flow manager into the Data Transfer AE, which is in
charge of routing SDUs, and the Flow Allocator AE, which handles flow
allocations.
|
|\
| |
| |
| | |
ipcpd: Build complete graph with gam
|
| |
| |
| |
| |
| | |
The complete policy will now build a complete graph. Currently a
simple timer is used to check the member list periodically.
|
|\|
| |
| |
| | |
lib: Fix bad lock in rib
|
| | |
|
|\ \
| |/
|/|
| |
| |
| | |
ipcpd: normal: Extract SDU scheduling component
Approved-by: dimitri staessens <dimitri.staessens@ugent.be>
|
|/
|
|
|
|
| |
This extracts the SDU scheduling component out of the Flow Manager
since the functionality was duplicated. For both the N-1 and N+1 flow
sets an SDU scheduling component is now created.
|
|\
| |
| |
| | |
lib: Fix compilation error in hash.c
|
|/
|
|
|
| |
If compiled as release build, an error would be generated as the
control reaches the end of a non-void function.
|
|\
| |
| |
| | |
Be hashing
|
| |
| |
| |
| | |
Currently CRC32, MD5, and SHA3 (224, 256, 384 and 512 bit) are supported.
|