acl_types

package
v0.0.0-...-f91f7f2 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package acl_types is a generated VPP binary API for 'acl_types' module.

It consists of:

2 types

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "acl_types"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x1803336d
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLRule

type ACLRule struct {
	IsPermit               uint8
	IsIPv6                 uint8
	SrcIPAddr              []byte `struc:"[16]byte"`
	SrcIPPrefixLen         uint8
	DstIPAddr              []byte `struc:"[16]byte"`
	DstIPPrefixLen         uint8
	Proto                  uint8
	SrcportOrIcmptypeFirst uint16
	SrcportOrIcmptypeLast  uint16
	DstportOrIcmpcodeFirst uint16
	DstportOrIcmpcodeLast  uint16
	TCPFlagsMask           uint8
	TCPFlagsValue          uint8
}

ACLRule represents VPP binary API type 'acl_rule'.

func (*ACLRule) GetTypeName

func (*ACLRule) GetTypeName() string

type MacipACLRule

type MacipACLRule struct {
	IsPermit       uint8
	IsIPv6         uint8
	SrcMac         []byte `struc:"[6]byte"`
	SrcMacMask     []byte `struc:"[6]byte"`
	SrcIPAddr      []byte `struc:"[16]byte"`
	SrcIPPrefixLen uint8
}

MacipACLRule represents VPP binary API type 'macip_acl_rule'.

func (*MacipACLRule) GetTypeName

func (*MacipACLRule) GetTypeName() string

Jump to

Keyboard shortcuts

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