0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 16:48:43 +00:00
bird/proto/bgp
Ondrej Zajicek aa3c35498d 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.
2023-05-01 04:01:16 +02:00
..
attrs.c BMP protocol support 2023-04-16 20:05:15 +02:00
bgp.c BMP: Use OPEN messages stored in BGP 2023-05-01 04:01:16 +02:00
bgp.h BGP: Save sent and received OPEN messages 2023-05-01 04:01:16 +02:00
config.Y Conf: Improve handling of keywords 2023-04-27 18:41:01 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
Makefile Simplified the protocol hookup code in Makefiles 2022-08-18 22:07:30 +02:00
packets.c BMP: Use OPEN messages stored in BGP 2023-05-01 04:01:16 +02:00