/*
* This file and its contents are supplied under the terms of the
* Common Development and Distribution License ("CDDL"), version 1.0.
* You may only use this file in accordance with the terms of version
* 1.0 of the CDDL.
*
* A full copy of the text of the CDDL should have accompanied this
* source. A copy of the CDDL is also available via the Internet at
*/
/*
* Copyright 2016 Joyent, Inc.
*/
#include "dnlc.h"
#include <mdb/mdb_modapi.h>
typedef struct dnlc_walk {
int dw_hashsz;
int dw_index;
} dnlc_walk_t;
int
{
mdb_warn("dnlc walk doesn't support global walks\n");
return (WALK_ERR);
}
mdb_warn("failed to read 'nc_hashsz'\n");
return (WALK_ERR);
}
mdb_warn("invalid 'nc_hashsz' value\n");
return (WALK_ERR);
}
mdb_warn("failed to read 'nc_hash'\n");
return (WALK_ERR);
}
return (WALK_NEXT);
}
int
{
next:
return (WALK_DONE);
}
mdb_warn("failed to read nc_hash_t at %#lx",
return (WALK_ERR);
}
}
/*
* This entry may have become bogus since acquiring the address
* from its neighbor. Continue on if that is the case.
*/
goto next;
}
}
void
{
}