upf

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PfcpAddress      = "0.0.0.0"
	SmfAddress       = "0.0.0.0"
	SmfNodeID        = "0.0.0.0"
	PfcpNodeID       = "0.0.0.0"
	QerMapSize       = 1024
	FarMapSize       = 1024
	FTEIDPool        = 65535
	ConnTrackTimeout = 10 * time.Minute
)

Variables

This section is empty.

Functions

func StringToXDPAttachMode

func StringToXDPAttachMode(Mode string) link.XDPAttachFlags

Types

type UPF added in v0.1.0

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

func Start

func Start(ctx context.Context, n3Address string, n3Interface string, n6Interface string, xdpAttachMode string, masquerade bool) (*UPF, error)

func (*UPF) Close added in v0.1.0

func (u *UPF) Close()

func (*UPF) Reload added in v0.3.0

func (u *UPF) Reload(masquerade bool) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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