summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/gam.c
Commit message (Collapse)AuthorAgeFilesLines
* lib: Revise CACEPdimitri staessens2017-02-201-39/+29
| | | | | | | | | Revises CACEP policies to stateless library calls. It provides two policies: an anonymous authentication policy that will generate random credentials for the peer, and a simple authentication policy that will return a name for the peer and an address. Changes the normal IPCP to use the updates API calls.
* ipcpd: Increase threadpool sizeSander Vrijders2017-02-131-1/+0
| | | | | | 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: Fix leaking name in cacep_infodimitri staessens2017-02-101-0/+2
|
* ipcpd: Add cleanup handler to gamdimitri staessens2017-02-081-1/+4
|
* lib: Log to the logging systemdimitri staessens2017-02-081-11/+11
| | | | | | | | | | 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-061-6/+26
| | | | | | | | | | 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-121-95/+41
| | | | | This allows the selection of a policy for the graph adjacency manager. Currently we only support constructing a complete graph.
* ipcpd: normal: Use new list APISander Vrijders2017-01-111-3/+3
| | | | | After a previous commit the API of the linked list was changed. This updates the files that were not yet merged upstream.
* ipcpd: normal: Add graph adjacency managerSander Vrijders2017-01-091-0/+339
This commit adds the graph adjacency manager to the normal IPCP, which sets up N-1 flows to other members.