Lines Matching refs:rtm
1009 struct rtmsg *rtm; in rtnl_route_parse() local
1028 rtm = nlmsg_data(nlh); in rtnl_route_parse()
1029 route->rt_family = family = rtm->rtm_family; in rtnl_route_parse()
1030 route->rt_tos = rtm->rtm_tos; in rtnl_route_parse()
1031 route->rt_table = rtm->rtm_table; in rtnl_route_parse()
1032 route->rt_type = rtm->rtm_type; in rtnl_route_parse()
1033 route->rt_scope = rtm->rtm_scope; in rtnl_route_parse()
1034 route->rt_protocol = rtm->rtm_protocol; in rtnl_route_parse()
1035 route->rt_flags = rtm->rtm_flags; in rtnl_route_parse()
1049 nl_addr_set_family(dst, rtm->rtm_family); in rtnl_route_parse()
1052 nl_addr_set_prefixlen(dst, rtm->rtm_dst_len); in rtnl_route_parse()
1062 } else if (rtm->rtm_src_len) in rtnl_route_parse()
1067 nl_addr_set_prefixlen(src, rtm->rtm_src_len); in rtnl_route_parse()
1141 rtnl_route_nh_set_flags(old_nh, rtm->rtm_flags & 0xff); in rtnl_route_parse()