RTF_CLONING vs RTF_PRCLONING
Ruslan Ermilov
ru at freebsd.org
Mon Jul 28 23:38:49 PDT 2003
On Mon, Jul 28, 2003 at 05:51:28PM -0400, Garrett Wollman wrote:
> <<On Mon, 28 Jul 2003 23:45:28 +0200, Vincent Jardin <vjardin at wanadoo.fr> said:
>
> > I agree, then... Isn't it already the purpose of RTF_CLONING ?
> > When should RTF_PRCLONIG be set ?
>
> RTF_PRCLONING is set automatically by the protocol to cause host
> routes to be generated on every unique lookup.
>
> RTF_CLONING is set when the route is added (either manually, or
> automatically for interface routes) to indicate that a more specific
> route (possibly a host route) needs to be generated on every unique
> lookup.
>
Yes, RTF_CLONING routes also accept the netmask (RTA_GENMASK).
I don't remember if it also applies to RTF_PRCLONING routes,
but I suspect so.
Cheers,
--
Ruslan Ermilov Sysadmin and DBA,
ru at sunbay.com Sunbay Software Ltd,
ru at FreeBSD.org FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20030729/1c5a0f93/attachment.bin
More information about the freebsd-net
mailing list