summaryrefslogtreecommitdiff
path: root/src/ipcpd/normal/ribconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* ipcpd: Add DHT as directory in normal IPCPdimitri staessens2017-07-181-2/+0
| | | | | | | | | This implements a Distributed Hash Table (DHT) based on the Kademlia protocol, with default parameters set as used in the BitTorrent Mainline DHT. This initial implementation is almost feature complete, except for some things to be done after a testing period: caching and stale peer bumping, and setting the expiration timeout via the IRM tool.
* ipcpd: normal: Make routing a policySander Vrijders2017-05-151-9/+9
| | | | | | This makes the routing component into a policy since different approaches may exist to do this, depending on how high the rank of the DIF is.
* lib, ipcpd, irmd: Register hash instead of namedimitri staessens2017-04-131-2/+0
| | | | | | | | | All information passed over the IRMd/IPCP boundary for using IPC services (flow allocation, registration) is now hashed. This effectively fixes the shared namespace between DIFs and the IRMDs. This PR also fixes some API issues (adding const identifiers), shuffles the include headers a bit and some small bugs.
* ipcpd: normal: Refactor application entities and add neighbors structSander Vrijders2017-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | This refactors the different Application Entities of the normal IPCP. They all listen to and use the connection manager to establish new application connections. This commit also adds a neighbors struct to the normal IPCP. It contains neighbor structs that contain application connection. Notifiers can be registered in case a neighbor changes (added, removed, QoS changed). The flow manager has an instance of this neighbors struct and listens to these events to update its flow set. The routing component also listens to these events so that it can update the FSDB if needed. The flow manager now also creates the PFF instances and the routing instances per QoS cube. The RIB manager also uses this an instance of the neighbors struct and listens to neighbor events as well.
* ipcpd: Move RIB configuration to common headerdimitri staessens2017-02-171-0/+39
Moves the definitions of paths in the RIB for the normal IPCP to a header ribconfig.h to avoid repetition.