Joe Hershberger | a4215b0 | 2012-05-23 07:57:59 +0000 | [diff] [blame] | 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 |
Wolfgang Denk | db06592 | 2014-09-30 10:44:01 +0200 | [diff] [blame] | 9 | * SPDX-License-Identifier: GPL-2.0 |
Joe Hershberger | a4215b0 | 2012-05-23 07:57:59 +0000 | [diff] [blame] | 10 | */ |
| 11 | |
| 12 | #if defined(CONFIG_CMD_CDP) |
| 13 | |
| 14 | #ifndef __CDP_H__ |
| 15 | #define __CDP_H__ |
| 16 | |
Joe Hershberger | 527336f | 2015-04-08 01:41:14 -0500 | [diff] [blame] | 17 | void cdp_start(void); |
Joe Hershberger | d01a7a0 | 2012-05-23 07:58:13 +0000 | [diff] [blame] | 18 | /* Process a received CDP packet */ |
| 19 | void cdp_receive(const uchar *pkt, unsigned len); |
Joe Hershberger | a4215b0 | 2012-05-23 07:57:59 +0000 | [diff] [blame] | 20 | |
| 21 | #endif /* __CDP_H__ */ |
| 22 | #endif |