mactime

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 mactime is a generated VPP binary API for 'mactime' module.

It consists of:

1 type
4 messages
2 services

Index

Constants

View Source
const (
	// ModuleName is the name of this module.
	ModuleName = "mactime"
	// APIVersion is the API version of this module.
	APIVersion = "1.1.1"
	// VersionCrc is the CRC of this module.
	VersionCrc = 0x4e7c8bc8
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type MactimeAddDelRange

type MactimeAddDelRange struct {
	IsAdd      uint8
	Drop       uint8
	Allow      uint8
	AllowQuota uint8
	NoUDP10001 uint8
	DataQuota  uint64
	MacAddress []byte `struc:"[6]byte"`
	DeviceName []byte `struc:"[64]byte"`
	Count      uint32 `struc:"sizeof=Ranges"`
	Ranges     []TimeRange
}

MactimeAddDelRange represents VPP binary API message 'mactime_add_del_range'.

func (*MactimeAddDelRange) GetCrcString

func (*MactimeAddDelRange) GetCrcString() string

func (*MactimeAddDelRange) GetMessageName

func (*MactimeAddDelRange) GetMessageName() string

func (*MactimeAddDelRange) GetMessageType

func (*MactimeAddDelRange) GetMessageType() api.MessageType

func (*MactimeAddDelRange) Reset

func (m *MactimeAddDelRange) Reset()

type MactimeAddDelRangeReply

type MactimeAddDelRangeReply struct {
	Retval int32
}

MactimeAddDelRangeReply represents VPP binary API message 'mactime_add_del_range_reply'.

func (*MactimeAddDelRangeReply) GetCrcString

func (*MactimeAddDelRangeReply) GetCrcString() string

func (*MactimeAddDelRangeReply) GetMessageName

func (*MactimeAddDelRangeReply) GetMessageName() string

func (*MactimeAddDelRangeReply) GetMessageType

func (*MactimeAddDelRangeReply) GetMessageType() api.MessageType

func (*MactimeAddDelRangeReply) Reset

func (m *MactimeAddDelRangeReply) Reset()

type MactimeEnableDisable

type MactimeEnableDisable struct {
	EnableDisable uint8
	SwIfIndex     uint32
}

MactimeEnableDisable represents VPP binary API message 'mactime_enable_disable'.

func (*MactimeEnableDisable) GetCrcString

func (*MactimeEnableDisable) GetCrcString() string

func (*MactimeEnableDisable) GetMessageName

func (*MactimeEnableDisable) GetMessageName() string

func (*MactimeEnableDisable) GetMessageType

func (*MactimeEnableDisable) GetMessageType() api.MessageType

func (*MactimeEnableDisable) Reset

func (m *MactimeEnableDisable) Reset()

type MactimeEnableDisableReply

type MactimeEnableDisableReply struct {
	Retval int32
}

MactimeEnableDisableReply represents VPP binary API message 'mactime_enable_disable_reply'.

func (*MactimeEnableDisableReply) GetCrcString

func (*MactimeEnableDisableReply) GetCrcString() string

func (*MactimeEnableDisableReply) GetMessageName

func (*MactimeEnableDisableReply) GetMessageName() string

func (*MactimeEnableDisableReply) GetMessageType

func (*MactimeEnableDisableReply) GetMessageType() api.MessageType

func (*MactimeEnableDisableReply) Reset

func (m *MactimeEnableDisableReply) Reset()

type RPCService

type RPCService interface {
	MactimeAddDelRange(ctx context.Context, in *MactimeAddDelRange) (*MactimeAddDelRangeReply, error)
	MactimeEnableDisable(ctx context.Context, in *MactimeEnableDisable) (*MactimeEnableDisableReply, error)
}

RPCService represents RPC service API for mactime module.

func NewServiceClient

func NewServiceClient(ch api.Channel) RPCService

type TimeRange

type TimeRange struct {
	Start float64
	End   float64
}

TimeRange represents VPP binary API type 'time_range'.

func (*TimeRange) GetTypeName

func (*TimeRange) GetTypeName() string

Jump to

Keyboard shortcuts

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