struct ta_rt_info_t
Overview
Structure that keeps system independent representation of the route More…
#include <rcf_pch_ta_cfg.h> struct ta_rt_info_t { // fields struct sockaddr_storage dst; struct sockaddr_storage src; uint32_t prefix; struct sockaddr_storage gw; ta_rt_nexthops_t nexthops; char ifname[IF_NAMESIZE]; uint16_t flags; uint32_t metric; uint32_t mtu; uint32_t win; uint32_t irtt; uint32_t hoplimit; uint32_t tos; ta_route_type type; uint32_t table; };
Detailed Documentation
Structure that keeps system independent representation of the route
Fields
struct sockaddr_storage dst
Route destination address
struct sockaddr_storage src
Route source address
uint32_t prefix
Route destination address prefix
struct sockaddr_storage gw
Gateway address - for indirect routes
ta_rt_nexthops_t nexthops
Nexthops of a multipath route.
char ifname[IF_NAMESIZE]
Interface name - for direct routes
uint16_t flags
Route flags
uint32_t metric
Route metric
uint32_t mtu
Route MTU
uint32_t win
Route window size
uint32_t irtt
Route transfer time
uint32_t hoplimit
Route hoplimit
uint32_t tos
Route type of service
ta_route_type type
Route type (e.g. unicast)
uint32_t table
Route table id