aboutgitcodebugslistschat
path: root/passt.1
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-03-06 16:34:27 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-03-13 14:37:21 +0100
commitae69838db0091441ce1dd52314ffb20b5472659f (patch)
tree782585f19e1fd8b7cd90e64c8fb43b95ee6c99d7 /passt.1
parentb0419d150ac9d10b53ebbed518f67f2c10d22ad0 (diff)
downloadpasst-ae69838db0091441ce1dd52314ffb20b5472659f.tar
passt-ae69838db0091441ce1dd52314ffb20b5472659f.tar.gz
passt-ae69838db0091441ce1dd52314ffb20b5472659f.tar.bz2
passt-ae69838db0091441ce1dd52314ffb20b5472659f.tar.lz
passt-ae69838db0091441ce1dd52314ffb20b5472659f.tar.xz
passt-ae69838db0091441ce1dd52314ffb20b5472659f.tar.zst
passt-ae69838db0091441ce1dd52314ffb20b5472659f.zip
udp: Avoid unnecessary pointer in udp_update_hdr4()
We carry around the source address as a pointer to a constant struct in_addr. But it's silly to carry around a 4 or 8 byte pointer to a 4 byte IPv4 address. Just copy the IPv4 address around by value. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'passt.1')
0 files changed, 0 insertions, 0 deletions