Documentation ¶
Index ¶
Constants ¶
View Source
const ( IANAifType_XMLNS = "urn:ietf:params:xml:ns:yang:iana-if-type" IANAifType_MODULE = "iana-if-type" )
View Source
const ( IANAifType_other = IANAifType("other") IANAifType_regular1822 = IANAifType("regular1822") IANAifType_hdh1822 = IANAifType("hdh1822") IANAifType_ddnX25 = IANAifType("ddnX25") IANAifType_rfc877x25 = IANAifType("rfc877x25") IANAifType_ethernetCsmacd = IANAifType("ethernetCsmacd") )
Variables ¶
View Source
var IANAifType_Names = map[uint32]IANAifType{ 1: IANAifType_other, 2: IANAifType_regular1822, 3: IANAifType_hdh1822, 4: IANAifType_ddnX25, 5: IANAifType_rfc877x25, 6: IANAifType_ethernetCsmacd, }
View Source
var IANAifType_Values = map[IANAifType]uint32{ IANAifType_other: 1, IANAifType_regular1822: 2, IANAifType_hdh1822: 3, IANAifType_ddnX25: 4, IANAifType_rfc877x25: 5, IANAifType_ethernetCsmacd: 6, }
Functions ¶
This section is empty.
Types ¶
type IANAifType ¶
type IANAifType string
func ParseIANAifType ¶
func ParseIANAifType(s string) (IANAifType, error)
func (IANAifType) MarshalXML ¶
func (i IANAifType) MarshalXML(e *xml.Encoder, start xml.StartElement) error
func (IANAifType) String ¶
func (i IANAifType) String() string
Click to show internal directories.
Click to hide internal directories.