harmony 鸿蒙NetConn_Route
NetConn_Route
概述
路由配置信息。
起始版本: 11
相关模块:NetConnection
所在头文件: net_connection_type.h
汇总
成员变量
名称 | 描述 |
---|---|
iface [NETCONN_MAX_STR_LEN] | 网络接口。 |
destination | 目标地址。 |
gateway | 网关地址。 |
hasGateway | 是否存在网关。 |
isDefaultRoute | 是否是默认路由。 |
结构体成员变量说明
destination
NetConn_NetAddr NetConn_Route::destination
描述
目标地址。
gateway
NetConn_NetAddr NetConn_Route::gateway
描述
网关地址。
hasGateway
int32_t NetConn_Route::hasGateway
描述
是否存在网关。
iface
char NetConn_Route::iface[NETCONN_MAX_STR_LEN]
描述
网络接口。
isDefaultRoute
int32_t NetConn_Route::isDefaultRoute
描述
是否是默认路由。
你可能感兴趣的鸿蒙文章
harmony 鸿蒙NetConn_ConnectionProperties
harmony 鸿蒙NetConn_NetCapabilities
harmony 鸿蒙NetConn_NetConnCallback
harmony 鸿蒙NetConn_NetHandleList
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦