]> git.ipfire.org Git - thirdparty/bird.git/commit
BMP: Refactor route monitor message serialization
authorOndrej Zajicek <santiago@crfreenet.org>
Sun, 1 Dec 2024 23:00:36 +0000 (00:00 +0100)
committerOndrej Zajicek <santiago@crfreenet.org>
Mon, 2 Dec 2024 02:38:17 +0000 (03:38 +0100)
commita47704a53db4f088e52e43f8b24785e5777ce147
treecf719e81370038ee59c3bf8103172cc579a04e6b
parent73e7d3f5cede2e72eb9e77d61424a8c443672c09
BMP: Refactor route monitor message serialization

Instead of several levels of functions, just have two functions
(one for routes, the other for end-of-rib), this allows to create
messages in a simple linear fashion.

Also reduce three duplicite functions to construct BGP header for
BMP messages to just one.
proto/bgp/packets.c
proto/bmp/bmp.c