diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-10-29 17:56:47 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2020-07-02 08:17:51 +0200 |
| commit | c06cad2bd6213d314ab4d7e4a84aaf8bd6c0b27d (patch) | |
| tree | c6a674554c18a5ed63cc33aac354cfd67ad53c3f /lib/command.c | |
| parent | 044307285ba23da01177db02d25e84c35e0bcdac (diff) | |
bgpd: use rtrlib callback for socket creation
this commit change introduces a callback function pointer that rtrlib
calls. this permits to create the socket and initialising the socket
with the right information, in the right vrf. Adding to this, rpki uses
a hook to be triggered when a vrf is enabled/disabled. in this way,
start mechanisms will be triggered only when vrf is available, and stop
mechanism will be done upon vrf disable event.
Adding to this, the cache structure contains a back pointer to the rpki
vrf structure. this is done to retrieve the vrf where the cache points
to.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/command.c')
0 files changed, 0 insertions, 0 deletions
