2012-05-23 15:57:59 +08:00
|
|
|
/*
|
|
|
|
* Copied from Linux Monitor (LiMon) - Networking.
|
|
|
|
*
|
|
|
|
* Copyright 1994 - 2000 Neil Russell.
|
|
|
|
* (See License)
|
|
|
|
* Copyright 2000 Roland Borde
|
|
|
|
* Copyright 2000 Paolo Scaffardi
|
|
|
|
* Copyright 2000-2002 Wolfgang Denk, wd@denx.de
|
2014-09-30 16:44:01 +08:00
|
|
|
* SPDX-License-Identifier: GPL-2.0
|
2012-05-23 15:57:59 +08:00
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(CONFIG_CMD_CDP)
|
|
|
|
|
|
|
|
#ifndef __CDP_H__
|
|
|
|
#define __CDP_H__
|
|
|
|
|
|
|
|
void CDPStart(void);
|
2012-05-23 15:58:13 +08:00
|
|
|
/* Process a received CDP packet */
|
|
|
|
void cdp_receive(const uchar *pkt, unsigned len);
|
2012-05-23 15:57:59 +08:00
|
|
|
|
|
|
|
#endif /* __CDP_H__ */
|
|
|
|
#endif
|