Home | History | Annotate | Download | only in src

Lines Matching defs:rtm

85 #define NL_EVENT_RTM_NAME(rtm) case rtm: return #rtm;
319 struct rtmsg *rtm = (struct rtmsg *) NLMSG_DATA(nh);
320 if (!checkRtNetlinkLength(nh, sizeof(*rtm)))
324 (rtm->rtm_protocol != RTPROT_KERNEL &&
325 rtm->rtm_protocol != RTPROT_RA) ||
327 (rtm->rtm_scope != RT_SCOPE_UNIVERSE) ||
328 (rtm->rtm_type != RTN_UNICAST) ||
330 (rtm->rtm_src_len != 0) ||
332 (rtm->rtm_flags & RTM_F_CLONED)) {
336 int family = rtm->rtm_family;
337 int prefixLength = rtm->rtm_dst_len;
346 for (rta = RTM_RTA(rtm); RTA_OK(rta, len); rta = RTA_NEXT(rta, len)) {