external function xf_calcLen_dscServiceFlowTLVs( in template DscServiceFlowTLVs p_msg ) return UInt8 {...};