]> git.proxmox.com Git - mirror_frr.git/commit
lib: make htonll/ntohll compile time and readable
authorStephen Worley <sworley@nvidia.com>
Sat, 10 Dec 2022 00:27:20 +0000 (19:27 -0500)
committerStephen Worley <sworley@nvidia.com>
Mon, 13 Feb 2023 23:12:05 +0000 (18:12 -0500)
commitee720c5dca5e2d013ba24d824c4760219f79af67
tree210c368d1e422e4dbf4bbab111988bf993a4eff2
parentd3909a21148ea49718d00f42c14b0b9bb0e07182
lib: make htonll/ntohll compile time and readable

Make the htonll/ntohll functions compile time determined
since we have MACROS to determine endianess and bonus
points it makes it more readable.

Signed-off-by: Stephen Worley <sworley@nvidia.com>
lib/zebra.h