Documentation ¶
Index ¶
- Constants
- func BuildEAP5GANParameters() []byte
- func DecryptProcedure(ikeSecurityAssociation *context.IKESecurityAssociation, ...) (message.IKEPayloadContainer, error)
- func EncryptProcedure(ikeSecurityAssociation *context.IKESecurityAssociation, ...) error
- func GenerateKeyForChildSA(ikeSecurityAssociation *context.IKESecurityAssociation, ...) error
- func GenerateKeyForIKESA(ikeSecurityAssociation *context.IKESecurityAssociation) error
- func GenerateSPI(n3ue *context.N3IWFIkeUe) []byte
- func HandleCREATECHILDSA(udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, ...)
- func HandleIKEAUTH(udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, ...)
- func HandleIKESAINIT(udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, ...)
- func HandleInformational(udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, ...)
- func ParseIPAddressInformationToChildSecurityAssociation(childSecurityAssociation *context.ChildSecurityAssociation, ...) error
- func SendIKEAUTH()
- func SendIKEMessageToN3IWF(udpConn *net.UDPConn, srcAddr, dstAddr *net.UDPAddr, ...)
- func SendIKESAINIT()
- func SendN3IWFInformationExchange(n3ue *context.N3UE, payload ike_message.IKEPayloadContainer, ike_flag uint8)
Constants ¶
View Source
const ( IKEAUTH_Request = iota EAP_RegistrationRequest EAP_Authentication EAP_NASSecurityComplete IKEAUTH_Authentication )
IKE_AUTH state
Variables ¶
This section is empty.
Functions ¶
func BuildEAP5GANParameters ¶
func BuildEAP5GANParameters() []byte
func DecryptProcedure ¶
func DecryptProcedure( ikeSecurityAssociation *context.IKESecurityAssociation, ikeMessage *message.IKEMessage, encryptedPayload *message.Encrypted, ) (message.IKEPayloadContainer, error)
func EncryptProcedure ¶
func EncryptProcedure( ikeSecurityAssociation *context.IKESecurityAssociation, ikePayload message.IKEPayloadContainer, responseIKEMessage *message.IKEMessage, ) error
func GenerateKeyForChildSA ¶
func GenerateKeyForChildSA( ikeSecurityAssociation *context.IKESecurityAssociation, childSecurityAssociation *context.ChildSecurityAssociation, ) error
func GenerateKeyForIKESA ¶
func GenerateKeyForIKESA( ikeSecurityAssociation *context.IKESecurityAssociation, ) error
func GenerateSPI ¶
func GenerateSPI(n3ue *context.N3IWFIkeUe) []byte
func HandleCREATECHILDSA ¶
func HandleCREATECHILDSA( udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, message *ike_message.IKEMessage, )
func HandleIKEAUTH ¶
func HandleIKEAUTH( udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, message *ike_message.IKEMessage, )
func HandleIKESAINIT ¶
func HandleIKESAINIT( udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, message *ike_message.IKEMessage, )
func HandleInformational ¶
func HandleInformational( udpConn *net.UDPConn, n3iwfAddr, ueAddr *net.UDPAddr, message *ike_message.IKEMessage, )
func ParseIPAddressInformationToChildSecurityAssociation ¶
func ParseIPAddressInformationToChildSecurityAssociation( childSecurityAssociation *context.ChildSecurityAssociation, trafficSelectorLocal *message.IndividualTrafficSelector, trafficSelectorRemote *message.IndividualTrafficSelector, ) error
func SendIKEAUTH ¶
func SendIKEAUTH()
func SendIKEMessageToN3IWF ¶
func SendIKEMessageToN3IWF(udpConn *net.UDPConn, srcAddr, dstAddr *net.UDPAddr, message *ike_message.IKEMessage)
func SendIKESAINIT ¶
func SendIKESAINIT()
func SendN3IWFInformationExchange ¶
func SendN3IWFInformationExchange( n3ue *context.N3UE, payload ike_message.IKEPayloadContainer, ike_flag uint8, )
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.