summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* lib, irmd: Fix memleaksSander Vrijders2016-03-032-11/+8
| | | | Fixes a couple of memleaks found while executing with valgrind.
* Merged in sandervrijders/ouroboros/be (pull request #17)Sander Vrijders2016-03-016-140/+329
|\ | | | | | | lib, irmd, tools: Provide more IRM messages
| * lib, irmd, tools: Provide more IRM messagesSander Vrijders2016-03-016-140/+329
|/ | | | | | | This provides the other messages that are used to communicate between the library and the IRM Daemon. The IRM tool just calls the library right now to see if it works. A full fledged program will be provided in a next commit.
* Merged in dstaesse/ouroboros/be-update-workflow (pull request #11)Sander Vrijders2016-02-272-3/+15
|\ | | | | | | workflow: Update guidelines on use of pointers
| * doc: fixed example code in workflow docDimitri Staessens2016-02-261-2/+2
| |
| * doc: workflow updated for consistencyDimitri Staessens2016-02-261-6/+2
| |
| * doc: updated workflow and corrected all mallocsDimitri Staessens2016-02-262-6/+14
| | | | | | | | lib/du_buff contained casted malloc's.
| * workflow: Update guidelines on use of pointersDimitri Staessens2016-02-261-0/+8
| | | | | | | | | | the void * returned by malloc should not be explicitly cast when checking pointers for validity, only use (ptr == NULL)
* | Merged in dstaesse/ouroboros/be-pci (pull request #12)Dimitri Staessens2016-02-275-8/+256
|\ \ | | | | | | | | | PCI structure for IPCP
| * | ipcpd: Added dt_const.hDimitri Staessens2016-02-261-0/+44
| | | | | | | | | | | | | | | forgot to add the dt_const.h file in my previous commits. this completes the pull request
| * | ipcpd: Fixes in pci.cDimitri Staessens2016-02-261-13/+15
| | | | | | | | | | | | | | | HEAD_SIZE and TAIL_SIZE renamed PCI_HEAD_SIZE and PCI_TAIL_SIZE broke up a mixed definition and assignment
| * | Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be-pciDimitri Staessens2016-02-261-1/+1
| |\ \
| * | | ipcp: Addresses comments on 62eba34Dimitri Staessens2016-02-263-29/+24
| | | |
| * | | Merge branch 'be' of bitbucket.org:ouroboros-rina/ouroboros into be-pciDimitri Staessens2016-02-268-5/+589
| |\ \ \
| * | | | ipcp: PCI structureDimitri Staessens2016-02-263-56/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ipcpd/dt_const.h: ipcp-internal datastructures for dtp and dip constants ipcpd/pci.h : header for pci structure ipcpd/pci.c : pci structure ipcpd : updated makefile commit not fully tested yet
| * | | | include: changed dt constants sizes back to bytesDimitri Staessens2016-02-261-1/+1
| | | | |
| * | | | includ: Updated comment in common.hDimitri Staessens2016-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Now explains the size values are in bits as this comment was accidentally removed
| * | | | include: Updated common.hDimitri Staessens2016-02-261-26/+14
| | | | | | | | | | | | | | | | | | | | various fixes based on discussion on bitbucket
| * | | | include: added data transfer constants to common.hDimitri Staessens2016-02-261-7/+33
| | | | | | | | | | | | | | | | | | | | | | | | | dt_const contains data transfer constants dup_const contains constants for du protection
| * | | | ipcps: initial code for pci structureDimitri Staessens2016-02-262-0/+143
| | | | |
* | | | | Merged in sandervrijders/ouroboros/be-bugfixes (pull request #15)Sander Vrijders2016-02-261-1/+1
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | lib: Add identifier for non-literal string
| * | | | | lib: Add identifier for non-literal stringSander Vrijders2016-02-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds the %s identifier in a sprintf. A non-literal was passed and used as a literal.
* | | | | | Merged in sandervrijders/ouroboros/be-bugfixes (pull request #14)Sander Vrijders2016-02-263-5/+9
|\| | | | | | |_|_|/ / |/| | | | | | | | | Be bugfixes
| * | | | lib: Fix two errorsSander Vrijders2016-02-262-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes two errors in the library. The return code of a write to a socket was ignored. A non literal string was passed to sprintf as a literal one.
| * | | | build: Allow at most 5 errors per buildSander Vrijders2016-02-261-1/+1
| | |/ / | |/| | | | | | | | | | This will show more interesting output when building in Semaphore.
* | | | Merged in sandervrijders/ouroboros/be-cmake (pull request #13)Dimitri Staessens2016-02-261-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | build: Lowers minimum cmake version
| * | | build: Lowers minimum cmake versionSander Vrijders2016-02-261-1/+1
|/ / / | | | | | | | | | | | | This lower the minimum cmake version to 2.8.12 in order to allow semaphore to build the prototype.
* | | Merged in sandervrijders/ouroboros/be (pull request #10)Dimitri Staessens2016-02-268-5/+589
|\ \ \ | | | | | | | | | | | | Initial support for communicating with the IRM
| * | | lib, irmd: Address Dimitri's commentsSander Vrijders2016-02-264-25/+64
| | | | | | | | | | | | | | | | This addresses several comments Dimitri had on the sockets layer code.
| * | | lib, irmd, tools: Support to create IPCPsSander Vrijders2016-02-257-16/+258
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Provides the initial support to create IPCPs via a command-line tool. It extends the socket layer with a message that is sent over a socket to the irmd when the irm_create_ipcp library function is called from a program.
| * | | Merge remote-tracking branch 'upstream/be' into beSander Vrijders2016-02-251-36/+57
| |\ \ \ | | | |/ | | |/|
| * | | Merge remote-tracking branch 'upstream/be' into beSander Vrijders2016-02-242-39/+24
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'upstream/be' into beSander Vrijders2016-02-231-5/+2
| |\ \ \ \
| * \ \ \ \ Merge remote-tracking branch 'upstream/be' into beSander Vrijders2016-02-231-3/+3
| |\ \ \ \ \
| * | | | | | lib: Initial messages for the IRMSander Vrijders2016-02-236-3/+306
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides the initial messages to be passed between the irmd and libouroboros-irm.
* | | | | | | Merged in dstaesse/ouroboros/be-du_buff_pointers (pull request #9)Sander Vrijders2016-02-262-26/+26
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | / | | |_|_|_|/ | |/| | | | lib: du_buff alloc API changed to return pointers
| * | | | | lib: Fixed some indentation issues in du_buff.cDimitri Staessens2016-02-251-3/+3
| | | | | |
| * | | | | lib: du_buff alloc API changed to return pointersDimitri Staessens2016-02-252-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | du_buff.[c/h]: alloc_head and alloc_tail now return a pointer to the start of the PCI for direct read/write access.
* | | | | | Merged in dstaesse/ouroboros/be (pull request #8)Sander Vrijders2016-02-251-36/+57
|\| | | | | | |_|_|_|/ |/| | | | | | | | | lib: Changes to du_buff structure
| * | | | lib: fixed typo in du_buffDimitri Staessens2016-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | DU_BUFF_BLOCKIZE -> DU_BUFF_BLOCKSIZE
| * | | | lib: Fixed errors when destroying du_buffDimitri Staessens2016-02-251-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | du_buff.c: this fixes a lot of bugs probably. destruction of du_buff worked under all tested circumstances
| * | | | lib: Changes to du_buff structureDimitri Staessens2016-02-241-30/+51
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | du_buff.c : Will now allocate memory only upon init, not upon create. User can add compiler flag DU_BUFF_BLOCKSIZE to set the size of a du_buff memory block. If the size for the du_buff is larger than DU_BUFF_BLOCKSIZE, the du_buff will be structured as follows: HEAD -> DATA_BLOCK -> ... -> DATA_BLOCK -> TAIL HEAD and TAIL are contiguous and may be larger than DU_BUFF_BLOCKSIZE if required.
* | | | Merged in dstaesse/ouroboros/be (pull request #7)Sander Vrijders2016-02-242-39/+24
|\ \ \ \ | |_|_|/ |/| | | | | | | lib: bugfixes to du_buff.c
| * | | lib: further cleanup of du_buffDimitri Staessens2016-02-242-36/+2
| | | | | | | | | | | | | | | | | | | | du_buff.c : removed unnecessary variable for return values removed unnecessary functions
| * | | lib: Fixed syntax formatting in du_buffDimitri Staessens2016-02-241-1/+1
| | | | | | | | | | | | | | | | forgot spaces before/after +
| * | | lib: Fixed shoddy castDimitri Staessens2016-02-241-4/+2
| | | | | | | | | | | | | | | | du_buff.c size_t now prints correctly as %llu
| * | | lib: bugfixes to du_buff.cDimitri Staessens2016-02-231-20/+41
|/ / / | | | | | | | | | | | | The initial commit was untested and caused some segmentation faults. This version should be bugfree (no promises).
* | | Merged in dstaesse/ouroboros/be (pull request #6)Sander Vrijders2016-02-231-5/+2
|\ \ \ | |_|/ |/| | | | | lib: fixed build errors in du_buff
| * | lib: fixed build errors in du_buffDimitri Staessens2016-02-231-5/+2
| | | | | | | | | | | | du_buff.c is now compliant with more stringent compiler flags
* | | Merged in dstaesse/ouroboros/be (pull request #5)Sander Vrijders2016-02-231-3/+3
|\| | | |/ |/| | | include: removed inline to comply with C89