diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-11-14 14:33:04 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-11-14 19:00:28 +0100 |
commit | 4e471670351a76b902e5376da4ee909f68485da2 (patch) | |
tree | b4929673a5e231b250889e5f95fc0e1ce7a1b8bd /tcp_vu.c | |
parent | 71f228d04b5c68b1cf42d95e4e5bbb82af0a0e60 (diff) | |
download | passt-4e471670351a76b902e5376da4ee909f68485da2.tar passt-4e471670351a76b902e5376da4ee909f68485da2.tar.gz passt-4e471670351a76b902e5376da4ee909f68485da2.tar.bz2 passt-4e471670351a76b902e5376da4ee909f68485da2.tar.lz passt-4e471670351a76b902e5376da4ee909f68485da2.tar.xz passt-4e471670351a76b902e5376da4ee909f68485da2.tar.zst passt-4e471670351a76b902e5376da4ee909f68485da2.zip |
ndp: Add ndp_send() helper
ndp() has a conditional on message type generating the reply message, then
a tiny amount of common code, then another conditional to send the reply
with slightly different parameters. We can make this a bit neater by
making a helper function for sending the reply, and call it from each of
the different message type paths.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_vu.c')
0 files changed, 0 insertions, 0 deletions