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