Lines Matching refs:ndm
406 struct ndmsg ndm; in fdb_modify() member
412 .ndm.ndm_family = PF_BRIDGE, in fdb_modify()
413 .ndm.ndm_state = NUD_NOARP, in fdb_modify()
461 req.ndm.ndm_flags |= NTF_SELF; in fdb_modify()
463 req.ndm.ndm_flags |= NTF_MASTER; in fdb_modify()
465 req.ndm.ndm_flags |= NTF_ROUTER; in fdb_modify()
468 req.ndm.ndm_state |= NUD_PERMANENT; in fdb_modify()
471 req.ndm.ndm_state |= NUD_REACHABLE; in fdb_modify()
473 req.ndm.ndm_state |= NUD_REACHABLE; in fdb_modify()
474 req.ndm.ndm_state &= ~NUD_NOARP; in fdb_modify()
481 req.ndm.ndm_flags |= NTF_USE; in fdb_modify()
501 if (!(req.ndm.ndm_flags&(NTF_SELF|NTF_MASTER))) in fdb_modify()
502 req.ndm.ndm_flags |= NTF_SELF; in fdb_modify()
505 if (!(req.ndm.ndm_state&(NUD_PERMANENT|NUD_REACHABLE))) in fdb_modify()
506 req.ndm.ndm_state |= NUD_PERMANENT; in fdb_modify()
533 req.ndm.ndm_ifindex = ll_name_to_index(d); in fdb_modify()
534 if (req.ndm.ndm_ifindex == 0) { in fdb_modify()