summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Merged in sandervrijders/ouroboros/be-swig (pull request #481)Sander Vrijders2017-04-131-1/+3
|\ \ | |/ |/| | | lib: Fix error in SWIG wrapper
| * lib: Fix error in SWIG wrapperSander Vrijders2017-04-131-1/+3
|/ | | | This fixes an error in the SWIG wrapper.
* Merged in dstaesse/ouroboros/be-ap_init (pull request #480)dimitri staessens2017-04-1323-95/+175
|\ | | | | | | include, lib: Rename ap_init/ap_fini
| * include: Add C++ directives in headersdimitri staessens2017-04-139-2/+79
| | | | | | | | Fixes #34
| * include, lib: Rename ap_init/ap_finidimitri staessens2017-04-1315-93/+96
|/ | | | Fixes #35
* Merged in dstaesse/ouroboros/be-hashes (pull request #479)dimitri staessens2017-04-1356-1081/+1054
|\ | | | | | | lib, ipcpd, irmd: Register hash instead of name
| * lib, ipcpd, irmd: Register hash instead of namedimitri staessens2017-04-1356-1081/+1054
| | | | | | | | | | | | | | | | | | All information passed over the IRMd/IPCP boundary for using IPC services (flow allocation, registration) is now hashed. This effectively fixes the shared namespace between DIFs and the IRMDs. This PR also fixes some API issues (adding const identifiers), shuffles the include headers a bit and some small bugs.
* | Merged in sandervrijders/ouroboros/be-cmake-msg (pull request #478)Sander Vrijders2017-04-123-8/+8
|\ \ | | | | | | | | | build: Add STATUS to message statements
| * | build: Add STATUS to message statementsSander Vrijders2017-04-123-8/+8
|/ / | | | | | | | | | | This adds the STATUS variable to the message() call in CMakeLists.txt in places where it was missing. This ensures that the message is printed to stdout instead of stderr.
* | Merged in sandervrijders/ouroboros/be-man-install (pull request #477)Sander Vrijders2017-04-123-0/+42
|\ \ | | | | | | | | | build: Install manpages
| * | build: Install manpagesSander Vrijders2017-04-123-0/+42
|/ / | | | | | | | | | | This will install the manpages found in doc/man/ during installation. Fixes #38
* | Merged in dstaesse/ouroboros/be-man (pull request #475)dimitri staessens2017-04-128-4/+265
|\ \ | | | | | | | | | doc: Add man pages for flow allocation
| * | lib: Fix return values in ap_init()dimitri staessens2017-04-111-4/+4
| | |
| * | doc: Add man pages for ap_init/ap_finidimitri staessens2017-04-112-0/+68
| | |
| * | doc: Add man page for flow_read and flow_writedimitri staessens2017-04-102-0/+75
| | |
| * | doc: Add man pages for flow_allocationdimitri staessens2017-04-103-0/+118
| |/ | | | | | | | | | | | | This commit contains only the sources, correct installation requires gzip and copying the files to /usr/local/man/man3/flow_alloc.3.gz. We need to have a look at integrating this in the build system in an efficient way.
* | Merged in dstaesse/ouroboros/be-irmd (pull request #476)dimitri staessens2017-04-111-2/+2
|\ \ | | | | | | | | | irmd: Fix mixed declaration
| * | irmd: Fix mixed declarationdimitri staessens2017-04-111-2/+2
|/ /
* | Merged in dstaesse/ouroboros/be-timeo-const (pull request #474)dimitri staessens2017-04-102-20/+20
|\| | | | | | | lib: Make timeout for flow allocation const
| * dev: Return descriptive errors for flow_allocdimitri staessens2017-04-101-10/+10
| |
| * lib: Make timeout for flow allocation constdimitri staessens2017-04-102-10/+10
| |
* | Merged in dstaesse/ouroboros/be-query-timeo (pull request #473)dimitri staessens2017-04-081-3/+2
|\| | | | | | | ipcpd: Fix wrong timeval value in LLC shim
| * ipcpd: Fix wrong timeval value in LLC shimdimitri staessens2017-04-081-3/+2
| |
* | Merged in dstaesse/ouroboros/be-query-timeo (pull request #472)dimitri staessens2017-04-081-2/+9
|\| | | | | | | ipcpd: Increase query timeout in shim LLC