diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-11-04 14:10:36 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-11-04 12:04:26 +0100 |
commit | f7653a1446c110814d99acf6a3023df340323c50 (patch) | |
tree | 36d6864b5b046c7959ddbd2f5884806fef7b6652 /test | |
parent | 7c7b68dbe02874324e4fcda9c13b9e8d9a8192cf (diff) | |
download | passt-f7653a1446c110814d99acf6a3023df340323c50.tar passt-f7653a1446c110814d99acf6a3023df340323c50.tar.gz passt-f7653a1446c110814d99acf6a3023df340323c50.tar.bz2 passt-f7653a1446c110814d99acf6a3023df340323c50.tar.lz passt-f7653a1446c110814d99acf6a3023df340323c50.tar.xz passt-f7653a1446c110814d99acf6a3023df340323c50.tar.zst passt-f7653a1446c110814d99acf6a3023df340323c50.zip |
Use endian-safer typing in struct tap4_l4_t
We recently converted to using struct in_addr rather than bare in_addr_t
or uint32_t to represent IPv4 addresses in network order. This makes it
harder forget to apply the correct endian conversions.
We omitted the IPv4 addresses stored in struct tap4_l4_t, however. Convert
those as well.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions