Lines Matching refs:rtm
1121 struct rtmsg *rtm; in rtnl_route_parse() local
1138 rtm = nlmsg_data(nlh); in rtnl_route_parse()
1139 route->rt_family = family = rtm->rtm_family; in rtnl_route_parse()
1140 route->rt_tos = rtm->rtm_tos; in rtnl_route_parse()
1141 route->rt_table = rtm->rtm_table; in rtnl_route_parse()
1142 route->rt_type = rtm->rtm_type; in rtnl_route_parse()
1143 route->rt_scope = rtm->rtm_scope; in rtnl_route_parse()
1144 route->rt_protocol = rtm->rtm_protocol; in rtnl_route_parse()
1145 route->rt_flags = rtm->rtm_flags; in rtnl_route_parse()
1165 nl_addr_set_family(dst, rtm->rtm_family); in rtnl_route_parse()
1168 nl_addr_set_prefixlen(dst, rtm->rtm_dst_len); in rtnl_route_parse()
1178 } else if (rtm->rtm_src_len) in rtnl_route_parse()
1183 nl_addr_set_prefixlen(src, rtm->rtm_src_len); in rtnl_route_parse()
1307 rtnl_route_nh_set_flags(old_nh, rtm->rtm_flags & 0xff); in rtnl_route_parse()