NSC Class Documentation

Core Functionalities

Function Table

Return Type Function Name Parameters Functionality
boolConnectIoTNodechar id[64]IoT Connectivity
boolPerformNodeCountVelocityAnalysisNode Behavior Analysis
boolExtractAnalyzeKDDchar fname[1000], char desttxtfile[1000]Intrusion Detection - Dataset Analysis
boolLoadBCEHRDatasetchar ds[1000]Blockchain EHR Management
boolSetEmulatorDirectorychar fold[1000]Simulation Setup
boolSetOPNETfolderchar folder[700]Simulation Setup
boolLaunchOPNETSimulation Execution
boolSetCurrentWorkDirectorychar dir[700]Environment Configuration
boolLoadNetStructNETSTRUCT& nstNetwork Structure Management
boolExtractNIDSDatasetchar f[1000]Environment Configuration
boolLoadBCDatasetchar ds[1000]Data Loading and Preprocessing
boolClearOPNETnetworkNetwork Structure Management
boolCloseOPNETNetwork Structure Management
boolLoadNetPathsNETPATHS& nptNetwork Structure Management
boolSetNetSimAppchar sim[1000]Environment Configuration
boolCreateTypicalSimEnvint nnode, int ncn, int ncl, int rf, bool nnf, bool cnnfSimulation Environment Creation
boolShowSimNodesSimulation Visualization
boolShowSimNodeConnectionsVisualization and Display
boolCloseNetSimAppSimulation Initialization
boolDetectClonesNode Clone Detection
boolCreateCCSMContainerchar sf[1000], char df[1000], unsigned char sensSimulation Initialization
boolLocomoteNodesint durationGeneric Support Functions
boolExportCastaliaNetDataData Export - WSN
boolLoad_IDM_Datasetchar ds[1000]Data Loading and Preprocessing
boolLoadSFNETStructNETSTRUCT& nstData Loading and Preprocessing
boolDetectWSNDefectNodesWSN_NODE_DATA wsnnodedata[200], unsigned char proIntrusion Detection and Anomaly Analysis
boolSetCastaliaGeoLocationunsigned char locEnvironment Configuration
boolExportCommunicationDatachar fn[1000], short nbit, short ebit, unsigned char proData Export
boolPreprocessKDDDatachar dfn[1000]Generic Support Functions
boolCheckNukeAgentGeneric Support Functions
boolLaunchCloudAgentunsigned char CAC, char efile[1000]Cloud Security and Analysis
boolLoadLegacyAlgorithmchar pchfile[1000], bool AutoComplete = 1, bool AutoCorrect = 1Data Loading and Preprocessing
boolSetNumberofPrimeNumbersint npEnvironment Configuration
boolCheckCGIGeneric Support Functions
boolSetNetLogFilechar f[1000]Environment Configuration
boolExportVirtualMachineTaskAllocationTablechar fn[1000]Data Export
boolExtractMatLabCodechar container[1000], char hash[100]Generic Support Functions
boolLoadRADatasetchar ds[1000]Data Loading and Preprocessing
intGetCurrentRADatasetEnvironment Configuration
boolExtractRAProcessedDataGeneric Support Functions
boolLoadMacroFromMemorychar macro[32]Data Loading and Preprocessing
boolExtractCompleteKDDchar dfn[1000]Generic Support Functions
boolLaunchWiresharkClientchar wsc[1000]Simulation Execution
boolCheckWiresharkClientConnectionGeneric Support Functions
boolValidateUPDatachar ds[1000]Intrusion Detection – Dataset Analysis
boolSetMOTEComProtocolunsigned char proEnvironment Configuration
boolSetNumberofMoteNodesint nnEnvironment Configuration
boolDisableMOTEMobilityGeneric Support Functions
boolEnableMOTEMobilityGeneric Support Functions
voidCloseMOTENodesGeneric Support Functions
boolLaunchMOTENodeSimulation Execution
boolLoadDefaultMOTEParametersData Loading and Preprocessing
boolCheckHCDCGeneric Support Functions
boolSetCurrentMOTEWorkingDirectorychar fn[600]Environment Configuration
boolSetMOTEFilechar mfn[700]Environment Configuration
boolGenerateRandomGeneticGridIntrusion Detection – Dataset Analysis
boolGetWiMaxDataWIMAXDATA wdGeneric Support Functions
boolSetNumberofGridNodeResourcesshort nrEnvironment Configuration
boolSetNumberofGridNodesunsigned long nn, bool dynamic = 1Environment Configuration
boolSetGridPatternExunsigned char subs, unsigned char gpEnvironment Configuration
boolServiceBCCreqGeneric Support Functions
boolSetCurrentBCCDirectorychar dir[600]Environment Configuration
boolRSDCompleteTrainTestGeneric Support Functions
boolSetCurrentRSDWorkingDirectorychar dir[600]Environment Configuration
boolSeparateRSDRecordschar fndos[700], char fnu2r[700], char fnr2l[700], char fnpro[700], char fnnor[700], int ppkv1, int ppkv2, int ppkv3Generic Support Functions
boolExportRSDPreprocessedData2Filechar fn[700], unsigned char fselData Export
boolExtractRSDRecordschar fn[1000], unsigned long nosGeneric Support Functions
boolExtractRSDRecordsExchar fn[700], unsigned long nos, unsigned char fGeneric Support Functions
unsigned longGetNumberofRSDRecordsGeneric Support Functions
boolSetRSDFilechar fn[700]Environment Configuration
unsigned longIDS_GetProcessTimeIntrusion Detection – Dataset Analysis
boolSetIDSWorkingDirectorychar di[600]Environment Configuration
boolIDS_UseTrainDatachar fn[700]Environment Configuration
boolSetIDSFilterunsigned char filterEnvironment Configuration
unsigned longGetNumberofKDDRecordsGeneric Support Functions
boolSetNumberofNodesUINT nosEnvironment Configuration
boolGenerateRandomGridIntrusion Detection – Dataset Analysis
boolSetGridPatternunsigned char gpEnvironment Configuration
boolParaFilterKDDCUPDatasetchar fn[1000], UINT nos, UINT& nrf, unsigned char _PROEnvironment Configuration
voidGetFilterStatisticsFILTERSTATS& fsGeneric Support Functions
boolFilterKDDCUPDatasetchar fn[1000], UINT nos, UINT& nrf, unsigned char _PROEnvironment Configuration
boolGetKDDRecordKDDCUPREC& r, UINT indexGeneric Support Functions
boolExtractKDDRecordschar fn[1000], UINT nosGeneric Support Functions
boolSetKDDCUPDataFilechar fn[1000]Environment Configuration
boolSetHackmanToolchar _hmt[1000]Environment Configuration
voidEnableRandomNetworkTrafficNetwork Structure Management
voidpro47Generic Support Functions
boolLaunchSIPServerSimulation Execution
boolSetSIPServerPathchar pth[600]Environment Configuration
boolStartRandomCallTrafficCaptureGeneric Support Functions
voidpro48CallSetupTimes& cst, PCM& pcm, GSM& gsm, ALAW& alawGeneric Support Functions
voidpro46Generic Support Functions
voidpro45Generic Support Functions
voidpro44Generic Support Functions
voidpro43Generic Support Functions
voidpro42Generic Support Functions
voidpro41Generic Support Functions
boolCreateLinPhoneInstancechar sip[20]Simulation Initialization
boolCalculateRSDMSERSD_STAT& sGeneric Support Functions
boolCalculateRSDSDMSERSD_STAT& sGeneric Support Functions
boolCalculateRSDSDMSEExRSD_STAT& s, unsigned char attackGeneric Support Functions
boolLoadGenericDatasetchar ds[1000]Data Loading and Preprocessing
voidCloseWireSharkGeneric Support Functions
boolGetWireSharkControlGeneric Support Functions
voidCloseLinPhoneGeneric Support Functions
boolLaunchWireSharkSimulation Execution
boolSetWireSharkPathchar pth[600]Environment Configuration
voidControlLinPhoneGeneric Support Functions
boolGetLinPhoneAuthenticationchar sip[20]Generic Support Functions
boolGetRulesCumulativeunsigned __int64 trans, unsigned char pro, unsigned __int64& rulesGeneric Support Functions
boolLaunchLinPhoneSimulation Execution
boolComCrechar sfn[700], char dfn[700], int d1, int d2, int d3Generic Support Functions
boolLoadUserDefinedMOTEProtocolchar algofile[700], char pchfile[700], bool autocorrectData Loading and Preprocessing
boolSetLinPhonePathchar pth[600]Environment Configuration
voidGetProcessMessagechar mes[200]Generic Support Functions
boolRegisterCaptureBlockchain EHR Management
boolCaptureDatains& i, RESULT& oGeneric Support Functions
boolInitializeUINT handleSimulation Initialization
boolLoadDynamicCodechar dc[1000]Data Loading and Preprocessing
boolExtractDynamicCodechar dc[1000], char folder[1000]Generic Support Functions
boolExtractGenericDatasetchar ds[1000], char to[1000], short t1, short t2, short t3, short t4Environment Configuration
boolGetNV_PDRvaluesunsigned long v[10], unsigned char proGeneric Support Functions
boolGetNC_PDRvaluesunsigned long v[6], unsigned char proGeneric Support Functions
boolGetNV_AE2EDvaluesunsigned long v[10], unsigned char proGeneric Support Functions
boolGetNC_AE2EDvaluesunsigned long v[6], unsigned char proGeneric Support Functions
boolGetNV_ThrouputValuesunsigned long v[10], unsigned char proGeneric Support Functions
boolGetNC_ThroughputValuesunsigned long v[6], unsigned char proGeneric Support Functions
boolGetNV_APCvaluesunsigned long v[10], unsigned char proGeneric Support Functions
boolGetNC_APCvaluesunsigned long v[6], unsigned char proGeneric Support Functions
boolGetNC_AKCTvaluesunsigned long v[6], unsigned char proGeneric Support Functions
boolGetNC_AKUTvaluesunsigned long v[6], unsigned char proGeneric Support Functions
boolGetNC_SecurityLevelsunsigned long v[6], unsigned char proGeneric Support Functions
boolMeasureKDDDataChunkMetricksunsigned char pro, DMINCHUNKRES& resPerformance Evaluation and Metrics
boolMeasureNIDSMetricsunsigned char pro, unsigned char dataset, CLASS_NIDSMETS_EXT& resPerformance Evaluation and Metrics
boolMeasureSTD_UWC_Metricsunsigned char pro, STD_UWC_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_CLOUD_SEC_Metricsunsigned char pro, STD_CLOUD_SEC_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_IOT_TM_Metricsunsigned char pro, STD_IOT_TM_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_NS_Metricsunsigned char pro, STD_NS_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_MANET_RP_Metricsunsigned char pro, STD_MANET_RP_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_DeDup_Cloud_Schedule_Metricsunsigned char pro, STD_DEDUP_CLOUD_SCH_METRICS& resPerformance Evaluation and Metrics
boolMeasureIWSEnergyunsigned char pro, IWS_ENERGY& resPerformance Evaluation and Metrics
boolMeasureSTD_CLB_Metricsunsigned char pro, STD_CLB_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_VMS_Metricsunsigned char pro, STD_VMS_METRICS& resPerformance Evaluation and Metrics
boolMeasure_CLASS_NIDSMETS_AVGunsigned char pro, CLASS_NIDSMETS_AVG& resPerformance Evaluation and Metrics
boolMeasureRPL_DDoS_DetectionMetricsunsigned char pro, STD_IWS_IDS_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_CLOUD_STO_Metricsunsigned char pro, STD_CLOUD_STO_METRICS& resPerformance Evaluation and Metrics
boolMeasureEXT_BC_METRICS1unsigned char pro, EXT_BC_METRICS1& resPerformance Evaluation and Metrics
boolMeasureCloudAnomalyDetectionMetricsunsigned char pro, CLASS_NIDSMETS_AVG& resCloud Anomaly Detection
boolMeasureCloudAnomalyDetectionMetricsLiveunsigned char pro, CLASS_NIDSMETS_AVG& resCloud Anomaly Detection
boolMeasureSTD_BCEHR_Metricsunsigned char pro, STD_BCEHR_Metrics& resPerformance Evaluation and Metrics
boolGetNetworkSecurityResultsNETSECRES& nr, unsigned char proNetwork Structure Management
boolAnalyzeOpNetMetricsNETMETRICS& res, unsigned char proData Analysis and Metrics
boolAnalyzeOpNetWifiMetricsWIFINETMETRICS& res, unsigned char proData Analysis and Metrics
boolAnalyzeOpnetWifiMetricsLoadWIFINETMETRICSL& res, unsigned char proData Loading and Preprocessing
boolMeasureHybridNetMetricsHYBNETMETRICS& res, unsigned char proPerformance Evaluation and Metrics
boolAnalyzeCastaliaNetworkHYBWSNMETRICS& res, unsigned char proData Analysis and Metrics
boolAnalyzeCastaliaMANETHYBNETMETRICS& res, unsigned char proData Analysis and Metrics
boolAnalyzeOpNetMetricsExunsigned long& res, unsigned char proData Analysis and Metrics
boolAnalyzeLoadPktDelayLOAD_PACKET_DELAY& r, unsigned char proData Loading and Preprocessing
boolGetRerouteMetricsRRMETRICS& res, unsigned char proPerformance Evaluation and Metrics
boolGetConsumedEnergyLevelfloat energy[10], unsigned char proGeneric Support Functions
boolGetHybridNetworkProtocolMetricsHYBNETPTCLMETRICS& res, unsigned char proPerformance Evaluation and Metrics
boolBAN_GetFPRTYP_BAN_FPR& res, unsigned char proGeneric Support Functions
boolGetBANMetricsBANMETRICS& res, unsigned char proPerformance Evaluation and Metrics
boolMeasureHandoverMetricsHANDOVER_METRICS& res, unsigned char proPerformance Evaluation and Metrics
boolAnalyzeCastaliaCogNetCOGNETMETRICS& res, unsigned char proData Analysis and Metrics
boolAnalyzeWSNNetMetricsWSNNETMETRICS& res, unsigned char proData Analysis and Metrics
boolAnalyzeIoTWSNMetricsIOTWSNMETRICS& res, unsigned char proWSN/IoT Security Metrics
boolAnalyzeIoTWSNMetrics1unsigned char pro, IOTWSNMETRICS1& resWSN/IoT Security Metrics
boolAnalyzeIoTNetworkPerfMetricsunsigned char pro, IOTPERFMETRICS& resData Analysis and Metrics
boolAnalyzeExtCRNMetricsunsigned char pro, EXT_CRN_METRICS& resData Analysis and Metrics
boolAnalyzeIDMunsigned char pro, IDSMETS& resData Analysis and Metrics
boolAnalyzeClassIDM_DSunsigned char pro, CLASS_NIDSMETS_EXT& resIntrusion Detection - Dataset Analysis
boolAnalyzeClassIDM_DS_VSunsigned char pro, CLASS_NIDSMETS_EXT& resIntrusion Detection - Dataset Analysis
boolAnalyzeClassIDM_DS_TTunsigned char pro, CLASS_NIDSMETS_TT& resIntrusion Detection - Dataset Analysis
boolAnalyzeStdCloudMetricsunsigned char pro, STDCLOUDMETRICS& resData Analysis and Metrics
boolAnalyzeIoTCloudMetricsunsigned char pro, IOTCLOUDMETRICS& resData Analysis and Metrics
boolAnalyzeSTDNetSecMetricsunsigned char pro, STDNETSECMETRICS& resData Analysis and Metrics
boolAnalyzeExtCloudMetricsunsigned char pro, EXTCLOUDMETRICS& resData Analysis and Metrics
boolAnalyzeSTDCryptoMetricsunsigned char pro, STDCRYPTOMETRICS& resData Analysis and Metrics
boolGetCloudNetSecurityunsigned char pro, float& resCloud Security and Analysis
boolAnalyzeClinicalCloudBigDataAPunsigned char pro, CCBDAM& resData Analysis and Metrics
boolAnalyzeNNIDSMETSunsigned char pro, NNIDSMETS& resData Analysis and Metrics
boolAnalyzeIoTWSNMetricsExunsigned char sim, IOTWSNMETRICS& res, unsigned char proWSN/IoT Security Metrics
boolAnalyzeCloudResourceUtilizationunsigned char pro, CLOUD_RES_METRICS& resData Analysis and Metrics
boolAnalyzeMCOffloadingProcedureunsigned char pro, MOB_CLOUD_METS& resData Loading and Preprocessing
boolAnalyzeSTDCloudResAllocMetricsunsigned char pro, STD_CLOUD_RES_METRICS& resData Analysis and Metrics
boolAnalyzeEXTCloudResAllocMetricsunsigned char pro, EXT_CLOUD_RES_METRICS& resData Analysis and Metrics
boolAnalyzeSTDCloudScheduleMetricsunsigned char pro, STD_CLOUD_SCHEDULE_METRICS& resData Analysis and Metrics
boolAnalyzeSTDNETCOMMetricsunsigned char env, unsigned char pro, STD_NET_COMPUTE_METRICS& resData Analysis and Metrics
boolAnalyzeSTDNETCOMMetricsExunsigned char env, unsigned char mode, unsigned char pro, STD_NET_COMPUTE_METRICS_EX& resData Analysis and Metrics
boolMeasureResAllocMetricsunsigned char pro, STD_RES_ALLOC_METRICS& resPerformance Evaluation and Metrics
boolAnalyzeRTIDSunsigned char pro, IDS_RT_METS& resData Analysis and Metrics
boolAnalyzeMANETMetricsExunsigned char pro, MANETMETRICSEx& resData Analysis and Metrics
boolAnalyzeCastaliaMANETRPMetricsunsigned char pro, MANETRPMETRICS& resData Analysis and Metrics
boolAnalyzeCastaliaIoT_CS_Metricsunsigned char pro, STD_CODE_SCHEME_METRICS& resData Analysis and Metrics
boolAnalyzeSTDMRPMetricsunsigned char pro, STD_MRP_METRICS& resData Analysis and Metrics
boolAnalyzeClassifiedNIDSMETSunsigned char pro, CLASS_NIDSMETS& resData Analysis and Metrics
boolAnalyzeKDDCUPClassificationMetricsunsigned char pro, CLASS_NIDSMETS_EXT& resData Analysis and Metrics
boolAnalyzeSTDVMMetricsunsigned char pro, STD_VM_METRICS& resData Analysis and Metrics
boolAnalyzeWiresharkNIDClassificationMetricsunsigned char pro, CLASS_NIDSMETS_EXT& resData Analysis and Metrics
boolAnalyzeBCAuthenticationMetricsunsigned char pro, STD_BC_METRICS& resData Analysis and Metrics
boolAnalyzeBCAuthenticationMetricsExunsigned char pro, STD_BC_METRICS_EX& resData Analysis and Metrics
boolAnalyzeIoTCloudNetPerfMetricsunsigned char pro, STD_IOT_CLOUD_NPMETRICS& resData Analysis and Metrics
boolAnalyzeIoTCloudNetPerfMetricsHWunsigned char pro, STD_IOT_CLOUD_NPMETRICS& resData Analysis and Metrics
boolAnalyzeEXTBCAuthenticationMetricsunsigned char pro, EXT_BC_METRICS& resData Analysis and Metrics
boolAnalyzeSTDUPMetricsunsigned char pro, STD_UP_METRICS& resData Analysis and Metrics
boolAnalyzeStdMCOffMetricsunsigned char pro, STD_MOB_CLOUD_METRICS& resData Analysis and Metrics
boolAnalyzeExtMCOffMetricsunsigned char pro, EXT_MOB_CLOUD_METRICS& resData Analysis and Metrics
boolAnalyzeExtMCOffMetrics1unsigned char pro, EXT_MOB_CLOUD_METRICS1& resData Analysis and Metrics
boolAnalyzeCastaliaWSNPERFMetricsunsigned char pro, WSNPERFMETRICS& resData Analysis and Metrics
boolAnalyzeOpnetWSNPERFMetricsunsigned char pro, WSNPERFMETRICS& resData Analysis and Metrics
boolAnalyzeMOTENetworkMOTERES &rData Analysis and Metrics
boolAnalyzeGeneGridGENEGRIDDATA &data, bool AutoConverge=1Data Analysis and Metrics
boolAnalyzeRSDstatsRSD_STATS &r, unsigned char fsel, unsigned char filter, unsigned char attacktype, short traindataData Analysis and Metrics
boolMeasureWiresharkNIDClassificationMetricsunsigned char pro, CLASS_NIDSMETS_EXT& resPerformance Evaluation and Metrics
boolAnalyzeGridNODEDATA &ndData Analysis and Metrics
boolBCEHR_RegisterPatientchar BC_NET_ID[256], BCEHR_PRF& dataBlockchain EHR Management
boolBCEHR_LoadPatientListchar BC_NET_ID[256], int& cnt, char PaLiist[64][100]Data Loading and Preprocessing
boolBCEHR_LoadPatientDetailschar BC_NET_ID[256], char PatientID[64], BCEHR_PRF& dataData Loading and Preprocessing
boolBCEHR_StoreMHRchar BC_NET_ID[256], BCEHR_MHF& hdataBlockchain EHR Management
boolBCEHR_CheckAuthStatuschar BC_NET_ID[256]Generic Support Functions
boolBCEHR_LoadMHRchar BC_NET_ID[256], char PatientID[64], BCEHR_MHF& hdataData Loading and Preprocessing
boolBCEHR_GetHashchar HEXblock[1000], char hash[105]Generic Support Functions
boolMeasureIoTEdgePerformanceSecurityMetricsunsigned char pro, STD_NETWORK_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_IDN_Metricsunsigned char pro, STD_IDN_METRICS& resPerformance Evaluation and Metrics
boolMeasureCloudLogAttackDetectionMetricsunsigned char pro, STD_IDN_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_RD_Metricsunsigned char pro, STD_RD_METRICS& resPerformance Evaluation and Metrics
boolMeasureSTD_PD_Metricsunsigned char pro, STD_IDN_METRICS& resPerformance Evaluation and Metrics
boolCaptureLiveEHRchar file[1000]Generic Support Functions
boolEncryptEHRchar src[1000], char des[1000]EHR Encryption
boolDecryptEHRchar src[1000], char des[1000]EHR Decryption
boolMeasureSTD_TT_AD_Metricsunsigned char pro, STD_TT_AD_METRICS& resPerformance Evaluation and Metrics
boolMeasureRTIDMClassMetricsunsigned char pro, CLASS_NIDSMETS_TT& resIntrusion Detection Metrics