Lines Matching refs:rtm
80 #define NL_EVENT_RTM_NAME(rtm) case rtm: return #rtm; in rtMessageName() argument
331 struct rtmsg *rtm = (struct rtmsg *) NLMSG_DATA(nh); in parseRtMessage() local
332 if (!checkRtNetlinkLength(nh, sizeof(*rtm))) in parseRtMessage()
336 (rtm->rtm_protocol != RTPROT_KERNEL && in parseRtMessage()
337 rtm->rtm_protocol != RTPROT_RA) || in parseRtMessage()
339 (rtm->rtm_scope != RT_SCOPE_UNIVERSE) || in parseRtMessage()
340 (rtm->rtm_type != RTN_UNICAST) || in parseRtMessage()
342 (rtm->rtm_src_len != 0) || in parseRtMessage()
344 (rtm->rtm_flags & RTM_F_CLONED)) { in parseRtMessage()
348 int family = rtm->rtm_family; in parseRtMessage()
349 int prefixLength = rtm->rtm_dst_len; in parseRtMessage()
358 for (rta = RTM_RTA(rtm); RTA_OK(rta, len); rta = RTA_NEXT(rta, len)) { in parseRtMessage()