📄 routing_table.h
字号:
/*
* Copyright (c) 2007 Romain Thouvenin <romain.thouvenin@gmail.com>
* Published under the terms of the GNU General Public License (GPLv2).
*/
#ifndef _ROUTING_TABLE_H_
#define _ROUTING_TABLE_H_
#include "routing.h"
/**
* Types associated to a routing table.
*/
typedef struct rt_info {
addr_t address;
addr_t nexthop;
seqnum_t seqnum;
bool has_hopcnt;
uint8_t hopcnt;
} rt_info_t;
typedef enum {
REASON_FULL,
REASON_OLD,
REASON_UNREACHABLE
} reason_t;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -