/* nametbl_header - print name table header into the given buffer  */
static void nametbl_header(struct print_buf *buf, u32 depth)
/* nametbl_header - print name table header into the given buffer  */
static void nametbl_header(struct print_buf *buf, u32 depth)
{
	tipc_printf(buf, "Type       ");
	if (depth > 1)
		tipc_printf(buf, "Lower      Upper      ");
	if (depth > 2)
		tipc_printf(buf, "Port Identity              ");
	if (depth > 3)
		tipc_printf(buf, "Publication");
	tipc_printf(buf, "\n-----------");
	if (depth > 1)
		tipc_printf(buf, "--------------------- ");
	if (depth > 2)
		tipc_printf(buf, "-------------------------- ");
	if (depth > 3)
		tipc_printf(buf, "------------------");
	tipc_printf(buf, "\n");
}