Lines Matching defs:rtm
2123 struct rt_msghdr *rtm = &m_rtmsg.m_rtm;
2155 rtm->rtm_version = RTM_VERSION;
2156 rtm->rtm_type = RTM_ADD;
2157 rtm->rtm_flags = RTF_GATEWAY | RTF_STATIC | RTF_UP;
2158 rtm->rtm_addrs = RTA_GATEWAY | RTA_DST | RTA_NETMASK;
2168 rtm->rtm_msglen = l = cp - (char *)&m_rtmsg;
2192 struct rt_msghdr *rtm = &m_rtmsg.m_rtm;
2225 rtm->rtm_type = RTM_GET;
2226 rtm->rtm_flags = RTF_HOST|RTF_UP;
2227 rtm->rtm_version = RTM_VERSION;
2228 rtm->rtm_seq = ++seq;
2229 rtm->rtm_addrs = RTA_DST|RTA_IFP;
2239 rtm->rtm_msglen = l = cp - (char *)&m_rtmsg;
2252 } while (ssz > 0 && (rtm->rtm_seq != seq || rtm->rtm_pid != pid));
2263 if ((rtm->rtm_addrs & i) != 0) {