• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# NetConn_Route
2
3
4## 概述
5
6路由配置信息。
7
8**起始版本:** 11
9
10**相关模块:**[NetConnection](_net_connection.md)
11
12**所在头文件:** [net_connection_type.h](net__connection__type_8h.md#net_connection_typeh)
13
14## 汇总
15
16
17### 成员变量
18
19| 名称 | 描述 |
20| -------- | -------- |
21| [iface](#iface) [NETCONN_MAX_STR_LEN] | 网络接口。 |
22| [destination](#destination) | 目标地址。 |
23| [gateway](#gateway) | 网关地址。 |
24| [hasGateway](#hasgateway) | 是否存在网关。 |
25| [isDefaultRoute](#isdefaultroute) | 是否是默认路由。 |
26
27
28## 结构体成员变量说明
29
30
31### destination
32
33```
34NetConn_NetAddr NetConn_Route::destination
35```
36
37**描述**
38
39目标地址。
40
41
42### gateway
43
44```
45NetConn_NetAddr NetConn_Route::gateway
46```
47
48**描述**
49
50网关地址。
51
52
53### hasGateway
54
55```
56int32_t NetConn_Route::hasGateway
57```
58
59**描述**
60
61是否存在网关。
62
63
64### iface
65
66```
67char NetConn_Route::iface[NETCONN_MAX_STR_LEN]
68```
69
70**描述**
71
72网络接口。
73
74
75### isDefaultRoute
76
77```
78int32_t NetConn_Route::isDefaultRoute
79```
80
81**描述**
82
83是否是默认路由。
84