Searched refs:nud_state (Results 1 - 25 of 35) sorted by relevance

12

/linux-master/include/trace/events/
H A Dneigh.h85 __field(u8, nud_state)
110 __entry->nud_state = n->nud_state;
141 TP_printk("family %d dev %s lladdr %s flags %02x nud_state %s type %02x "
147 __entry->flags, neigh_state_str(__entry->nud_state),
165 __field(u8, nud_state)
187 __entry->nud_state = n->nud_state;
215 TP_printk("family %d dev %s lladdr %s flags %02x nud_state %s type %02x "
220 __entry->flags, neigh_state_str(__entry->nud_state),
[all...]
/linux-master/drivers/net/ethernet/chelsio/cxgb3/
H A Dl2t.c285 unsigned int nud_state; local
291 nud_state = neigh->nud_state;
293 !(nud_state & NUD_VALID))
295 else if (nud_state & NUD_CONNECTED)
426 if (neigh->nud_state & NUD_FAILED) {
428 } else if (neigh->nud_state & (NUD_CONNECTED|NUD_STALE))
431 e->state = neigh->nud_state & NUD_CONNECTED ?
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c235 u8 nud_state; local
281 nud_state = attr.n->nud_state;
307 if (!(nud_state & NUD_VALID)) {
351 u8 nud_state; local
385 nud_state = attr.n->nud_state;
413 if (!(nud_state & NUD_VALID)) {
507 u8 nud_state; local
552 nud_state
621 u8 nud_state; local
[all...]
/linux-master/net/core/
H A Dneighbour.c141 exempt_from_gc = n->nud_state & NUD_PERMANENT ||
271 if ((n->nud_state == NUD_FAILED) ||
272 (n->nud_state == NUD_NOARP) ||
313 n->nud_state);
320 if ((n->nud_state & NUD_IN_TIMER) &&
399 if (skip_perm && n->nud_state & NUD_PERMANENT) {
422 if (n->nud_state & NUD_VALID)
423 n->nud_state = NUD_NOARP;
425 n->nud_state = NUD_NONE;
502 n->nud_state
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dneigh.c135 u8 nud_state, dead; local
146 nud_state = n->nud_state;
151 neigh_connected = (nud_state & NUD_VALID) && !dead;
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dl2t.c205 e->state = (e->neigh->nud_state & NUD_STALE) ?
399 unsigned int nud_state; local
404 nud_state = neigh->nud_state;
406 !(nud_state & NUD_VALID))
408 else if (nud_state & NUD_CONNECTED)
538 if (neigh->nud_state & NUD_FAILED) {
540 } else if ((neigh->nud_state & (NUD_CONNECTED | NUD_STALE)) &&
545 e->state = neigh->nud_state & NUD_CONNECTED ?
/linux-master/net/ipv4/
H A Darp.c250 neigh->nud_state = NUD_NOARP;
270 neigh->nud_state = NUD_NOARP;
273 neigh->nud_state = NUD_NOARP;
277 neigh->nud_state = NUD_NOARP;
286 if (neigh->nud_state & NUD_VALID)
378 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID))
1106 if (neigh->nud_state&NUD_PERMANENT)
1108 else if (neigh->nud_state&NUD_VALID)
1126 if (!(READ_ONCE(neigh->nud_state) & NUD_NOARP)) {
1148 if ((READ_ONCE(neigh->nud_state)
[all...]
H A Dfib_semantics.c567 state = READ_ONCE(n->nud_state);
2213 state = READ_ONCE(n->nud_state);
/linux-master/net/netfilter/
H A Dnft_flow_offload.c57 u8 nud_state; local
67 nud_state = n->nud_state;
72 if (!(nud_state & NUD_VALID))
H A Dnf_flow_table_offload.c283 u8 nud_state; local
301 nud_state = n->nud_state;
306 if (!(nud_state & NUD_VALID))
/linux-master/include/net/
H A Dneighbour.h150 u8 nud_state; member in struct:neighbour
465 if (!(READ_ONCE(neigh->nud_state) & (NUD_CONNECTED | NUD_DELAY | NUD_PROBE)))
534 /* n->nud_state and hh->hh_len could be changed under us.
538 (READ_ONCE(n->nud_state) & NUD_CONNECTED) &&
/linux-master/net/bridge/
H A Dbr_arp_nd_proxy.c195 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) {
455 if (!(READ_ONCE(n->nud_state) & NUD_VALID)) {
H A Dbr_netfilter_hooks.c284 if ((READ_ONCE(neigh->nud_state) & NUD_CONNECTED) &&
/linux-master/net/ipv6/
H A Dndisc.c346 neigh->nud_state = NUD_NOARP;
351 neigh->nud_state = NUD_NOARP;
354 neigh->nud_state = NUD_NOARP;
359 neigh->nud_state = NUD_NOARP;
366 if (neigh->nud_state&NUD_VALID)
749 if (!(READ_ONCE(neigh->nud_state) & NUD_VALID)) {
1095 if (READ_ONCE(neigh->nud_state) & NUD_FAILED)
1748 if (neigh->nud_state & NUD_VALID) {
H A Droute.c642 if (READ_ONCE(neigh->nud_state) & NUD_VALID)
646 if (!(neigh->nud_state & NUD_VALID) &&
692 u8 nud_state = READ_ONCE(neigh->nud_state); local
694 if (nud_state & NUD_VALID)
697 else if (!(nud_state & NUD_FAILED))
/linux-master/drivers/infiniband/hw/qedr/
H A Dqedr_iw_cm.c460 if (neigh->nud_state & NUD_VALID) {
503 if (neigh->nud_state & NUD_VALID) {
/linux-master/drivers/infiniband/core/
H A Daddr.c337 if (!(n->nud_state & NUD_VALID)) {
859 if (neigh->nud_state & NUD_VALID) {
/linux-master/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.c197 neigh->n_valid = n->nud_state & NUD_VALID;
551 n_valid = (n->nud_state & NUD_VALID) && !n->dead;
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c470 bool neigh_invalid = !(neigh->nud_state & NUD_VALID) || neigh->dead;
645 neigh_invalid = !(n->nud_state & NUD_VALID) || n->dead;
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c2780 u8 nud_state, dead; local
2788 nud_state = n->nud_state;
2795 entry_connected = nud_state & NUD_VALID && !dead;
4302 u8 nud_state, dead; local
4324 nud_state = n->nud_state;
4327 entry_connected = nud_state & NUD_VALID && !dead;
4400 u8 nud_state, dead; local
4441 nud_state
[all...]
/linux-master/net/atm/
H A Dclip.c300 neigh->nud_state = NUD_NONE;
/linux-master/drivers/net/ethernet/rocker/
H A Drocker_ofdpa.c1366 if (n->nud_state & NUD_VALID)
2681 int flags = (n->nud_state & NUD_VALID ? 0 : OFDPA_OP_FLAG_REMOVE) |
/linux-master/drivers/infiniband/hw/irdma/
H A Dutils.c281 iwdev->netdev, neigh->nud_state, local_ipaddr,
284 if (neigh->nud_state & NUD_VALID)
/linux-master/drivers/net/ethernet/marvell/prestera/
H A Dprestera_router.c798 if (n->nud_state & NUD_VALID && !n->dead) {
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c848 if (event != NETEVENT_NEIGH_UPDATE || !(n->nud_state & NUD_VALID))

Completed in 300 milliseconds

12