]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: store number of labels with 8 bits
authorLouis Scalbert <louis.scalbert@6wind.com>
Mon, 26 Feb 2024 17:11:09 +0000 (18:11 +0100)
committerLouis Scalbert <louis.scalbert@6wind.com>
Wed, 5 Jun 2024 11:11:29 +0000 (13:11 +0200)
commita6de9104481814508deee38bdcf308f4693a6bca
treebe0836c357b007871aba39b83ce260d024afab59
parentae54c9e455ec7a4fb5289a6c3a28626227e83e68
bgpd: store number of labels with 8 bits

8 bits are sufficient to store the number of labels because the current
maximum is 2.

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
16 files changed:
bgpd/bgp_attr.c
bgpd/bgp_attr.h
bgpd/bgp_debug.c
bgpd/bgp_debug.h
bgpd/bgp_evpn.c
bgpd/bgp_evpn.h
bgpd/bgp_label.c
bgpd/bgp_label.h
bgpd/bgp_mac.c
bgpd/bgp_mplsvpn.c
bgpd/bgp_route.c
bgpd/bgp_route.h
bgpd/bgp_rpki.c
bgpd/bgp_updgrp_packet.c
bgpd/bgp_zebra.c
bgpd/bgp_zebra.h