Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!usc!ucsd!ucbvax!hplabs!hp-ses!hpcuhb!hpindda!lmg From: lmg@hpindda.HP.COM (Lisa Gullicksen) Newsgroups: comp.protocols.tcp-ip Subject: Re: SNMP Message-ID: <6200030@hpindda.HP.COM> Date: 7 Dec 89 01:58:27 GMT References: <237@sparta.UUCP> Organization: HP Information Networks, Cupertino, CA Lines: 17 > from / chris@sparta.UUCP (Chris Chiotasso) / 10:59 am Dec 4, 1989 / > > >I read the code and found that the object id's are encoded with the >first 2 subids in a single subid field using (x*40)+y x=1st subid >and y=2nd subid. > >I have also read the RFC's and have not found any reference to this. >Am I missing something? Why are the first 2 ids combined? The encoding of the first 2 subids in a single subid field as (x*40)+y is described in ISO 8825 "Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1)" in section 20.4. Section 20 covers "Encoding of an object identifier value." Lisa Gullicksen e-mail: lmg@hpindda.hp.com