The current signature for dls_destroy() in the clearview gate is: /* * Delete a given physical link. */ int dls_destroy(mac_handle_t mh, datalink_id_t *idp) ...
The idea being that dls_destroy()'s only input argument is mh, and it returns the datalink id that was destroyed. Is there a reason why this couldn't be: /* * Delete a data link. */ int dls_destroy(datalink_id_t id) ... All callers of dls_destroy() created the datalink using dls_create(), and thus should know what datalink id to delete. -Seb
