summaryrefslogtreecommitdiffstats
path: root/net/cdp.h
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2012-05-23 07:57:59 +0000
committerJoe Hershberger <joe.hershberger@ni.com>2012-05-23 14:19:22 -0500
commitf575ae1f7d3940efbfc43e4236adb4a8ec1db632 (patch)
treec938134ea39543f6919396f0d9641a18d2530574 /net/cdp.h
parenteafc8db0e35275330f43a4cf7b7ae8aba71c9728 (diff)
downloadtalos-obmc-uboot-f575ae1f7d3940efbfc43e4236adb4a8ec1db632.tar.gz
talos-obmc-uboot-f575ae1f7d3940efbfc43e4236adb4a8ec1db632.zip
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>
Diffstat (limited to 'net/cdp.h')
-rw-r--r--net/cdp.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/cdp.h b/net/cdp.h
new file mode 100644
index 0000000000..93bc461220
--- /dev/null
+++ b/net/cdp.h
@@ -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
OpenPOWER on IntegriCloud