Documentation ¶
Index ¶
- func ForwardCPTrafficFromN1(ue *n3iwf_context.N3IWFUe, packet []byte)
- func ForwardCPTrafficFromN2(ue *n3iwf_context.N3IWFUe, nasPDU []byte)
- func ForwardUPTrafficFromN1(ue *n3iwf_context.N3IWFUe, packet []byte)
- func ForwardUPTrafficFromN3(ue *n3iwf_context.N3IWFUe, packet []byte)
- func ListenGTP(userPlaneConnection *gtpv1.UPlaneConn) error
- func ListenN1UPTraffic() error
- func SetupGTPTunnelWithUPF(upfIPAddr string) (*gtpv1.UPlaneConn, net.Addr, error)
- func SetupNASTCPServer() error
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 ¶
SetupGTPTunnelWithUPF set up GTP connection with UPF return *gtpv1.UPlaneConn, net.Addr and error
func SetupNASTCPServer ¶
func SetupNASTCPServer() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.