Lines Matching refs:rtm
132 struct mfc_cache *c, struct rtmsg *rtm);
1975 struct mfc_cache *c, struct rtmsg *rtm)
2004 rtm->rtm_type = RTN_MULTICAST;
2013 struct sk_buff *skb, struct rtmsg *rtm, int nowait)
2061 if (!nowait && (rtm->rtm_flags&RTM_F_NOTIFY))
2063 err = __ipmr_fill_mroute(mrt, skb, cache, rtm);
2072 struct rtmsg *rtm;
2074 nlh = nlmsg_put(skb, pid, seq, RTM_NEWROUTE, sizeof(*rtm), NLM_F_MULTI);
2078 rtm = nlmsg_data(nlh);
2079 rtm->rtm_family = RTNL_FAMILY_IPMR;
2080 rtm->rtm_dst_len = 32;
2081 rtm->rtm_src_len = 32;
2082 rtm->rtm_tos = 0;
2083 rtm->rtm_table = mrt->id;
2085 rtm->rtm_type = RTN_MULTICAST;
2086 rtm->rtm_scope = RT_SCOPE_UNIVERSE;
2087 rtm->rtm_protocol = RTPROT_UNSPEC;
2088 rtm->rtm_flags = 0;
2093 if (__ipmr_fill_mroute(mrt, skb, c, rtm) < 0)