Lines Matching refs:rtm
2257 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm, in ip6mr_get_route() argument
2322 err = mr_fill_mroute(mrt, skb, &cache->_c, rtm); in ip6mr_get_route()
2332 struct rtmsg *rtm; in ip6mr_fill_mroute() local
2335 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ip6mr_fill_mroute()
2339 rtm = nlmsg_data(nlh); in ip6mr_fill_mroute()
2340 rtm->rtm_family = RTNL_FAMILY_IP6MR; in ip6mr_fill_mroute()
2341 rtm->rtm_dst_len = 128; in ip6mr_fill_mroute()
2342 rtm->rtm_src_len = 128; in ip6mr_fill_mroute()
2343 rtm->rtm_tos = 0; in ip6mr_fill_mroute()
2344 rtm->rtm_table = mrt->id; in ip6mr_fill_mroute()
2347 rtm->rtm_type = RTN_MULTICAST; in ip6mr_fill_mroute()
2348 rtm->rtm_scope = RT_SCOPE_UNIVERSE; in ip6mr_fill_mroute()
2350 rtm->rtm_protocol = RTPROT_STATIC; in ip6mr_fill_mroute()
2352 rtm->rtm_protocol = RTPROT_MROUTED; in ip6mr_fill_mroute()
2353 rtm->rtm_flags = 0; in ip6mr_fill_mroute()
2358 err = mr_fill_mroute(mrt, skb, &c->_c, rtm); in ip6mr_fill_mroute()