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