Lines Matching refs:ndm
269 struct ndmsg ndm;
274 memset(&req.ndm, 0, sizeof(req.ndm));
279 req.ndm.ndm_family = AF_INET;
280 req.ndm.ndm_state = NUD_STALE;
281 req.ndm.ndm_ifindex = ifindex;
282 req.ndm.ndm_type = RTN_UNICAST;
302 struct ndmsg *ndm = NLMSG_DATA(n);
322 len -= NLMSG_LENGTH(sizeof(*ndm));
326 if (ndm->ndm_family != AF_INET ||
327 (ifnum && !handle_if(ndm->ndm_ifindex)) ||
328 ndm->ndm_flags ||
329 ndm->ndm_type != RTN_UNICAST ||
330 !(ndm->ndm_state&~NUD_NOARP))
333 parse_rtattr(tb, NDA_MAX, NDA_RTA(ndm), len);
338 key.iface = ndm->ndm_ifindex;
352 if (!(ndm->ndm_state&(NUD_PROBE|NUD_INCOMPLETE))) {
357 if (ndm->ndm_state&NUD_PROBE) {
390 queue_active_probe(ndm->ndm_ifindex, key.addr) == 0 &&
399 if (ndm->ndm_state&NUD_FAILED) {