xref: /openbmc/u-boot/net/cdp.h (revision 6aede5b7)
1f575ae1fSJoe Hershberger /*
2f575ae1fSJoe Hershberger  *	Copied from Linux Monitor (LiMon) - Networking.
3f575ae1fSJoe Hershberger  *
4f575ae1fSJoe Hershberger  *	Copyright 1994 - 2000 Neil Russell.
5f575ae1fSJoe Hershberger  *	(See License)
6f575ae1fSJoe Hershberger  *	Copyright 2000 Roland Borde
7f575ae1fSJoe Hershberger  *	Copyright 2000 Paolo Scaffardi
8f575ae1fSJoe Hershberger  *	Copyright 2000-2002 Wolfgang Denk, wd@denx.de
92ea91039SWolfgang Denk  *	SPDX-License-Identifier:	GPL-2.0
10f575ae1fSJoe Hershberger  */
11f575ae1fSJoe Hershberger 
12f575ae1fSJoe Hershberger #if defined(CONFIG_CMD_CDP)
13f575ae1fSJoe Hershberger 
14f575ae1fSJoe Hershberger #ifndef __CDP_H__
15f575ae1fSJoe Hershberger #define __CDP_H__
16f575ae1fSJoe Hershberger 
17*6aede5b7SJoe Hershberger void cdp_start(void);
180b4c5ff4SJoe Hershberger /* Process a received CDP packet */
190b4c5ff4SJoe Hershberger void cdp_receive(const uchar *pkt, unsigned len);
20f575ae1fSJoe Hershberger 
21f575ae1fSJoe Hershberger #endif /* __CDP_H__ */
22f575ae1fSJoe Hershberger #endif
23