Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 1999 17:11:19 -0800 (PST)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>, Mike Smith <mike@smith.net.au>, current@FreeBSD.ORG
Subject:   Re: sysctl oids (was: Re: kvm question) 
Message-ID:  <199901250111.RAA09508@apollo.backplane.com>
References:   <199901250041.QAA06023@dingo.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
:> > not numbered.  OID_AUTO is bogus because it perpetuates the numbering 
:> > of nodes.
:> 
:> Nonsense.  There are plenty of contexts in which a number makes far
:> more sense than a name -- pretty much anything in any network stack
:> other than Chaosnet, for example.  If any of us ever make good on the
:> threat of SNMP integration, having fixed numerical identifiers will be
:> a requirement.
:
:A number can be a name, but a name not a number.  It's obvious that 
:enumerated objects need numeric identifiers, but not desirable to 
:mandate the existence of numbers to match all names.
:
:Unless you want the IANA to step in of course.

    ... actually, a name *CAN* be a number.  You simply compute a 64 bit
    CRC on the name.  The chance of collision is vanishingly small --
    for reference:

	http://www.backplane.com/diablo/crc64.html

					-Matt
					Matthew Dillon 
					<dillon@backplane.com>

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901250111.RAA09508>