Loading ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs/LibIpv6_ExternalFunctions.ttcn +4 −11 Original line number Diff line number Diff line Loading @@ -54,6 +54,9 @@ in UInt8 p_nextHeader) return Oct2; /* @desc This external function runs the Ipv6Packet through Codec and returns * the octetstring representing the Ipv6Packet */ external function fx_encodeMessage (in template Ipv6Packet p_msg) return octetstring; Loading Loading @@ -97,7 +100,6 @@ external function fx_mac( IntegrityAlgo p_integrityAlgo, in octetstring p_key, in octetstring p_message) return octetstring; /* @desc This external function sets the test adapter with the relevant security parameters * * @param p_sa Security Association Loading @@ -114,7 +116,6 @@ external function fx_setIkeSecurityParameters(in IkeSa p_ikeSa) return FncRetCode; /* @desc This external function calculates the payload length * of an IPv6 authentication header * @param p_authHeader Authentication Header Loading @@ -122,14 +123,6 @@ */ external function fx_authHeaderPayloadLength(in template AuthHeader p_authHeader) return UInt8; /* @desc This external function calculates the checksum for any * UDP packet which contains an IKE message. * @param p_ikemessage IKE message * @return checksum value */ //external function fx_udpikeChecksum( in template IkeMsg p_ikemessage) //return Oct2; /* @desc This external function implements the negotiated * pseudo random function and calcutes pseudo random value * based on the two input strings. Loading Loading @@ -244,7 +237,7 @@ return octetstring; /* @desc This external function calculates the payload length * of the IKE encrypted payload. Before calculating the lenght, the payload is encrypted in the test adapter. * of the IKE encrypted payload. Before calculating the length, the payload is encrypted in the test adapter. * @param p_msg Ipv6 packet * @return payload length in bytes */ Loading ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs/LibIpv6_Interface_Functions.ttcn +0 −12 Original line number Diff line number Diff line Loading @@ -464,18 +464,6 @@ group rfc3775Mipv6_ExtHdrFunctions { var MobileHeader v_mobileHeader := valueof(p_mobileHeader); var Ipv6Address v_homeAddress := c_16ZeroBytes ; //if (ischosen(p_mobileHeader.mobileMessage.homeTestInit)) { //calc homeInitCookie //p_mobileHeader.mobileMessage.homeTestInit.homeInitCookie := f_createInitCookie(); //} //else if (ischosen(p_mobileHeader.mobileMessage.homeTest)) {//CNSimu sends this message //} //else if (ischosen(p_mobileHeader.mobileMessage.careOfTestInit) and (PX_TEST_IPSEC == true)) { //SMU TODO //} //else if (ischosen(p_mobileHeader.mobileMessage.careOfTest) and (PX_TEST_IPSEC == true)) { //SMU TODO //} if (ischosen(p_mobileHeader.mobileMessage.bindingUpdateMsg)) {//Authorization data is only needed for BU sent to CN=IUT var UInt8 v_position := 0; //Concept of including bindingAuthentication Loading Loading
ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs/LibIpv6_ExternalFunctions.ttcn +4 −11 Original line number Diff line number Diff line Loading @@ -54,6 +54,9 @@ in UInt8 p_nextHeader) return Oct2; /* @desc This external function runs the Ipv6Packet through Codec and returns * the octetstring representing the Ipv6Packet */ external function fx_encodeMessage (in template Ipv6Packet p_msg) return octetstring; Loading Loading @@ -97,7 +100,6 @@ external function fx_mac( IntegrityAlgo p_integrityAlgo, in octetstring p_key, in octetstring p_message) return octetstring; /* @desc This external function sets the test adapter with the relevant security parameters * * @param p_sa Security Association Loading @@ -114,7 +116,6 @@ external function fx_setIkeSecurityParameters(in IkeSa p_ikeSa) return FncRetCode; /* @desc This external function calculates the payload length * of an IPv6 authentication header * @param p_authHeader Authentication Header Loading @@ -122,14 +123,6 @@ */ external function fx_authHeaderPayloadLength(in template AuthHeader p_authHeader) return UInt8; /* @desc This external function calculates the checksum for any * UDP packet which contains an IKE message. * @param p_ikemessage IKE message * @return checksum value */ //external function fx_udpikeChecksum( in template IkeMsg p_ikemessage) //return Oct2; /* @desc This external function implements the negotiated * pseudo random function and calcutes pseudo random value * based on the two input strings. Loading Loading @@ -244,7 +237,7 @@ return octetstring; /* @desc This external function calculates the payload length * of the IKE encrypted payload. Before calculating the lenght, the payload is encrypted in the test adapter. * of the IKE encrypted payload. Before calculating the length, the payload is encrypted in the test adapter. * @param p_msg Ipv6 packet * @return payload length in bytes */ Loading
ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs/LibIpv6_Interface_Functions.ttcn +0 −12 Original line number Diff line number Diff line Loading @@ -464,18 +464,6 @@ group rfc3775Mipv6_ExtHdrFunctions { var MobileHeader v_mobileHeader := valueof(p_mobileHeader); var Ipv6Address v_homeAddress := c_16ZeroBytes ; //if (ischosen(p_mobileHeader.mobileMessage.homeTestInit)) { //calc homeInitCookie //p_mobileHeader.mobileMessage.homeTestInit.homeInitCookie := f_createInitCookie(); //} //else if (ischosen(p_mobileHeader.mobileMessage.homeTest)) {//CNSimu sends this message //} //else if (ischosen(p_mobileHeader.mobileMessage.careOfTestInit) and (PX_TEST_IPSEC == true)) { //SMU TODO //} //else if (ischosen(p_mobileHeader.mobileMessage.careOfTest) and (PX_TEST_IPSEC == true)) { //SMU TODO //} if (ischosen(p_mobileHeader.mobileMessage.bindingUpdateMsg)) {//Authorization data is only needed for BU sent to CN=IUT var UInt8 v_position := 0; //Concept of including bindingAuthentication Loading