cdp.h 476 B

12345678910111213141516171819202122
  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. #if defined(CONFIG_CMD_CDP)
  12. #ifndef __CDP_H__
  13. #define __CDP_H__
  14. void cdp_start(void);
  15. /* Process a received CDP packet */
  16. void cdp_receive(const uchar *pkt, unsigned len);
  17. #endif /* __CDP_H__ */
  18. #endif