2016-11-02 01:00:59 +01:00
|
|
|
/*
|
|
|
|
* \brief DHCP related definitions
|
|
|
|
* \author Stefan Kalkowski
|
|
|
|
* \date 2010-08-19
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 13:23:52 +01:00
|
|
|
* Copyright (C) 2010-2017 Genode Labs GmbH
|
2016-11-02 01:00:59 +01:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 13:23:52 +01:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2016-11-02 01:00:59 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
/* Genode */
|
|
|
|
#include <net/dhcp.h>
|
|
|
|
#include <base/output.h>
|
|
|
|
|
|
|
|
|
|
|
|
void Net::Dhcp_packet::print(Genode::Output &output) const
|
|
|
|
{
|
|
|
|
Genode::print(output, "\033[32mDHCP\033[0m ", client_mac(),
|
|
|
|
" > ", siaddr(), " cmd ", op());
|
|
|
|
}
|