Lines Matching defs:new
138 /* remove from the gc list if new state is permanent or if neighbor
1279 -- lladdr is new lladdr or NULL, if it is not supplied.
1280 -- new is new state.
1298 u8 new, u32 flags, u32 nlmsg_pid,
1307 trace_neigh_update(neigh, lladdr, new, flags, nlmsg_pid);
1317 new = old;
1326 new = old & ~NUD_PERMANENT;
1327 WRITE_ONCE(neigh->nud_state, new);
1332 if (!(new & NUD_VALID)) {
1336 WRITE_ONCE(neigh->nud_state, new);
1340 (new & NUD_FAILED)) {
1347 /* Compare new lladdr with cached one */
1353 and a new address is proposed:
1354 - compare new & old
1375 if (new & NUD_CONNECTED)
1379 do not change entry state, if new one is STALE.
1389 new = NUD_STALE;
1393 if (lladdr == neigh->ha && new == NUD_STALE &&
1395 new = old;
1403 if (new != old || lladdr != neigh->ha)
1406 if (new != old) {
1408 if (new & NUD_PROBE)
1410 if (new & NUD_IN_TIMER)
1412 ((new & NUD_REACHABLE) ?
1415 WRITE_ONCE(neigh->nud_state, new);
1424 if (!(new & NUD_CONNECTED))
1429 if (new == old)
1431 if (new & NUD_CONNECTED)
1475 if (((new ^ old) & NUD_PERMANENT) || gc_update)
1485 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new,
1488 return __neigh_update(neigh, lladdr, new, flags, nlmsg_pid, NULL);
2838 /* all new attributes should require strict_check */
3833 * base_reachable_time(_ms) is set to ensure the new timer starts being