Commit 89e7dde9 authored by garciay's avatar garciay
Browse files

Add support of external function to validate IPv6 checksum

parent cb3c93a0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -546,6 +546,7 @@ module LibItsIpv6OverGeoNetworking_Functions {
        function f_computeIPv6CheckSum( 
            in template (value) Ipv6Address p_sourceAddress, 
            in template (value) Ipv6Address p_destinationAddress, 
            
            in template (value) integer p_payloadLength, 
            in template (value) UInt8 p_nextHdr 
        ) return Oct2 {
@@ -566,6 +567,7 @@ module LibItsIpv6OverGeoNetworking_Functions {
         * @param   p_sourceAddress         Source address, 
         * @param   p_destinationAddress    Destination address
         * @param   p_payloadLength         Upper-Layer Packet Length
         * @param   p_payload               Upper-Layer  payload
         * @param   p_nextHdr               Next header value (e.g. 0x3a for ICMPv6)
         * @return  The checksum value
         * <pre>
@@ -597,6 +599,7 @@ module LibItsIpv6OverGeoNetworking_Functions {
            in template (value) Ipv6Address p_sourceAddress, 
            in template (value) Ipv6Address p_destinationAddress, 
            in template (value) integer p_payloadLength, 
            in template (value) octetstring p_payload, 
            in template (value) UInt8 p_nextHdr 
        ) return Oct2;