Solaris 2.5 x86 DLPI & LLC2

Solaris 2.5 x86 DLPI & LLC2

Post by Michael C. Cambri » Fri, 07 Mar 1997 04:00:00



Hi,

Does DLPI on Solaris 2.5 in general, x86 in particular support
LLC2?  I have a need for connection based connectivity for some
work that I'm doing.  man dlpi(7d) doesn't really say much.

I've found dltest and a few other "sample code" of dlpi use, but
pokeing thru them, it doesn't look like they use LLC2.

If dlpi only supports LLC2, does anyone see any reason why I couldn't
put LLC2 "on top"?  I'd like to avoid doing this and concentrate on
my real problem, but if I have too ....

Will dlpi work with any supported lan adapter, or just the ones that
man dlpi shows?

On a related note, can I use gcc with the dlpi interface?

Thanks in advance,
MikeC

--
Michael C. Cambria                          Voice: 617 643 6250
Systems & Communications Sciences, Inc.       Fax: 617 643 6251

Arlington, Ma. 02174                   CompuServe: 71552,2531

 
 
 

Solaris 2.5 x86 DLPI & LLC2

Post by Steve McKinty - Sun Microsystems Grenob » Sat, 08 Mar 1997 04:00:00



Quote:>Hi,

>Does DLPI on Solaris 2.5 in general, x86 in particular support
>LLC2?  I have a need for connection based connectivity for some
>work that I'm doing.  man dlpi(7d) doesn't really say much.

DLPI isn't an interface, it is just a specification for an API,
a bit like 'sockets' or 'termio'. There is no 'dlpi' device as such
on Solaris, however several of the Solaris interfaces (such as the
LAN drivers) do use offer a DLPI interface, that is an interface which
expects the various DL_xxx primitives.

Solaris does ship with an LLC1 device, /dev/llc1, which has DLPI
as its upper interface.

In addition to that, Sun's Solstice X.25 product ships with an LLC2
device, /dev/llc2, which offers both LLC1 and LLC2 functionality and
has a DLPI interface. Although primarily intended only for use with
the X.25 and OSI products this interface is now publically documented,
as of X.25 version 9.0. The interface to the Solaris '/dev/llc1' is
not documented and is slightly different to that for '/dev/llc2'.

If you need LLC2 functionality on Solaris the easiest way to get it
would be to buy the Solstice X.25 product and use the LLC2 interface
supplied with it. It will operate over any supported LAN adaptor.

Quote:>On a related note, can I use gcc with the dlpi interface?

I haven't tried it but I don't see any reason why not.

Steve

--
Steve McKinty                        |
Sun Microsystems ICNC                |
38240 Meylan, France                 |
email: smckinty (AT) france.sun.com  |

 
 
 

Solaris 2.5 x86 DLPI & LLC2

Post by Michael C. Cambri » Wed, 12 Mar 1997 04:00:00





Hi,

Thanks for replying to me.  I have a few follow-up questions.
I'll tell you exactly why I'm looking for this at the end.

Quote:>>Does DLPI on Solaris 2.5 in general, x86 in particular support
>>LLC2?  I have a need for connection based connectivity for some
>>work that I'm doing.  man dlpi(7d) doesn't really say much.

>DLPI isn't an interface, it is just a specification for an API,
>a bit like 'sockets' or 'termio'. There is no 'dlpi' device as such
>on Solaris, however several of the Solaris interfaces (such as the
>LAN drivers) do use offer a DLPI interface, that is an interface which
>expects the various DL_xxx primitives.

I was aware that dlpi is an API.  I've read the spec.  My understanding
is that DLPI is a way to talk to a LAN adapter independent of which
adapter is being used.  Somewhat analogous to what NDIS does on a PC
(but better, because the 802.2 is below the API.)

Quote:>Solaris does ship with an LLC1 device, /dev/llc1, which has DLPI
>as its upper interface.

>In addition to that, Sun's Solstice X.25 product ships with an LLC2
>device, /dev/llc2, which offers both LLC1 and LLC2 functionality and
>has a DLPI interface. Although primarily intended only for use with
>the X.25 and OSI products this interface is now publically documented,
>as of X.25 version 9.0. The interface to the Solaris '/dev/llc1' is
>not documented and is slightly different to that for '/dev/llc2'.

It looks like this is what I need.  The problem is that once this thing
I'm doing is built, we want to sell it.  We don't want to make everyone
go out and buy X.25 just to get a DLPI api for our use that supports
802.2 LLC2.

Quote:>If you need LLC2 functionality on Solaris the easiest way to get it
>would be to buy the Solstice X.25 product and use the LLC2 interface
>supplied with it. It will operate over any supported LAN adaptor.

We may do this to get started.  Our work is above the DLC.  So I may
be able to justify buying X.25 to get LLC2 so that we can get on with
our effort.

How does one know what LAN adaptor is supported for the LLC1 which
comes with Solaris?  (x86 in my case, until we can show it working we
have no funding for sparc.)

Maybe I'm reading too much into what you said.  Could it be that any
LAN adapter supported by Solaris, by definition, has support for LLC1
via dlpi?

How does one know what LAN adaptor is support with the LLC2 dlpi that
comes with the Solstice X.25 product?

man dlpi mentions that Solaris uses dlpi also for WAN/sync comm as well.
Where can I find info on this.  This would work very well for us as we
must support MANY data links!

Can I use "raw mode" via dlpi LLC1 to build my own LLC2?  I know that
raw mode is not in the USL dlpi spec, but I belive it is in Solaris
2.5's
dlpi.

--
Michael C. Cambria                          Voice: 617 643 6250
Systems & Communications Sciences, Inc.       Fax: 617 643 6251

Arlington, Ma. 02174                   CompuServe: 71552,2531

 
 
 

1. FS: Solaris 2.5 Desktop (CDE) and/or Solaris 2.5 Server Packages for x86 desktops

 Hi All,

  Just wanted to pass on some excellent deals on Solaris 2.5.1 software with
the WABI user interface for x86 machines. The WABI allows you to run many
Windows 3.1 applications on a UNIX box, giving you the best of both worlds.  
Imagine, running MS OFFICE components like, MS Word for Windows, Excel,
Powerpoint, and interfacing with the functionality of UNIX at the same time.

For a limited time, John Cristy, at Executive Tools, Inc.,
is offering:

  Solaris 2.5.1 User Desktop package for $175.00
  Solaris 2.5.1 Application Server package for $395.00

Ref URL http://www.etools.com for full information and additional products.  

They also have a student special (99.00 + shipping)(yes, you read that
right, Solaris 2.5.1 user desktop for $99.00).

Mention my name, Bob Fahey, and he will throw in the Java Workshop for
$85.00. Mention my name anyway, as he wants to know what the response is to
this.
If asked where you heard this, tell them not just the web, but the Newsgroup
you read it on.  Thanks.

The Executive Tools web site URL http://www.etools.com also has some
excellent links to other Solaris and Sun information pages.


 Executive Tools is not associated with this posting, so, if you have any

 replies, good or bad!

--
//signed//

URL http://www.3lefties.com/users/faheyb.html
Famous quote by daughter Elizabeth, "If I was them cows, I'd run away!"

2. PPP & Shell Accnts. how to?

3. FlexLM && PC dongle under Solaris x86 2.5

4. Mouse problems in X-Windows

5. Please Help: AT&T worldnet & Solaris x86 2.5 modem

6. Xconfig for IDEK MF-8617

7. how to install solaris 2.5 x86 to 2.5 gig WD HD

8. Just a very simple question

9. DLPI and raw mode on Solaris 2.5 (fddi vs. eth)

10. Help installing & starting Face in Solaris x86 2.5 ?

11. Apache 1.2x, Solaris 2.5 X86 & FrontPage Ext.

12. Solaris 2.5 X86 & CDE

13. Solaris 2.5 (x86) & Adaptec 2842