📄 olsr.xif
字号:
/* * Department of Systems and Computer Engineering * Carleton University, CANADA * Copyright (c) 2004 Liang Qin, Department of Systems and Computer Engineering, * Carleton University * 1. Porting CRC's OLSR with QoS support to XORP 1.0, this release enable OLSR * adds and deletes route entries to RIB in XORP, instead of to Linux kernel. * * Interface definition for the OLSR routing protocol. * December 2003, Liang Qin. */interface olsr/3.0 { /** * Set HELLO interval (in seconds) * @param new_int new HELLO interval */ set_hello_interval ? new_int:i32 /** * Get HELLO interval * @param old_int current HELLO interval */ get_hello_interval -> old_int:i32 /** * Set TC interval (in seconds) * @param new_int new TC interval */ set_tc_interval ? new_int:i32 /** * Get TC interval (in seconds) * @param old_int current TC interval */ get_tc_interval -> old_int:i32 /** * Set minimum TC interval * @param new_int minimum TC interval */ set_mini_tc_interval ? new_int:i32 /** * Get minimum TC interval * @param old_int current minimum TC interval */ get_mini_tc_interval -> old_int:i32 /** * Set TC jitter * @param new_int TC jitter */ set_tc_jitter ? new_int:i32 /** * Get TC jitter * @param old_int current TC jitter */ get_tc_jitter -> old_int:i32 /** * Set Hello jitter * @param new_int hello jitter */ set_hello_jitter ? new_int:i32 /** * Get Hello jitter * @param old_int current hello jitter */ get_hello_jitter -> old_int:i32 /** * Set node willingness * @param new_int willingness */ set_willingness ? new_int:i32 /** * Get node willingness * @param old_int current node willingness */ get_willingness -> old_int:i32 /** * Set bandwidth update threshold * @param new_int bwidthupdate */ set_bandwidth_update_threshold ? new_int:i32 /** * Get bandwidth update threshold * @param old_int current bwidthupdate */ get_bandwidth_update_threshold -> old_int:i32 /** * Set neighbor timeout mult * @param new_int new neighbor timeout mult */ set_neighbor_timeout_mult ? new_int:i32 /** * Get neighbor timeout mult * @param old_int new neighbor timeout mult */ get_neighbor_timeout_mult-> old_int:i32 /** * Set tos * @param new_int new tos */ set_tos ? new_int:i32 /** * Get tos * @param old_int new tos */ get_tos-> old_int:i32 /** * Set topo timeout mult * @param new_int new topo timeout mult */ set_topo_timeout_mult ? new_int:i32 /** * Get topo timeout mult * @param old_int topo timeout mult */ get_topo_timeout_mult-> old_int:i32 /** * Set debug level * @param new_int new debug level */ set_debug_level ? new_int:i32 /** * Get debug level * @param old_int debug level t */ get_debug_level-> old_int:i32 /** * Set if use hysteresis, actually it is bool * @param new_int new hysteresis */ set_hyst_enabled ? new_int:i32 /** * Get if use hysteresis * @param old_int hysteresis */ get_hyst_enabled -> old_int:i32 /** * Set if use QoS, actually it is bool * @param new_int new QoS */ set_qos_enabled ? new_int:i32 /** * Get if use QoS * @param old_int Qos */ get_qos_enabled -> old_int:i32 /** * Set the number of interfaces * @param new_int new nointerfaces */ set_interface_number ? new_int:i32 /** * Get the number of interfaces * @param old_int nointerfaces */ get_interface_number -> old_int:i32 /** * Set the host's role * @param hostrole host role */ set_host_role ? hostrole:txt /** * Get the host's role * @param hostrole hostrole */ get_host_role -> hostrole:txt /** * Set the wireless interface name * @param ifname interface name */ set_interface_name ? ifname:txt /** * Get the wireless interface name * @param ifname interface name */ get_interface_name -> ifname:txt /** * Set the multicast address * @param multiaddress multicast address */ set_multicast_addr ? multiaddress:txt /** * Get the multicast address * @param multiaddress multicast address */ get_multicast_addr -> multiaddress:txt /** * Activate the protocol */ activate_olsr}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -