cdp.h 473 B

12345678910111213141516171819202122
  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. #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