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