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>
next in thread | previous in thread | raw e-mail | index | archive | help
--103e5e473d9e4d64b6dbbbdc2a6b5ebf Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 21 Jun 2023, at 5:19 PM, Hartmut Brandt wrote: > Hi, >=20 > when I set a static ARP entry I see an RTM_NEWNEIGH message on a netli= nk=20 > socket as expected, but the ndm_state is NUD_INCOMPLETE. Should'nt thi= s be=20 > NUD_NOARP? At least this is what Linux returns. Thanks for the report, I=E2=80=99ll take a look. To me, NUD_REACHABLE | NUD_PERMANENT looks better suited for the particu= lar case, but I=E2=80=99ll dive deeper tomorrow. Anyway NUD_INCOMPLETE i= s certainly wrong. >=20 > Cheers, > Harti >=20 >=20 /Alexander --103e5e473d9e4d64b6dbbbdc2a6b5ebf Content-Type: text/html;charset=utf-8 Content-Transfer-Encoding: quoted-printable <!DOCTYPE html><html><head><title></title><style type=3D"text/css">p.Mso= Normal,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=3D"cite" id=3D"qt" style=3D""><div>Hi,<br></div>= <div><br></div><div>when I set a static ARP entry I see an RTM_NEWNEIGH = message on a netlink <br></div><div>socket as expected, but the ndm= _state is NUD_INCOMPLETE. Should'nt this be <br></div><div>NUD_NOAR= P? At least this is what Linux returns.<br></div></blockquote><div>Thank= s for the report, I=E2=80=99ll take a look.<br></div><div>To me, NUD_REA= CHABLE | NUD_PERMANENT looks better suited for the particular case, but = I=E2=80=99ll dive deeper tomorrow. Anyway NUD_INCOMPLETE is certainly wr= ong.</div><blockquote type=3D"cite" id=3D"qt" style=3D""><div><br></div>= <div>Cheers,<br></div><div>Harti<br></div><div><br></div><div><br></div>= </blockquote><div><br></div><div id=3D"sig132921232"><div class=3D"signa= ture">/Alexander<br></div></div><div><br></div></body></html> --103e5e473d9e4d64b6dbbbdc2a6b5ebf--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bee508f8-d696-465b-a55f-b58accd18ad6>