Documentation ¶
Overview ¶
Package iana contains types for IANA number resources.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enterprise ¶
type Enterprise uint32
Enterprise represents an IANA Private Enterprise Number. A list of assignments can be found at https://www.iana.org/assignments/enterprise-numbers/enterprise-numbers. This type does not make any assumptions about the wire format, however typically an enterprise number is represented as a 3 or 4 byte uint.
const ( // EnterpriseIntel is the enterprise number of Intel Corporation. EnterpriseIntel Enterprise = 343 // EnterpriseDell is the enterprise number of Dell Inc. EnterpriseDell Enterprise = 674 // EnterpriseNvidia is the enterprise number of NVIDIA Corporation. EnterpriseNvidia Enterprise = 5703 // EnterpriseQuanta is the enterprise number of Quanta Computer Inc. EnterpriseQuanta Enterprise = 7244 // EnterpriseSuperMicro is the enterprise number of Super Micro Computer // Inc. EnterpriseSuperMicro Enterprise = 10876 // EnterpriseGigaByte is the enterprise number of Giga-Byte Technology Co., // Ltd. EnterpriseGigaByte Enterprise = 15370 // EnterpriseAten is the enterprise number of ATEN International Co., Ltd. EnterpriseAten Enterprise = 21317 )
func (Enterprise) Organisation ¶
func (e Enterprise) Organisation() string
Organisation returns the official name of the organisation behind a given enterprise number, or "Unknown" if it is not recognised.
func (Enterprise) String ¶
func (e Enterprise) String() string
String returns the enterprise number, along with the organisation behind it if known, e.g. "674(Dell Inc.)".
Click to show internal directories.
Click to hide internal directories.