From owner-freebsd-net Fri Jun 2 11:24:19 2000 Delivered-To: freebsd-net@freebsd.org Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by hub.freebsd.org (Postfix) with ESMTP id 3BB0737BB04 for ; Fri, 2 Jun 2000 11:24:15 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.9.3/8.9.3) id OAA42179; Fri, 2 Jun 2000 14:22:56 -0400 (EDT) (envelope-from wollman) Date: Fri, 2 Jun 2000 14:22:56 -0400 (EDT) From: Garrett Wollman Message-Id: <200006021822.OAA42179@khavrinen.lcs.mit.edu> To: shiva@yagosys.com Cc: freebsd-net@FreeBSD.ORG Subject: [Q] Clarification regarding RTF_PRCLONING and RTF_CLONING. In-Reply-To: <3937F28A.5168FABC@yagosys.com> References: <3937F28A.5168FABC@yagosys.com> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org < said: > 1. What is the difference between RTF_PRCLONING and RTF_CLONING > I see that these 2 attributes are mutually exclusive. One is enabled by the protocol and the other is enabled by the interface or by a routing process. The former was a hack perpetrated by yours truly to make the routing table behave like a per-host cache. I know better now, but I haven't had the time or inclination over the past four years to sit down and fix it. > 2. Do ARP entries, cloned off of interface routes, get deleted > when an interface route is brought down or deleted? I don't recall. I think there was some code to support that, but I don't know whether it was actually effective or not. > 3. How come ARP rtentries do not have rt_parent set to the > interface routes that they are cloned off of? In fact they > are set to NULL. Because they are created from RTF_CLONING routes and not RTF_PRCLONING routes. This may actually be a bug. -GAWollman -- Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the same wollman@lcs.mit.edu | O Siem / The fires of freedom Opinions not those of| Dance in the burning flame MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message