mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
net: Move CDP out of net.c
Separate this functionality out of the net.c behemoth Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
20
net/cdp.h
Normal file
20
net/cdp.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* 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 CDPStart(void);
|
||||
void CDPHandler(const uchar *pkt, unsigned len);
|
||||
|
||||
#endif /* __CDP_H__ */
|
||||
#endif
|
Reference in New Issue
Block a user