Documentation ¶
Overview ¶
Package protocol reads the /etc/protocol file and builds up a map[uint8]string. uint8 is used as that is what is present in the unified2 records.
Entries of the classification file are of the format:
# comments are ok config classification:shortname,short description,priority
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClassMap ¶
type ClassMap map[uint32]*Classification
Map of classifications into their meanings. The key is taken from the position in the file.
type Classification ¶
Representation of a line in the config file
Click to show internal directories.
Click to hide internal directories.