routeinfo_t
Structure
The routeinfo_t
structure represents a translated version of the rt_msghdr
associated with the routing socket event.
typedef struct routeinfo { uint8_t route_version; uint8_t route_type; uint16_t route_ifindex; int route_flags; int route_seq; pid_t route_pid; int route_metrics; /* Metric values */ uint32_t route_mtu_metric; uint32_t route_hopcount_metric; uint32_t route_expire_metric; uint32_t route_recvpipe_metric; uint32_t route_sendpipe_metric; uint32_t route_ssthresh_metric; uint32_t route_rtt_metric; uint32_t route_rtt_variance_metric; uint32_t route_packets_sent; /* Addresses etc in message */ int route_addresses; string route_destination_address; string route_gateway_address; string route_netmask_address; string route_source_address; string route_redirect_author_address; rt_msghdr_t *route_addr; } routeinfo_t;