Loading ttcn3/EtsiLibrary/LibIpv6/LibCore/LibIpv6_Rfc2463Icmpv6_Templates.ttcn +30 −1 Original line number Diff line number Diff line Loading @@ -308,7 +308,7 @@ * @param p_seqNr ICMPv6 echo sequence number. * @param p_data data in ICMPv6 echo reply. */ template EchoReply m_echoReply_noExtHdr_Data ( template Ipv6Address p_src, template EchoReply m_echoReply_noExtHdr_data ( template Ipv6Address p_src, template Ipv6Address p_dst, UInt16 p_id, UInt16 p_seqNr, Loading Loading @@ -346,6 +346,35 @@ data:= p_data } /* * @param p_src Binary IPv6 address associated with the * test component. * @param p_dst Binary IPv6 address associated with NUT. * @param p_nextHeader Next header identifier value to be used. * @param p_extHdrList List of extension header in the packet. * @param p_id ICMPv6 echo identifier. * @param p_seqNr ICMPv6 echo sequence number. * @param p_data data in ICMPv6 echo reply. */ template EchoReply mw_echoReply_extHdr_data ( template Ipv6Address p_src, template Ipv6Address p_dst, UInt8 p_nextHeader, template ExtensionHeaderList p_extHdrList, UInt16 p_id, UInt16 p_seqNr, template octetstring p_data ) := { ipv6Hdr := mw_ipHdr_srcDst(p_nextHeader, p_src, p_dst), extHdrList := p_extHdrList, icmpType:= c_echoReply, icmpCode:= c_icmpCode0, checksum:= ?, identifier:= p_id, sequenceNumber:= p_seqNr, data:= p_data } /* * @param p_src Binary IPv6 address associated with the * test component. Loading ttcn3/EtsiLibrary/LibIpv6/LibMultiRfcs/LibIpv6_MultiRfcs_TypesAndValues.ttcn +6 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,12 @@ module LibIpv6_MultiRfcs_TypesAndValues { const Oct640 c_640ZeroBytes := c_320ZeroBytes & c_320ZeroBytes; const Oct1280 c_1280ZeroBytes := c_640ZeroBytes & c_640ZeroBytes; const Oct1380 c_1380ZeroBytes := c_640ZeroBytes & c_640ZeroBytes & c_80ZeroBytes & c_16ZeroBytes & c_4ZeroBytes; const octetstring c_256ZeroBytes := c_160ZeroBytes & c_80ZeroBytes & c_16ZeroBytes; const octetstring c_1KZeroBytes := c_256ZeroBytes & c_256ZeroBytes & c_256ZeroBytes & c_256ZeroBytes; const octetstring c_4KZeroBytes := c_1KZeroBytes & c_1KZeroBytes & c_1KZeroBytes & c_1KZeroBytes; const octetstring c_16KZeroBytes := c_4KZeroBytes & c_4KZeroBytes & c_4KZeroBytes & c_4KZeroBytes; const octetstring c_64KZeroBytes := c_16KZeroBytes & c_16KZeroBytes & c_16KZeroBytes & c_16KZeroBytes; const octetstring c_128KZeroBytes := c_64KZeroBytes & c_64KZeroBytes; const UInt16 c_zeroPayloadLength := 0; const UInt8 c_trafficClassZero := 0; Loading Loading
ttcn3/EtsiLibrary/LibIpv6/LibCore/LibIpv6_Rfc2463Icmpv6_Templates.ttcn +30 −1 Original line number Diff line number Diff line Loading @@ -308,7 +308,7 @@ * @param p_seqNr ICMPv6 echo sequence number. * @param p_data data in ICMPv6 echo reply. */ template EchoReply m_echoReply_noExtHdr_Data ( template Ipv6Address p_src, template EchoReply m_echoReply_noExtHdr_data ( template Ipv6Address p_src, template Ipv6Address p_dst, UInt16 p_id, UInt16 p_seqNr, Loading Loading @@ -346,6 +346,35 @@ data:= p_data } /* * @param p_src Binary IPv6 address associated with the * test component. * @param p_dst Binary IPv6 address associated with NUT. * @param p_nextHeader Next header identifier value to be used. * @param p_extHdrList List of extension header in the packet. * @param p_id ICMPv6 echo identifier. * @param p_seqNr ICMPv6 echo sequence number. * @param p_data data in ICMPv6 echo reply. */ template EchoReply mw_echoReply_extHdr_data ( template Ipv6Address p_src, template Ipv6Address p_dst, UInt8 p_nextHeader, template ExtensionHeaderList p_extHdrList, UInt16 p_id, UInt16 p_seqNr, template octetstring p_data ) := { ipv6Hdr := mw_ipHdr_srcDst(p_nextHeader, p_src, p_dst), extHdrList := p_extHdrList, icmpType:= c_echoReply, icmpCode:= c_icmpCode0, checksum:= ?, identifier:= p_id, sequenceNumber:= p_seqNr, data:= p_data } /* * @param p_src Binary IPv6 address associated with the * test component. Loading
ttcn3/EtsiLibrary/LibIpv6/LibMultiRfcs/LibIpv6_MultiRfcs_TypesAndValues.ttcn +6 −0 Original line number Diff line number Diff line Loading @@ -89,6 +89,12 @@ module LibIpv6_MultiRfcs_TypesAndValues { const Oct640 c_640ZeroBytes := c_320ZeroBytes & c_320ZeroBytes; const Oct1280 c_1280ZeroBytes := c_640ZeroBytes & c_640ZeroBytes; const Oct1380 c_1380ZeroBytes := c_640ZeroBytes & c_640ZeroBytes & c_80ZeroBytes & c_16ZeroBytes & c_4ZeroBytes; const octetstring c_256ZeroBytes := c_160ZeroBytes & c_80ZeroBytes & c_16ZeroBytes; const octetstring c_1KZeroBytes := c_256ZeroBytes & c_256ZeroBytes & c_256ZeroBytes & c_256ZeroBytes; const octetstring c_4KZeroBytes := c_1KZeroBytes & c_1KZeroBytes & c_1KZeroBytes & c_1KZeroBytes; const octetstring c_16KZeroBytes := c_4KZeroBytes & c_4KZeroBytes & c_4KZeroBytes & c_4KZeroBytes; const octetstring c_64KZeroBytes := c_16KZeroBytes & c_16KZeroBytes & c_16KZeroBytes & c_16KZeroBytes; const octetstring c_128KZeroBytes := c_64KZeroBytes & c_64KZeroBytes; const UInt16 c_zeroPayloadLength := 0; const UInt8 c_trafficClassZero := 0; Loading