Struct ctru_sys::SOCU_RoutingTableEntry
source · #[repr(C)]pub struct SOCU_RoutingTableEntry {
pub dest_ip: in_addr,
pub netmask: in_addr,
pub gateway: in_addr,
pub flags: u32_,
pub time: u64_,
}
Expand description
One entry of the routing table retrieved by using SOCU_GetNetworkOpt and NETOPT_ROUTING_TABLE
Fields§
§dest_ip: in_addr
< Destination IP address of the route
netmask: in_addr
< Mask used for this route
gateway: in_addr
< Gateway address to reach the network
flags: u32_
< Linux netstat flags ROUTING_FLAG_G
time: u64_
< number of milliseconds since 1st Jan 1900 00:00.