Scott Aitchison writes:
> Thanks for your help Garrett.  That did it.  I come from a Linux background, 
> so I'm still learning all these little details.
> 
> Is there an approved way of calculating checksums (UDP/TCP/IP) on Solaris?  
> Or is it up to the module writers to make their own?

There are at least three viable ways of doing this that don't involve
duplicating code:

  - integrate your driver into ON, so that you're shipping in the same
    consolidation as this Consolidation Private interface;

  - negotiate with the owners of the interface (start with
    networking-discuss) to have the stability level raised, perhaps
    making it part of the DDI, so that you can use it without trouble;
    or

  - get an ARC contract on the interface so that the underlying
    interface can't be changed without coordinating with you.

In Solaris (and indeed across Sun), we intentionally separate the
world into "public" and "private" interfaces.  The former are
documented and can change only in certain documented ways.  The latter
are undocumented and may change without warning.

"Private" here doesn't mean "secret."  It merely means "not
documented."

We do this intentionally to avoid the sorts of versioning madness that
afflicts some other software systems.  The underlying idea is simple:
every project must explain what parts they expect others to use (their
"exported interfaces") and what things they're using that are defined
by others (their "imported interfaces"), and the ARC connects these
up.  You're not allowed to use things from other projects in ways that
are contrary to what that other project specified.

-- 
James Carlson, KISS Network                    <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to