summaryrefslogtreecommitdiff
path: root/src/lib/cdap_req.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: Fix use-after-free when destroying cdap_reqdimitri staessens2017-03-311-0/+1
|
* lib: Cancel outstanding CDAP requests on destroydimitri staessens2017-03-311-1/+1
|
* lib: Revise handling CDAP messagesdimitri staessens2017-03-291-2/+6
| | | | | | | | | | | | | Fixes a number of issues in CDAP. CDAP keeps track if a message is being processed, and moves it to the end of the request list if it is. It will now correctly wait for new messages. The invoke_ids are generated locally per CDAP instance, invoke_ids can't be used to track incoming requests, we need to keep track of the fd. The keys are now identifiers (taken from the same local pool as the invoke_ids) that are used to track requests.
* lib: Manage multiple flows with a single CDAP instancedimitri staessens2017-03-031-2/+3
| | | | | | | | You can now add multiple flows to a CDAP instance. This will simplify sending messages to different peers (e.g. for syncing the RIB). A request will now return an array of keys terminated by CDAP_KEY_INVALID. Removes the enum from the CDAP proto file to just take the opcode as an integer.
* Change email addresses to ugent.beSander Vrijders2017-03-031-2/+2
| | | | | | | Our mailserver was migrated from intec.ugent.be to the central ugent.be emailserver. This PR updates the header files to reflect this change as well. Some header files were also homogenized if the parameters within the functions were badly aligned.
* build: Update licenses and copyrightdimitri staessens2017-01-091-10/+11
| | | | | Copyright is set to 2016 - 2017. License text on includes and sources in the library are changed to indicate the LGPLv2.1 license.
* lib: Fix race in destruction of cdap_reqdimitri staessens2016-12-281-1/+2
| | | | | If cdap_req_destroy was called while in REQ_DONE, cdap->state would be accessed in cdap_req_respond.
* ouroboros: Correct license statementsdimitri staessens2016-12-241-3/+2
| | | | | This corrects the license statements on all files. Installed headers are LGPLv2.1, the rest of the code is GPLv2.
* ipcpd, lib: Refactor normal ipcp and cdapdimitri staessens2016-12-241-0/+69
Refactors the normal IPCP fmgr and ribmgr, and modifies the API for cdap so that no callbacks are needed.