aboutgitcodebugslistschat
path: root/tcp_vu.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-11-14 14:33:05 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-11-14 19:00:29 +0100
commitcbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e (patch)
tree01f59f8c68a6b53b15fa94705375abb322112867 /tcp_vu.c
parent4e471670351a76b902e5376da4ee909f68485da2 (diff)
downloadpasst-cbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e.tar
passt-cbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e.tar.gz
passt-cbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e.tar.bz2
passt-cbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e.tar.lz
passt-cbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e.tar.xz
passt-cbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e.tar.zst
passt-cbc83e14df5ebbc656de8ec0e5c26a1a6efadf0e.zip
ndp: Split out helpers for sending specific NDP message types
Currently the large ndp() function responds to all NDP messages we handle, both parsing the message as necessary and sending the response. Split out the code to construct and send specific message types into ndp_na() (to send NA messages) and ndp_ra() (to send RA messages). As well as breaking up an excessively large function, this is a first step to being able to send unsolicited NDP messages. While we're there, remove a slighty ugly goto. 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