Lines Matching refs:rtm
116 struct mfc6_cache *c, struct rtmsg *rtm);
2076 struct mfc6_cache *c, struct rtmsg *rtm)
2105 rtm->rtm_type = RTN_MULTICAST;
2114 struct sk_buff *skb, struct rtmsg *rtm, int nowait)
2175 if (!nowait && (rtm->rtm_flags&RTM_F_NOTIFY))
2178 err = __ip6mr_fill_mroute(mrt, skb, cache, rtm);
2187 struct rtmsg *rtm;
2189 nlh = nlmsg_put(skb, pid, seq, RTM_NEWROUTE, sizeof(*rtm), NLM_F_MULTI);
2193 rtm = nlmsg_data(nlh);
2194 rtm->rtm_family = RTNL_FAMILY_IPMR;
2195 rtm->rtm_dst_len = 128;
2196 rtm->rtm_src_len = 128;
2197 rtm->rtm_tos = 0;
2198 rtm->rtm_table = mrt->id;
2200 rtm->rtm_scope = RT_SCOPE_UNIVERSE;
2201 rtm->rtm_protocol = RTPROT_UNSPEC;
2202 rtm->rtm_flags = 0;
2207 if (__ip6mr_fill_mroute(mrt, skb, c, rtm) < 0)