Documentation ¶
Overview ¶
Package mfib_types contains generated bindings for API file mfib_types.api.
Contents:
2 enums 1 struct
Index ¶
Constants ¶
View Source
const ( APIFile = "mfib_types" APIVersion = "1.0.0" VersionCrc = 0xd2b57aaf )
Variables ¶
View Source
var ( MfibEntryFlags_name = map[uint32]string{ 0: "MFIB_API_ENTRY_FLAG_NONE", 1: "MFIB_API_ENTRY_FLAG_SIGNAL", 2: "MFIB_API_ENTRY_FLAG_DROP", 4: "MFIB_API_ENTRY_FLAG_CONNECTED", 8: "MFIB_API_ENTRY_FLAG_ACCEPT_ALL_ITF", } MfibEntryFlags_value = map[string]uint32{ "MFIB_API_ENTRY_FLAG_NONE": 0, "MFIB_API_ENTRY_FLAG_SIGNAL": 1, "MFIB_API_ENTRY_FLAG_DROP": 2, "MFIB_API_ENTRY_FLAG_CONNECTED": 4, "MFIB_API_ENTRY_FLAG_ACCEPT_ALL_ITF": 8, } )
View Source
var ( MfibItfFlags_name = map[uint32]string{ 0: "MFIB_API_ITF_FLAG_NONE", 1: "MFIB_API_ITF_FLAG_NEGATE_SIGNAL", 2: "MFIB_API_ITF_FLAG_ACCEPT", 4: "MFIB_API_ITF_FLAG_FORWARD", 8: "MFIB_API_ITF_FLAG_SIGNAL_PRESENT", 16: "MFIB_API_ITF_FLAG_DONT_PRESERVE", } MfibItfFlags_value = map[string]uint32{ "MFIB_API_ITF_FLAG_NONE": 0, "MFIB_API_ITF_FLAG_NEGATE_SIGNAL": 1, "MFIB_API_ITF_FLAG_ACCEPT": 2, "MFIB_API_ITF_FLAG_FORWARD": 4, "MFIB_API_ITF_FLAG_SIGNAL_PRESENT": 8, "MFIB_API_ITF_FLAG_DONT_PRESERVE": 16, } )
Functions ¶
This section is empty.
Types ¶
type MfibEntryFlags ¶
type MfibEntryFlags uint32
MfibEntryFlags defines enum 'mfib_entry_flags'.
const ( MFIB_API_ENTRY_FLAG_NONE MfibEntryFlags = 0 MFIB_API_ENTRY_FLAG_SIGNAL MfibEntryFlags = 1 MFIB_API_ENTRY_FLAG_DROP MfibEntryFlags = 2 MFIB_API_ENTRY_FLAG_CONNECTED MfibEntryFlags = 4 MFIB_API_ENTRY_FLAG_ACCEPT_ALL_ITF MfibEntryFlags = 8 )
func (MfibEntryFlags) String ¶
func (x MfibEntryFlags) String() string
type MfibItfFlags ¶
type MfibItfFlags uint32
MfibItfFlags defines enum 'mfib_itf_flags'.
const ( MFIB_API_ITF_FLAG_NONE MfibItfFlags = 0 MFIB_API_ITF_FLAG_NEGATE_SIGNAL MfibItfFlags = 1 MFIB_API_ITF_FLAG_ACCEPT MfibItfFlags = 2 MFIB_API_ITF_FLAG_FORWARD MfibItfFlags = 4 MFIB_API_ITF_FLAG_SIGNAL_PRESENT MfibItfFlags = 8 MFIB_API_ITF_FLAG_DONT_PRESERVE MfibItfFlags = 16 )
func (MfibItfFlags) String ¶
func (x MfibItfFlags) String() string
type MfibPath ¶
type MfibPath struct { ItfFlags MfibItfFlags `binapi:"mfib_itf_flags,name=itf_flags" json:"itf_flags,omitempty"` Path fib_types.FibPath `binapi:"fib_path,name=path" json:"path,omitempty"` }
MfibPath defines type 'mfib_path'.
Click to show internal directories.
Click to hide internal directories.