From acccd780df517b0e5925de4497688b6238bee10c Mon Sep 17 00:00:00 2001 From: Hangbin Liu Date: Mon, 6 Aug 2018 22:02:09 +0800 Subject: ndptool: add -T target support Currently ndptool can send a Neighbour Solicitation, but does not target an IP address, so the NS packet doesn't really make sense. Extend ndptool to target a destination for Neighbour Solicitation. v2: 1) remove function ipv6_addr_is_multicast() 2) inline some help functions. 3) update code style. 4) rename parameter -d/--dest to -T/--target Signed-off-by: Hangbin Liu Signed-off-by: Jiri Pirko --- man/ndptool.8 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'man') diff --git a/man/ndptool.8 b/man/ndptool.8 index ef765dc..dd6ddee 100644 --- a/man/ndptool.8 +++ b/man/ndptool.8 @@ -41,6 +41,10 @@ Neighbor Advertisement. .B "\-i ifname, \-\-ifname ifname" Specified interface name. +.TP +.B "\-T target, \-\-target target" +Specified target address for NS/NA message. + .TP .B "\-U, \-\-unsolicited" Send Unsolicited NA. -- cgit v1.2.1