Home | History | Annotate | Download | only in dhcpcd

Lines Matching defs:rtm

233 	struct rtmsg *rtm;
241 if ((size_t)len < sizeof(*rtm)) {
245 rtm = NLMSG_DATA(nlm);
246 if (rtm->rtm_type != RTN_UNICAST ||
247 rtm->rtm_table != RT_TABLE_MAIN ||
248 rtm->rtm_family != AF_INET ||
251 rta = (struct rtattr *) ((char *)rtm + NLMSG_ALIGN(sizeof(*rtm)));
252 len = NLMSG_PAYLOAD(nlm, sizeof(*rtm));
282 inet_cidrtoaddr(rtm->rtm_dst_len, &rt.net);