⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 agent.cc.diffs

📁 it is very important
💻 DIFFS
字号:
*** agent.cc~	Mon Oct 30 14:02:07 2000--- agent.cc	Tue Oct 24 13:35:45 2000****************** 46,53 ****--- 46,56 ----  #include "flags.h"  #include "address.h"  #include "app.h"+ #include "hdr_nv.h"+ #include "nixnode.h"    +   #ifndef min  #define min(a, b) (((a) < (b)) ? (a) : (b))  #endif****************** 472,477 ****--- 475,494 ----  	hf->no_ts_ = 0;  	hf->pri_ = 0;  	hf->cong_action_ = 0;+  	hdr_nv* nv = hdr_nv::access(p);+  	if(0)printf("Off hdr_nv %d, ip_hdr %d myaddr %ld\n",+  	       hdr_nv::offset(), hdr_ip::offset(), here_.addr_);+  	NixNode* pNixNode = NixNode::GetNodeObject(here_.addr_);+  	if(0)printf("Node Object %p\n", pNixNode);+  	if (pNixNode) { +  		// If we get non-null, indicates nixvector routing in use+  		// Delete any left over nv in the packet+  		// Get a nixvector to the target (may create new)+  		NixVec* pNv = pNixNode->GetNixVector(dst_.addr_);+  		pNv->Reset();+  		nv->nv() = pNv; // And set the nixvec in the packet+  		nv->h_used = 0; // And reset used portion to 0+  	}  }    /*

⌨️ 快捷键说明

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