On Mon, May 25, 2015 at 07:04:28PM +0100, Paul Jakma wrote:
> On Fri, 22 May 2015, Timo Teräs wrote:
> 
> > +  ifp->hw_type = stream_getl (s);
> 
> So what will/should this be on other platforms?

To my knowledge, no platforms on our support list except Linux support
multipoint GRE, so at least for this specific instance the question is
rather moot.

(It also seems like the hw_type field is save-and-forget so far, I
couldn't find any other references to it throughout the sources.)

> What information are we trying to capture here, and do we perhaps need to 
> add a Quagga platform abstraction?

NHRP needs to find out whether a device is a multipoint GRE tunnel, a
question we can spare asking on non-Linux...  (and nhrpd opens a netlink
socket too.)

If we come up with something better we can always change it later.


-David

_______________________________________________
Quagga-dev mailing list
[email protected]
https://lists.quagga.net/mailman/listinfo/quagga-dev

Reply via email to