Lines Matching refs:nda
1347 struct rtattr **nda = arg; in neigh_delete() local
1366 if (nda[NDA_DST-1] == NULL || in neigh_delete()
1367 nda[NDA_DST-1]->rta_len != RTA_LENGTH(tbl->key_len)) in neigh_delete()
1371 err = pneigh_delete(tbl, RTA_DATA(nda[NDA_DST-1]), dev); in neigh_delete()
1378 n = neigh_lookup(tbl, RTA_DATA(nda[NDA_DST-1]), dev); in neigh_delete()
1399 struct rtattr **nda = arg; in neigh_add() local
1419 if (nda[NDA_DST-1] == NULL || in neigh_add()
1420 nda[NDA_DST-1]->rta_len != RTA_LENGTH(tbl->key_len)) in neigh_add()
1424 if (pneigh_lookup(tbl, RTA_DATA(nda[NDA_DST-1]), dev, 1)) in neigh_add()
1431 if (nda[NDA_LLADDR-1] != NULL && in neigh_add()
1432 nda[NDA_LLADDR-1]->rta_len != RTA_LENGTH(dev->addr_len)) in neigh_add()
1435 n = neigh_lookup(tbl, RTA_DATA(nda[NDA_DST-1]), dev); in neigh_add()
1443 n = __neigh_lookup_errno(tbl, RTA_DATA(nda[NDA_DST-1]), dev); in neigh_add()
1450 err = neigh_update(n, nda[NDA_LLADDR-1] ? RTA_DATA(nda[NDA_LLADDR-1]) : NULL, in neigh_add()