diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2023-12-08 01:31:36 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2023-12-27 19:29:45 +0100 |
commit | eae4304000cb72cbb2e422474705ab9b2e38c939 (patch) | |
tree | 949d0b92d9836db13ac99f8a6b5a59ec2789bab0 /util.c | |
parent | 073f530bfe0b21bb7c94cd047af94f0463dfe96d (diff) | |
download | passt-eae4304000cb72cbb2e422474705ab9b2e38c939.tar passt-eae4304000cb72cbb2e422474705ab9b2e38c939.tar.gz passt-eae4304000cb72cbb2e422474705ab9b2e38c939.tar.bz2 passt-eae4304000cb72cbb2e422474705ab9b2e38c939.tar.lz passt-eae4304000cb72cbb2e422474705ab9b2e38c939.tar.xz passt-eae4304000cb72cbb2e422474705ab9b2e38c939.tar.zst passt-eae4304000cb72cbb2e422474705ab9b2e38c939.zip |
util: Use htonl_constant() in more places
We might as well when we're passing a known constant value, giving the
compiler the best chance to optimise things away.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions