2012-05-23 07:57:59 +00: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 08:44:01 +00:00
|
|
|
* SPDX-License-Identifier: GPL-2.0
|
2012-05-23 07:57:59 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#if defined(CONFIG_CMD_CDP)
|
|
|
|
|
|
|
|
#ifndef __CDP_H__
|
|
|
|
#define __CDP_H__
|
|
|
|
|
2015-04-08 06:41:14 +00:00
|
|
|
void cdp_start(void);
|
2012-05-23 07:58:13 +00:00
|
|
|
/* Process a received CDP packet */
|
|
|
|
void cdp_receive(const uchar *pkt, unsigned len);
|
2012-05-23 07:57:59 +00:00
|
|
|
|
|
|
|
#endif /* __CDP_H__ */
|
|
|
|
#endif
|