Lines Matching refs:m_rtm
48 struct rt_msghdr m_rtm;
435 struct rt_msghdr *m_rtm = &msg->m_rtm;
440 m_rtm->rtm_type = RTM_GET;
441 m_rtm->rtm_version = RTM_VERSION;
442 m_rtm->rtm_seq = ++seq;
443 m_rtm->rtm_addrs = RTA_DST | RTA_IFP;
444 m_rtm->rtm_msglen = sizeof (rtmsg_pkt_t);
453 m_rtm->rtm_msglen = cp - (char *)msg;
455 if ((mlen = write(fd, (char *)msg, m_rtm->rtm_msglen)) < 0) {
472 } else if (mlen < (int)m_rtm->rtm_msglen) {
485 (m_rtm->rtm_seq != seq || m_rtm->rtm_pid != ndp_pid));
510 if (ndp_extract_sockaddrs(&msg.m_rtm, &dst, &gate,