bcast.xif
来自「BCAST Implementation for NS2」· XIF 代码 · 共 68 行
XIF
68 行
/******************************************************************* Copyright (C) 2004 Thomas Kunz, CRC Canada, BCAST for IPv4. DISTRIBUTED WITH NO WARRANTY, EXPRESS OR IMPLIED. See the GNU Library General Public License (file COPYING in directory application) for conditions of use and redistribution.*********************************************************************//* * Interface definition for the BCAST routing protocol. */interface bcast/1.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 buffer size * @param new_buf size of packet buffer */ set_buffer_size ? new_buf:i32 /** * Get buffer size * @param old_buf current packet buffer size */ get_buffer_size -> old_buf:i32 /** * Set RELIABILITY (TRUE or FALSE) * @param reliability set reliablity level for BCAST */ set_reliability ? reliability:bool /** * Get RELIABILITY setting (TRUE or FALSE) * @param reliability get reliability level for BCAST */ get_reliability -> reliability:bool /** * Set interface over which BCAST operates * @param intf set interface over which BCAST operates */ set_interface ? intf:txt /** * Get interface over which BCAST operates * @param intf get interface over wich BCAST operates */ get_interface -> intf:txt /** * Activate the protocol */ activate_bcast}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?