summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * ipcpd: normal: Make routing a policySander Vrijders2017-05-1518-353/+522
|/ | | | | | 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.
* Merged in dstaesse/ouroboros/be-syntax-dev (pull request #505)dimitri staessens2017-05-1520-285/+263
|\ | | | | | | ipcpd: Allow specifying fixed syntax
| * ipcpd: Allow specifying fixed syntaxdimitri staessens2017-05-1520-285/+263
|/ | | | | | 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.
* Merged in dstaesse/ouroboros/be-frct-del (pull request #504)dimitri staessens2017-05-1017-710/+93
|\ | | | | | | ipcpd: Remove FRCT from normal IPCP
| * ipcpd: Remove FRCT from normal IPCPdimitri staessens2017-05-1017-710/+93
|/ | | | | | | 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.
* Merged in dstaesse/ouroboros/be-irmd-unbind-fix (pull request #503)dimitri staessens2017-05-093-4/+16
|\ | | | | | | irmd: Fix unbinding AP and AP-Is from a name
| * irmd: Fix unbinding AP and AP-Is from a namedimitri staessens2017-05-093-4/+16
| | | | | | | | | | | | | | 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
* | Merged in dstaesse/ouroboros/be-dealloc-del (pull request #502)dimitri staessens2017-05-022-39/+0
|\| | | | | | | ipcpd: Don't send deallocation messages
| * ipcpd: Don't send deallocation messagesdimitri staessens2017-05-022-39/+0
|/ | | | | | | 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.
* Merged in dstaesse/ouroboros/be-normal-dealloc (pull request #501)dimitri staessens2017-04-292-18/+31
|\ | | | | | | ipcpd: Fix sending fa dealloc message
| * ipcpd: Fix sending fa dealloc messagedimitri staessens2017-04-292-18/+31
| | | | | | | | | | | | | | 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.
* | Merged in dstaesse/ouroboros/be-normal-split (pull request #499)dimitri staessens2017-04-284-39/+46
|\| | | | | | | ipcpd: Fix some bugs for the normal split
| * ipcpd: Fix some bugs for the normal splitdimitri staessens2017-04-284-39/+46
|/
* Merged in dstaesse/ouroboros/be-irmd-logs (pull request #498)dimitri staessens2017-04-281-6/+0
|\ | | | | | | irmd: Remove some debug logs
| * irmd: Remove some debug logsdimitri staessens2017-04-281-6/+0
| |
* | Merged in sandervrijders/ouroboros/be-frct-api (pull request #497)Sander Vrijders2017-04-2815-680/+647
|\ \ | | | | | | | | | ipcpd: normal: Split connection establishment
| * | ipcpd: normal: Split connection establishmentSander Vrijders2017-04-2815-680/+647
| | | | | | | | | | | | | | | | | | 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.
* | | Merged in dstaesse/ouroboros/be-dev (pull request #496)dimitri staessens2017-04-281-135/+5
|\ \ \ | | |/ | |/| | | | lib: Remove obsolete lock in dev.c
| * | lib: Remove obsolete lock in dev.cdimitri staessens2017-04-281-135/+5
|/ /
* | Merged in dstaesse/ouroboros/be-cap (pull request #495)dimitri staessens2017-04-278-53/+102
|\ \ | |/ |/| | | Be cap
| * ipcpd: Add capability reportingdimitri staessens2017-04-278-53/+102
| | | | | | | | | | | | | | | | 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
* | Merged in dstaesse/ouroboros/be-dt (pull request #494)dimitri staessens2017-04-271-9/+9
|\| | | | | | | ipcpd: Fix start/stop order in dt
| * ipcpd: Fix start/stop order in dtdimitri staessens2017-04-261-9/+9
| |
* | Merged in dstaesse/ouroboros/be-shm-reserve (pull request #493)dimitri staessens2017-04-2611-43/+121
|\| | | | | | | lib: Add call to reserve blocks in rdrbuff
| * lib: Add call to reserve blocks in rdrbuffdimitri staessens2017-04-2611-43/+121
|/ | | | | | | 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.
* Merged in sandervrijders/ouroboros/be-headers (pull request #492)Sander Vrijders2017-04-243-10/+12
|\ | | | | | | lib: Remove dependency on installed headers
| * lib: Remove dependency on installed headersSander Vrijders2017-04-243-10/+12
|/ | | | | | | 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.
* Merged in sandervrijders/ouroboros/be-sched-api (pull request #491)Sander Vrijders2017-04-244-65/+58
|\ | | | | | | ipcpd: normal: Extract flow sets from components
| * ipcpd: normal: Extract flow sets from componentsSander Vrijders2017-04-244-65/+58
|/ | | | | | 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.
* Merged in sandervrijders/ouroboros/be-fmgr-split (pull request #490)Sander Vrijders2017-04-2111-884/+972
|\ | | | | | | ipcpd: normal: Split flow manager into DT and FA
| * ipcpd: normal: Split flow manager into DT and FASander Vrijders2017-04-2111-884/+972
|/ | | | | | 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.
* Merged in dstaesse/ouroboros/be-complete (pull request #489)dimitri staessens2017-04-204-21/+78
|\ | | | | | | ipcpd: Build complete graph with gam
| * ipcpd: Build complete graph with gamdimitri staessens2017-04-204-21/+78
| | | | | | | | | | The complete policy will now build a complete graph. Currently a simple timer is used to check the member list periodically.
* | Merged in dstaesse/ouroboros/be-rib-lock (pull request #488)dimitri staessens2017-04-201-2/+3
|\| | | | | | | lib: Fix bad lock in rib
| * lib: Fix bad lock in ribdimitri staessens2017-04-201-2/+3
| |
* | Merged in sandervrijders/ouroboros/be-scheduling (pull request #487)Sander Vrijders2017-04-194-127/+236
|\ \ | |/ |/| | | | | | | ipcpd: normal: Extract SDU scheduling component Approved-by: dimitri staessens <dimitri.staessens@ugent.be>
| * ipcpd: normal: Extract SDU scheduling componentSander Vrijders2017-04-194-127/+236
|/ | | | | | 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.
* Merged in sandervrijders/ouroboros/be-fix-release (pull request #486)Sander Vrijders2017-04-191-0/+2
|\ | | | | | | lib: Fix compilation error in hash.c
| * lib: Fix compilation error in hash.cSander Vrijders2017-04-191-0/+2
|/ | | | | If compiled as release build, an error would be generated as the control reaches the end of a non-void function.
* Merged in dstaesse/ouroboros/be-hashing (pull request #484)dimitri staessens2017-04-1629-131/+759
|\ | | | | | | Be hashing
| * ipcpd: Allow specifying the hash algorithm to usedimitri staessens2017-04-1620-124/+231
| | | | | | | | Currently CRC32, MD5, and SHA3 (224, 256, 384 and 512 bit) are supported.
| * include: Fix typo in endian.hdimitri staessens2017-04-161-1/+1
| |
| * lib: Add implementation for MD5 hashesdimitri staessens2017-04-166-2/+484
| |
| * lib: Fix minor things in sha3 implementationdimitri staessens2017-04-163-4/+43
| |
* | Merged in dstaesse/ouroboros/be-bsd (pull request #485)dimitri staessens2017-04-162-2/+2
|\ \ | |/ |/| | | irmd, ipcpd: Include socket in select() for FreeBSD
| * irmd, ipcpd: Include socket in select() for FreeBSDdimitri staessens2017-04-162-2/+2
|/ | | | Fixes #41
* Merged in dstaesse/ouroboros/be-bsd (pull request #483)dimitri staessens2017-04-131-7/+5
|\ | | | | | | ipcpd: Fix LLC shim for BSD using netmap
| * ipcpd: Fix LLC shim for BSD using netmapdimitri staessens2017-04-131-7/+5
|/ | | | Fixes #22
* Merged in dstaesse/ouroboros/be-fix-unreg (pull request #482)dimitri staessens2017-04-131-0/+2
|\ | | | | | | ipcpd: Fix unregistration in normal
| * ipcpd: Fix unregistration in normaldimitri staessens2017-04-131-0/+2
| |