Documentation
¶
Overview ¶
Package protocols provides lookup functionality for IP protocol IDs and their names (which are in some cases OS specific)
Code generated by protocols_generator.go - DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var IPProtocolIDs = map[string]int{}/* 139 elements not displayed */
IPProtocolIDs is the reverse mapping from friendly name to protocol number
View Source
var IPProtocols = map[int]string{}/* 139 elements not displayed */
IPProtocols stores the IP protocol mappings to friendly name
Functions ¶
func GetIPProto ¶
GetIPProto returns the friendly name for a given protocol id
func GetIPProtoID ¶
GetIPProtoID returns the numeric value for a given IP protocol
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.