n3iwf_data_relay

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: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForwardCPTrafficFromN1

func ForwardCPTrafficFromN1(ue *n3iwf_context.N3IWFUe, packet []byte)

func ForwardCPTrafficFromN2

func ForwardCPTrafficFromN2(ue *n3iwf_context.N3IWFUe, nasPDU []byte)

func ForwardUPTrafficFromN1

func ForwardUPTrafficFromN1(ue *n3iwf_context.N3IWFUe, packet []byte)

ForwardUPTrafficFromN1 forward user plane packets from N1 to UPF, with GTP header encapsulated

func ForwardUPTrafficFromN3

func ForwardUPTrafficFromN3(ue *n3iwf_context.N3IWFUe, packet []byte)

ForwardUPTrafficFromN3 forward user plane packets from N3 to UE, with GRE header and new IP header encapsulated

func ListenGTP

func ListenGTP(userPlaneConnection *gtpv1.UPlaneConn) error

ListenGTP binds and listens raw socket on N3IWF N3 interface, catching GTP packets and send it to N3IWF handler

func ListenN1UPTraffic

func ListenN1UPTraffic() error

ListenN1UPTraffic bind and listen raw socket on N3IWF N1 interface with UP_IP_ADDRESS, catching GRE encapsulated packets and send it to N3IWF handler

func SetupGTPTunnelWithUPF

func SetupGTPTunnelWithUPF(upfIPAddr string) (*gtpv1.UPlaneConn, net.Addr, error)

SetupGTPTunnelWithUPF set up GTP connection with UPF return *gtpv1.UPlaneConn, net.Addr and error

func SetupNASTCPServer

func SetupNASTCPServer() error

Types

This section is empty.

Jump to

Keyboard shortcuts

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