Lines Matching refs:lladdr
1277 static int __neigh_update(struct neighbour *neigh, const u8 *lladdr, in __neigh_update() argument
1287 trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid); in __neigh_update()
1330 lladdr = neigh->ha; in __neigh_update()
1331 } else if (lladdr) { in __neigh_update()
1338 !memcmp(lladdr, neigh->ha, dev->addr_len)) in __neigh_update()
1339 lladdr = neigh->ha; in __neigh_update()
1349 lladdr = neigh->ha; in __neigh_update()
1364 if (lladdr != neigh->ha && !(flags & NEIGH_UPDATE_F_OVERRIDE)) { in __neigh_update()
1368 lladdr = neigh->ha; in __neigh_update()
1373 if (lladdr == neigh->ha && new == NUD_STALE && in __neigh_update()
1383 if (new != old || lladdr != neigh->ha) in __neigh_update()
1399 if (lladdr != neigh->ha) { in __neigh_update()
1401 memcpy(&neigh->ha, lladdr, dev->addr_len); in __neigh_update()
1465 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, in neigh_update() argument
1468 return __neigh_update(neigh, lladdr, new, flags, nlmsg_pid, NULL); in neigh_update()
1491 u8 *lladdr, void *saddr, in neigh_event_ns() argument
1495 lladdr || !dev->addr_len); in neigh_event_ns()
1497 neigh_update(neigh, lladdr, NUD_STALE, in neigh_event_ns()
1938 void *dst, *lladdr; in neigh_add() local
1988 lladdr = tb[NDA_LLADDR] ? nla_data(tb[NDA_LLADDR]) : NULL; in neigh_add()
2068 err = __neigh_update(neigh, lladdr, ndm->ndm_state, flags, in neigh_add()