summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/pol
Commit message (Collapse)AuthorAgeFilesLines
* ipcpd: Move RIB configuration to common headerdimitri staessens2017-02-172-0/+2
| | | | | Moves the definitions of paths in the RIB for the normal IPCP to a header ribconfig.h to avoid repetition.
* ipcpd, lib: Report IPCP creation failuredimitri staessens2017-02-091-9/+1
| | | | | | | | The IPCP will now respond with an ipcp_create_r message when it fails, informing the IRMd. Also adds some const qualifiers in the public headers and fixes some formatting in dev.c.
* lib: Log to the logging systemdimitri staessens2017-02-081-7/+7
| | | | | | | | | | This removes the logfile and outputs log messages to the logging system. The creation of the logfiles (as well as the ap_init() call) were moved into ipcp_init() to simplify the IPCP creation and shutdown. Fixes #25 Fixes #27
* ipcpd, lib: Revise normal IPCPdimitri staessens2017-02-063-260/+141
| | | | | | | | | | This PR updates the normal IPCP to use the new RIB. The old ribmgr is removed and replaced by a stub that needs to be implemented. All components (dir, fmgr, frct) were adapted to the new RIB API. A lot of functionality was moved outside of the ribmgr, such as the addr_auth, which is now a component of the IPCP. The address is also stored to the ipcpi struct. The irm tool has an option to set the gam policy of the rib manager.
* ipcpd: normal: Create policies for GAMSander Vrijders2017-01-122-0/+254
| | | | | This allows the selection of a policy for the graph adjacency manager. Currently we only support constructing a complete graph.
* build: Update licenses and copyrightdimitri staessens2017-01-092-2/+2
| | | | | Copyright is set to 2016 - 2017. License text on includes and sources in the library are changed to indicate the LGPLv2.1 license.
* ipcpd: Rename normal/path to normal/pathnamedimitri staessens2016-12-281-1/+1
|
* ipcpd: Check for duplicate RO in flat addr policydimitri staessens2016-12-251-0/+11
|
* ipcpd: Use high resolution seed for flat policydimitri staessens2016-12-241-1/+4
| | | | | This avoids normal ipcps using the flat address policy having a high probability for picking the same address when created from a script.
* ouroboros: Correct license statementsdimitri staessens2016-12-242-6/+4
| | | | | This corrects the license statements on all files. Installed headers are LGPLv2.1, the rest of the code is GPLv2.
* ipcpd: normal: Fix errors on IPCP shutdownSander Vrijders2016-12-061-8/+10
| | | | | This fixes several bad cleanups in the normal IPCP when it is shutting down.
* ipcpd: normal: Provide directory for registered namesSander Vrijders2016-12-021-3/+3
| | | | | This adds a directory to the normal IPCP that maps names on IPCP addresses.
* ipcpd: normal: Fix release buildSander Vrijders2016-12-021-0/+1
| | | | | The release build failed since an assert was optimized out, which resulted in a unused variable error.
* ipcpd: normal: Address review commentsSander Vrijders2016-12-021-13/+21
| | | | This addresses some comments after a code review by Dimitri.
* ipcpd: normal: Add helper functions for pathnamesSander Vrijders2016-11-291-13/+22
| | | | | This adds some helper functions to construct pathnames. Users of the RIB manager may find these handy when constructing RIB objects.
* ipcpd: normal: Change ro_attr initializationSander Vrijders2016-11-291-50/+27
| | | | | | | This changes the way RIB object attributes are set. Previously the struct was called ro_props and it had to be allocated on the heap. Now it follows the model of pthreads closely. This commit also changes the callbacks of the RO subscribers to return void instead of int.
* ipcpd: normal: Complete flat address policySander Vrijders2016-11-292-0/+291
This will add a check in the flat address policy to see if the address is in use or not.