Tom Rini | f739fcd | 2018-05-07 17:02:21 -0400 | [diff] [blame^] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Joe Hershberger | f575ae1 | 2012-05-23 07:57:59 +0000 | [diff] [blame] | 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 | |
Joe Hershberger | 6aede5b | 2015-04-08 01:41:14 -0500 | [diff] [blame] | 17 | void cdp_start(void); |
Joe Hershberger | 0b4c5ff | 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 | f575ae1 | 2012-05-23 07:57:59 +0000 | [diff] [blame] | 20 | |
| 21 | #endif /* __CDP_H__ */ |
| 22 | #endif |