summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/dir.c
Commit message (Collapse)AuthorAgeFilesLines
* ipcpd: Move RIB configuration to common headerdimitri staessens2017-02-171-2/+1
| | | | | Moves the definitions of paths in the RIB for the normal IPCP to a header ribconfig.h to avoid repetition.
* ipcpd: Increase threadpool sizeSander Vrijders2017-02-131-1/+1
| | | | | | This increases the threadpool size for the IPCP main loop. Starvation was happening due to a lot of back and forth interactions between the normal IPCPd and the IRMd.
* ipcpd: Prevent access to directory before initdimitri staessens2017-02-111-4/+14
| | | | | | | Doing a directory query before the IPCP is has bootstrapped or is enrolled will result in an assertion failure as the directory is not yet ready. This fixes flow allocation over the LLC shim (which triggers a directory query from the IRMd) with a normal IPCP present.
* ipcpd, lib: Revise normal IPCPdimitri staessens2017-02-061-101/+57
| | | | | | | | | | 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: Remove strdup() from ipcp main loopdimitri staessens2017-02-031-2/+0
|
* ipcpd: Fix memleaks in directorydimitri staessens2017-01-041-0/+9
|
* ipcpd: Refactor of normal IPCPdimitri staessens2017-01-041-44/+5
| | | | | | | | | | | | | | Reorganizes the normal IPCP a bit to make sure internal components do not need to access the state of the IPCP. The IPCP has now a thread calling accept and delegating it to the correct component based on the AE name (this used to be in the fmgr). Internal components are initialized upon enrollment or bootstrap of the IPCP. If a step fails, the IPCP goes back to the INIT state, if all components boot correctly, it goes to the operational state. RIB synchronization is still done by sending a CDAP start/stop and syncing with a ribmgr state, but needs revision later on.
* ipcpd: Rename normal/path to normal/pathnamedimitri staessens2016-12-281-1/+1
|
* 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: Change IPCP_RUNNING to IPCP_OPERATIONALSander Vrijders2016-12-061-3/+3
| | | | Changes a state of the IPCP to a more correct terminology.
* ipcpd: normal: Provide directory for registered namesSander Vrijders2016-12-021-0/+215
This adds a directory to the normal IPCP that maps names on IPCP addresses.