summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-10-29 17:56:47 +0100
committerPhilippe Guibert <philippe.guibert@6wind.com>2020-07-02 08:17:51 +0200
commitc06cad2bd6213d314ab4d7e4a84aaf8bd6c0b27d (patch)
treec6a674554c18a5ed63cc33aac354cfd67ad53c3f /lib/command.c
parent044307285ba23da01177db02d25e84c35e0bcdac (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