Lines Matching refs:rtm
115 struct rtmsg *rtm = (struct rtmsg *)(hdr + 1);
122 if ((f = linux_to_bsd_domain(rtm->rtm_family)) == AF_UNKNOWN)
124 rtm->rtm_family = f;
126 if (rtm->rtm_table == 254)
127 rtm->rtm_table = 0;
131 nla_head = (struct nlattr *)((char *)rtm + NETLINK_ALIGN(sizeof(struct rtmsg)));
144 rtm->rtm_table = 0;
438 struct rtmsg *rtm;
439 rtm = nlmsg_copy_next_header(hdr, nw, struct rtmsg);
440 rtm->rtm_family = bsd_to_linux_domain(rtm->rtm_family);