NetConn_Route
typedef struct NetConn_Route {...} NetConn_Route
Overview
Defines the route configuration.
Since: 11
Related module: NetConnection
Header file: net_connection_type.h
Summary
Member Variables
| Name | Description |
|---|---|
| char iface[NETCONN_MAX_STR_LEN] | Network interface. |
| NetConn_NetAddr destination | Destination address. |
| NetConn_NetAddr gateway | Gateway IP address. |
| int32_t hasGateway | Whether a gateway exists. |
| int32_t isDefaultRoute | Whether the default route is used. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-netconnection-netconn-connectionproperties
openharmony 鸿蒙 errorcode-net-mdns
openharmony 鸿蒙 js-apis-net-ethernet-sys
openharmony 鸿蒙 errorcode-net-http
openharmony 鸿蒙 capi-netstack-http-proxy
openharmony 鸿蒙 js-apis-system-fetch
openharmony 鸿蒙 errorcode-kernel
openharmony 鸿蒙 capi-netstack-netstack-certblob