On Mon, 2008-06-02 at 10:01 -0400, James Carlson wrote: > Sebastien Roy writes: > > On Fri, 2008-05-30 at 17:05 -0400, James Carlson wrote: > > > IS-IS uses ISO datagrams, and thus requires raw network access. > > > Because we're delivering the source upstream to quagga.net, which > > > compiles on many older Sun platforms, we use standard DLPIv2 rather > > > than the newer OpenSolaris libdlpi convenience library. > > > > How does the daemon decide whether to open DLPI devices out of /dev/net > > on some versions of Solaris, but out of /dev on others? > > It speaks traditional Solaris DLPI, which means that it opens nodes in > /dev, and knows nothing of /dev/net. > > What I think you're actually saying is that we (like all DLPI > applications) have got a problem because of Clearview link renaming in > Nevada. If that's what you're trying to say, then I agree, and I > think we ought to add /dev/net/ support.
That's what I was getting around to, yes, in a roundabout way. :-) > As for versions, they just > don't matter. If you can open a node /dev/net/, then it must already > exist, which means that the platform you're running on (whatever it > is) supports /dev/net/. There's no reason I can see to make this > conditional on version. It should be trivial. I agree. It's probably a simple matter of trying /dev/net first, and falling back to /dev if that doesn't work. Thanks, -Seb
