Lines Matching refs:rtm
99 #define NL_EVENT_RTM_NAME(rtm) case rtm: return #rtm; in rtMessageName() argument
356 struct rtmsg *rtm = (struct rtmsg *) NLMSG_DATA(nh); in parseRtMessage() local
357 if (!checkRtNetlinkLength(nh, sizeof(*rtm))) in parseRtMessage()
361 (rtm->rtm_protocol != RTPROT_KERNEL && in parseRtMessage()
362 rtm->rtm_protocol != RTPROT_RA) || in parseRtMessage()
364 (rtm->rtm_scope != RT_SCOPE_UNIVERSE) || in parseRtMessage()
365 (rtm->rtm_type != RTN_UNICAST) || in parseRtMessage()
367 (rtm->rtm_src_len != 0) || in parseRtMessage()
369 (rtm->rtm_flags & RTM_F_CLONED)) { in parseRtMessage()
373 int family = rtm->rtm_family; in parseRtMessage()
374 int prefixLength = rtm->rtm_dst_len; in parseRtMessage()
383 for (rta = RTM_RTA(rtm); RTA_OK(rta, len); rta = RTA_NEXT(rta, len)) { in parseRtMessage()