aboutsummaryrefslogtreecommitdiff
path: root/net/cdp.h
blob: 16ccbf4b59edab1216683d906c8710fc8bbba16c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *	Copied from Linux Monitor (LiMon) - Networking.
 *
 *	Copyright 1994 - 2000 Neil Russell.
 *	(See License)
 *	Copyright 2000 Roland Borde
 *	Copyright 2000 Paolo Scaffardi
 *	Copyright 2000-2002 Wolfgang Denk, wd@denx.de
 */

#if defined(CONFIG_CMD_CDP)

#ifndef __CDP_H__
#define __CDP_H__

void cdp_start(void);
/* Process a received CDP packet */
void cdp_receive(const uchar *pkt, unsigned len);

#endif /* __CDP_H__ */
#endif