diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2022-10-19 11:43:55 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2022-10-19 03:34:53 +0200 |
commit | db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93 (patch) | |
tree | a5014e180ac27764b7c7f4f8e5b52814784c8c46 /test/lib/layout | |
parent | cb1edae3b5cac6df68116ebce8e4194d4153d688 (diff) | |
download | passt-db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93.tar passt-db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93.tar.gz passt-db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93.tar.bz2 passt-db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93.tar.lz passt-db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93.tar.xz passt-db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93.tar.zst passt-db07804d26fbd0d350d4d1c90dd9a43c5e4d9f93.zip |
ndp: Use tap_icmp6_send() helper
We send ICMPv6 packets to the guest from both icmp.c and from ndp.c. The
case in ndp() manually constructs L2 and IPv6 headers, unlike the version
in icmp.c which uses the tap_icmp6_send() helper from tap.c Now that we've
broaded the parameters of tap_icmp6_send() we can use it in ndp() as well
saving some duplicated logic.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/lib/layout')
0 files changed, 0 insertions, 0 deletions