app

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompareIP added in v0.0.10

func CompareIP(filterIp string, pduIp net.IP) (bool, error)

Types

type FARAssociationDB

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

func NewFARAssociationDB

func NewFARAssociationDB() *FARAssociationDB

func (*FARAssociationDB) Add

func (db *FARAssociationDB) Add(seid uint64, farid uint32, uConn *gtpv1.UPlaneConn)

func (*FARAssociationDB) Get

func (db *FARAssociationDB) Get(seid uint64, farid uint32) *gtpv1.UPlaneConn

type FlowDescriptionAVPPFCP added in v0.0.12

type FlowDescriptionAVPPFCP struct {
	Proto string

	Action    string // must always be "permit"
	Direction string // must always be "out" regardless of whether the PDR is for matching uplink or downlink traffic
	IfaceSrc  uint8
	DstPort   string
	SrcPort   string
	// contains filtered or unexported fields
}

Flow Description AVP is originally specificed by 3GPP TS 29.214, section 5.3.8 For PFCP, it is more limited and specified by 3GPP TS 29.212, section 5.4.2

func (FlowDescriptionAVPPFCP) From added in v0.0.12

func (f FlowDescriptionAVPPFCP) From(IfaceSrc uint8) string

func (FlowDescriptionAVPPFCP) To added in v0.0.12

func (f FlowDescriptionAVPPFCP) To(IfaceSrc uint8) string

type PDUAddr added in v0.0.10

type PDUAddr struct {
	Src net.IP
	Dst net.IP
}

type PFCPLogger

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

func NewPFCPLogger

func NewPFCPLogger(server *pfcp_networking.PFCPEntityUP) *PFCPLogger

func (*PFCPLogger) Run

func (l *PFCPLogger) Run(ctx context.Context) error

type Setup

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

func NewSetup

func NewSetup(config *config.UpfConfig) *Setup

func (*Setup) Exit

func (s *Setup) Exit() error

func (*Setup) Init

func (s *Setup) Init(ctx context.Context) error

func (*Setup) Run

func (s *Setup) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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