pfcp_util

package
v3.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PacketState

type PacketState uint8
const (
	RECV_REQUEST  PacketState = 0
	SEND_REQUEST  PacketState = 1
	RECV_RESPONSE PacketState = 2
	SEND_RESPONSE PacketState = 3
	FINISH        PacketState = 4
)

type SeqNumTable

type SeqNumTable struct {
	// contains filtered or unexported fields
}

func NewSeqNumTable

func NewSeqNumTable() *SeqNumTable

func (SeqNumTable) RecvCheckAndPutItem

func (snt SeqNumTable) RecvCheckAndPutItem(msg *pfcp.Message) (Success bool)

func (SeqNumTable) RemoveItem

func (snt SeqNumTable) RemoveItem(seqNum uint32, newStateInInt uint8) (Success bool)

func (SeqNumTable) SendCheckAndPutItem

func (snt SeqNumTable) SendCheckAndPutItem(msg *pfcp.Message) (Success bool)

type SeqNumTableItem

type SeqNumTableItem struct {
	PacketState PacketState
	MessageType pfcp.MessageType
}

Jump to

Keyboard shortcuts

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