/rfc1155.phpphpsnmp - a PHP SNMP library
Copyright (C) 2004 David Eder <david@eder,us>
Based on snmp - a Python SNMP library Copyright (C) 2003 Unicity Pty Ltd <libsnmp@unicity.com.au>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
| Class | Description | 
|---|---|
						 
						rfc1155_Asn1Object
					 | 
					Asn1Objects | 
						 
						rfc1155_Boolean
					 | 
					rfc1155 Boolean | 
						 
						rfc1155_Integer
					 | 
					rfc1155 Integer | 
						 
						rfc1155_OctetString
					 | 
					rfc1155 Octet String | 
						 
						rfc1155_ObjectID
					 | 
					rfc1155 Object Identifier (oid) | 
						 
						rfc1155_Null
					 | 
					rfc1155 Null | 
						 
						rfc1155_Sequence
					 | 
					rfc1155 Sequence | 
						 
						rfc1155_SequenceOf
					 | 
					rfc1155 SequenceOf | 
						 
						rfc1155_IPAddress
					 | 
					rfc1155 IPAddress | 
						 
						rfc1155_NetworkAddress
					 | 
					rfc1155 NetworkAddress | 
						 
						rfc1155_Counter
					 | 
					rfc1155 Counter | 
						 
						rfc1155_Guage
					 | 
					rfc1155 Guage | 
						 
						rfc1155_TimeTicks
					 | 
					rfc1155 TimeTicks | 
						 
						rfc1155_Opaque
					 | 
					rfc1155 Opaque | 
		
			require_once
			(dirname(__FILE__).DIRECTORY_SEPARATOR.'oid_format.php')
			(line 34)
		
	
		
			ASN_TAG_BOOLEAN = 0x01
			(line 97)
		
	
		
			ASN_TAG_CLASS_APPLICATION = 0x40
			(line 90)
		
	
		
			ASN_TAG_CLASS_CONTEXT = 0x80
			(line 91)
		
	
		
			ASN_TAG_CLASS_PRIVATE = 0xC0
			(line 92)
		
	
		
			ASN_TAG_CLASS_UNIVERSAL = 0x00
			(line 89)
		
	
		
			ASN_TAG_COUNTER = 0x01
			(line 105)
		
	
		
			ASN_TAG_FORMAT_CONSTRUCTED = 0x20
			(line 95)
		
	
		
			ASN_TAG_FORMAT_PRIMITIVE = 0x00
			(line 94)
		
	
		
			ASN_TAG_GUAGE = 0x02
			(line 106)
		
	
		
			ASN_TAG_INTEGER = 0x02
			(line 98)
		
	
		
			ASN_TAG_IPADDRESS = 0x00
			(line 104)
		
	
		
			ASN_TAG_NULL = 0x05
			(line 100)
		
	
		
			ASN_TAG_OBJECTID = 0x06
			(line 101)
		
	
		
			ASN_TAG_OCTETSTRING = 0x04
			(line 99)
		
	
		
			ASN_TAG_OPAQUE = 0x04
			(line 108)
		
	
		
			ASN_TAG_SEQUENCE = 0x10
			(line 102)
		
	
		
			ASN_TAG_TIMETICKS = 0x03
			(line 107)
		
	Divide with Remainder
This function uses float operation to do what was done with bit operations on integers previously. This is the result of PHP automatically converting large numbers to floats. PHP has no unsigned longs. One advantage is that it can handle 64 bit integers, although some precision is lost.
Dump a string in Hex and stripped ascii
Documentation generated on Mon, 14 Nov 2005 17:54:53 -0700 by phpDocumentor 1.3.0RC3