mfib_types

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

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'.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL