Lines Matching refs:ndm
267 struct ndmsg ndm; in respond_to_kernel() member
273 .ndm.ndm_family = AF_INET, in respond_to_kernel()
274 .ndm.ndm_state = NUD_STALE, in respond_to_kernel()
275 .ndm.ndm_ifindex = ifindex, in respond_to_kernel()
276 .ndm.ndm_type = RTN_UNICAST, in respond_to_kernel()
297 struct ndmsg *ndm = NLMSG_DATA(n); in do_one_request() local
317 len -= NLMSG_LENGTH(sizeof(*ndm)); in do_one_request()
321 if (ndm->ndm_family != AF_INET || in do_one_request()
322 (ifnum && !handle_if(ndm->ndm_ifindex)) || in do_one_request()
323 ndm->ndm_flags || in do_one_request()
324 ndm->ndm_type != RTN_UNICAST || in do_one_request()
325 !(ndm->ndm_state&~NUD_NOARP)) in do_one_request()
328 parse_rtattr(tb, NDA_MAX, NDA_RTA(ndm), len); in do_one_request()
333 key.iface = ndm->ndm_ifindex; in do_one_request()
347 if (!(ndm->ndm_state&(NUD_PROBE|NUD_INCOMPLETE))) { in do_one_request()
352 if (ndm->ndm_state&NUD_PROBE) { in do_one_request()
385 queue_active_probe(ndm->ndm_ifindex, key.addr) == 0 && in do_one_request()
394 if (ndm->ndm_state&NUD_FAILED) { in do_one_request()