Documentation
¶
Index ¶
- Constants
- Variables
- func Htonl(i uint32) uint32
- func Htons(i uint16) uint16
- func HttpProber(urls string) bool
- func IPtonl(ip net.IP) uint32
- func L4ServiceProber(sType string, sName string) bool
- func LogIt(l LogLevelT, format string, v ...interface{})
- func LogItInit(logFile string, logLevel LogLevelT, toTTY bool)
- func NltoIP(addr uint32) net.IP
- func Ntohl(i uint32) uint32
- func Ntohs(i uint16) uint16
- type Counter
- type LogLevelT
- type TrieData
- type TrieIterIntf
- type TrieRoot
Constants ¶
View Source
const ( TRIE_SUCCESS = 0 TRIE_ERR_GEN = -1 TRIE_ERR_EXISTS = -2 TRIE_ERR_NOENT = -3 TRIE_ERR_NOMEM = -4 TRIE_ERR_UNK = -5 TRIE_ERR_PREFIX = -6 )
View Source
const ( TRIE_JMP_LENGTH = 8 PREFIX_ARR_LEN = (1 << (TRIE_JMP_LENGTH + 1)) - 1 PREFIX_ARR_NBITS = ((PREFIX_ARR_LEN + TRIE_JMP_LENGTH) & ^TRIE_JMP_LENGTH) / TRIE_JMP_LENGTH PTR_ARR_LEN = (1 << TRIE_JMP_LENGTH) PTR_ARR_NBITS = ((PTR_ARR_LEN + TRIE_JMP_LENGTH) & ^TRIE_JMP_LENGTH) / TRIE_JMP_LENGTH )
Variables ¶
Functions ¶
func HttpProber ¶ added in v0.9.0
func L4ServiceProber ¶
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
func NewCounter ¶
func (*Counter) GetCounter ¶
func (*Counter) Get_counter_p ¶ added in v0.9.0
func (*Counter) PutCounter ¶
func (*Counter) Put_counter_p ¶ added in v0.9.0
type TrieIterIntf ¶
type TrieRoot ¶
type TrieRoot struct {
// contains filtered or unexported fields
}
func (*TrieRoot) Trie2String ¶
func (t *TrieRoot) Trie2String(tf TrieIterIntf)
Click to show internal directories.
Click to hide internal directories.