Home
last modified time | relevance | path

Searched refs:rtm (Results 1 – 1 of 1) sorted by relevance

/system/core/libsysutils/src/
DNetlinkEvent.cpp89 #define NL_EVENT_RTM_NAME(rtm) case rtm: return #rtm; in rtMessageName() argument
287 struct rtmsg *rtm = (struct rtmsg *) NLMSG_DATA(nh); in parseRtMessage() local
288 if (!checkRtNetlinkLength(nh, sizeof(*rtm))) in parseRtMessage()
292 (rtm->rtm_protocol != RTPROT_KERNEL && in parseRtMessage()
293 rtm->rtm_protocol != RTPROT_RA) || in parseRtMessage()
295 (rtm->rtm_scope != RT_SCOPE_UNIVERSE) || in parseRtMessage()
296 (rtm->rtm_type != RTN_UNICAST) || in parseRtMessage()
298 (rtm->rtm_src_len != 0) || in parseRtMessage()
300 (rtm->rtm_flags & RTM_F_CLONED)) { in parseRtMessage()
304 int family = rtm->rtm_family; in parseRtMessage()
[all …]