📄 constants.h
字号:
/* -*- c++ -*- constants.h nice constants to know about that are used in various places*/#ifndef _constants_h#define _constants_h#include "path.h"/************** exported from lsnode.cc **************/extern Time RR_timeout; // (sec) route request timeoutextern Time arp_timeout; // (sec) arp request timeoutextern Time retry_arp_period; // secs time between arpsextern Time rt_rq_period; // secs length of one backoff periodextern Time rt_rq_max_period; // secs maximum time between rt reqsextern Time rt_rep_holdoff_period;// to determine how long to sit on our rt reply we pick a number// U(O.0,rt_rep_holdoff_period) + (our route length-1)*rt_rep_holdoffextern Time process_time; // average time taken to process a packet #endif // _constants_h
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -