diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2023-05-01 03:35:21 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2023-05-01 04:01:16 +0200 |
commit | aa3c35498d3c5ae7ec7fd34bf8758652fc2748f1 (patch) | |
tree | 0dbc93b90c195c6fbc91d76da60870c6925115c5 /tools/progdoc | |
parent | 1be0be1b71f0127740a4aa6f35d4a256d6c34fb9 (diff) |
BMP: Use OPEN messages stored in BGP
The BMP protocol needs OPEN messages of established BGP sessions to
construct appropriate Peer Up messages. Instead of saving them internally
we use OPEN messages stored in BGP instances. This allows BMP instances
to be restarted or enabled later.
Because of this change, we can simplify BMP data structures. No need to
keep track of BGP sessions when we are not started. We have to iterate
over all (established) BGP sessions when the BMP session is established.
This is just a scaffolding now, but some kind of iteration would be
necessary anyway.
Also, the commit cleans up handling of msg/msg_length arguments to be
body/body_length consistently in both rx/tx and peer_up/peer_down calls.
Diffstat (limited to 'tools/progdoc')
0 files changed, 0 insertions, 0 deletions