LibItsFntp_Templates.ttcn3 50.8 KB
Newer Older
                template (value) FntpOptions md_CIPNFfntpOptions(
                    in template (value) FNTPhopCount p_hops, 
                    in template (value) RXcip p_rxCIP, 
                    in template (value) TXcip p_txCIP 
                ) modifies md_NHopNFfntpOptions := { 
                    cip := { 
                        rxCIP := p_rxCIP, 
                        txCIP := p_txCIP 
                    } // End of field 'cip'
                } // End of template md_CIPNFfntpOptions
                
                /**
                 * @desc Receive template for a S/N-hops communications with CIP
                 * @param p_hops Number of hops. This parameter shall be set to zero for single hop
                 * @param p_rxCIP Receive (RX) parameter settings
                 * @param p_txCIP Transmit (TX) parameters of a VCI
                 * @see ISO/CD 29281-2 Clause 6.2.2.3.1
                 */
                template FntpOptions mdw_NHopNFfntpOptions_CIP(
                    in template (present) FNTPhopCount p_hops, 
                    in template RXcip p_rxCIP, 
                    in template TXcip p_txCIP 
                ) modifies mw_noFntpOptions := { 
                    hops := p_hops, 
                    cip := { 
                        rxCIP := p_rxCIP, 
                        txCIP := p_txCIP 
                    }  // End of field 'cip'
                } // End of template mdw_NHopNFfntpOptions
                
            } // End of group fntpControlFields
            
        } // End of group utPrimitives
        
    } // End of group fntpPrimitives
    
} // End of module LibItsFntp_Templates