Lines Matching defs:rtm
2258 int ip6mr_get_route(struct net *net, struct sk_buff *skb, struct rtmsg *rtm,
2323 err = mr_fill_mroute(mrt, skb, &cache->_c, rtm);
2333 struct rtmsg *rtm;
2336 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags);
2340 rtm = nlmsg_data(nlh);
2341 rtm->rtm_family = RTNL_FAMILY_IP6MR;
2342 rtm->rtm_dst_len = 128;
2343 rtm->rtm_src_len = 128;
2344 rtm->rtm_tos = 0;
2345 rtm->rtm_table = mrt->id;
2348 rtm->rtm_type = RTN_MULTICAST;
2349 rtm->rtm_scope = RT_SCOPE_UNIVERSE;
2351 rtm->rtm_protocol = RTPROT_STATIC;
2353 rtm->rtm_protocol = RTPROT_MROUTED;
2354 rtm->rtm_flags = 0;
2359 err = mr_fill_mroute(mrt, skb, &c->_c, rtm);