Searched refs:ndm (Results 1 – 2 of 2) sorted by relevance
78 struct ndmsg *ndm = (struct ndmsg *)(hdr + 1); in rtnl_neigh_from_linux() local83 if ((f = linux_to_bsd_domain(ndm->ndm_family)) == AF_UNKNOWN) in rtnl_neigh_from_linux()86 ndm->ndm_family = f; in rtnl_neigh_from_linux()416 struct ndmsg *ndm; in rtnl_newneigh_to_linux() local417 ndm = nlmsg_copy_next_header(hdr, nw, struct ndmsg); in rtnl_newneigh_to_linux()419 ndm->ndm_family = bsd_to_linux_domain(ndm->ndm_family); in rtnl_newneigh_to_linux()
138 struct ndmsg *ndm; in dump_lle_locked() local155 ndm = nlmsg_reserve_object(nw, struct ndmsg); in dump_lle_locked()156 ndm->ndm_family = wa->family; in dump_lle_locked()157 ndm->ndm_ifindex = if_getindex(wa->ifp); in dump_lle_locked()158 ndm->ndm_state = lle_state_to_nl_state(wa->family, lle); in dump_lle_locked()159 ndm->ndm_flags = lle_flags_to_nl_flags(lle); in dump_lle_locked()