asyncnetlayer.ned

来自「基于omnet++开发的Mf框架下的802.11协议仿真。」· NED 代码 · 共 25 行

NED
25
字号

//
// A simple shorest routing protocol
//

simple AsyncNetLayer
    parameters:
		debug : bool, // debug switch
		headerLength : numeric const, // length of the network header
		minLine:numeric const,
		clusterHead : numeric const,
		gridLength : numeric const,
		gridWidth : numeric const,
		nodenum : numeric const,
		numCluster : numeric const,
		round:numeric const;

	
    gates:
		in: uppergateIn; // from application layer
		out: uppergateOut; // to application layer
		in: lowergateIn; // from MAC layer
		out: lowergateOut; // to MAC layer
endsimple

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?