summaryrefslogtreecommitdiffstats
path: root/net/cdp.h
diff options
context:
space:
mode:
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