Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2023 23:14:08 +0100
From:      "Alexander Chernikov" <melifaro@FreeBSD.org>
To:        "Hartmut Brandt" <hartmut.brandt@dlr.de>, current@freebsd.org
Subject:   Re: RTM_NEWNEIGH message for static ARP entry
Message-ID:  <bee508f8-d696-465b-a55f-b58accd18ad6@app.fastmail.com>
In-Reply-To: <58e2f1e-7527-35ce-1b12-a2ff97287b40@dlr.de>
References:  <58e2f1e-7527-35ce-1b12-a2ff97287b40@dlr.de>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]


On Wed, 21 Jun 2023, at 5:19 PM, Hartmut Brandt wrote:
> Hi,
> 
> when I set a static ARP entry I see an RTM_NEWNEIGH message on a netlink 
> socket as expected, but the ndm_state is NUD_INCOMPLETE. Should'nt this be 
> NUD_NOARP? At least this is what Linux returns.
Thanks for the report, I’ll take a look.
To me, NUD_REACHABLE | NUD_PERMANENT looks better suited for the particular case, but I’ll dive deeper tomorrow. Anyway NUD_INCOMPLETE is certainly wrong.
> 
> Cheers,
> Harti
> 
> 

/Alexander

[-- Attachment #2 --]
<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><br></div><div><br></div><div>On Wed, 21 Jun 2023, at 5:19 PM, Hartmut Brandt wrote:<br></div><blockquote type="cite" id="qt" style=""><div>Hi,<br></div><div><br></div><div>when I set a static ARP entry I see an RTM_NEWNEIGH message on a netlink&nbsp;<br></div><div>socket as expected, but the ndm_state is NUD_INCOMPLETE. Should'nt this be&nbsp;<br></div><div>NUD_NOARP? At least this is what Linux returns.<br></div></blockquote><div>Thanks for the report, I’ll take a look.<br></div><div>To me, NUD_REACHABLE | NUD_PERMANENT looks better suited for the particular case, but I’ll dive deeper tomorrow. Anyway NUD_INCOMPLETE is certainly wrong.</div><blockquote type="cite" id="qt" style=""><div><br></div><div>Cheers,<br></div><div>Harti<br></div><div><br></div><div><br></div></blockquote><div><br></div><div id="sig132921232"><div class="signature">/Alexander<br></div></div><div><br></div></body></html>
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bee508f8-d696-465b-a55f-b58accd18ad6>