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

📄 protocol.texi

📁 大名鼎鼎的路由器源码。程序分ZEBRA、OSPFRIP等3个包。程序框架采用一个路由协议一个进程的方式
💻 TEXI
字号:
@node  Zebra Protocol, Packet Binary Dump Format, SNMP Support, Top@comment  node-name,  next,  previous,  up@appendix Zebra ProtocolZebra Protocol is a protocol which is used between protocol daemon andzebra.  Each protocol daemon sends selected routes to zebra daemon.  Thenzebra manages which route is installed into the forwarding table.Zebra Protocol is a TCP-based protocol.  Below is common header of ZebraProtocol.@example@group0                   1                   2                   30 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|           Length (2)          |   Command (1) |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+@end group@end exampleLength is total packet length including this header length.  So minimumlength is three.  Command is Zebra Protocol command.@exampleZEBRA_INTERFACE_ADD                1ZEBRA_INTERFACE_DELETE             2ZEBRA_INTERFACE_ADDRESS_ADD        3ZEBRA_INTERFACE_ADDRESS_DELETE     4ZEBRA_INTERFACE_UP                 5ZEBRA_INTERFACE_DOWN               6ZEBRA_IPV4_ROUTE_ADD               7ZEBRA_IPV4_ROUTE_DELETE            8ZEBRA_IPV6_ROUTE_ADD               9ZEBRA_IPV6_ROUTE_DELETE           10ZEBRA_REDISTRIBUTE_ADD            11ZEBRA_REDISTRIBUTE_DELETE         12ZEBRA_REDISTRIBUTE_DEFAULT_ADD    13ZEBRA_REDISTRIBUTE_DEFAULT_DELETE 14ZEBRA_IPV4_NEXTHOP_LOOKUP         15ZEBRA_IPV6_NEXTHOP_LOOKUP         16@end example@example@group0                   1                   2                   30 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+|             Type              |             Flags             |+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+@end group@end example

⌨️ 快捷键说明

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