summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net.h b/include/net.h
index 2b6e59a7bf..3dbe1544ac 100644
--- a/include/net.h
+++ b/include/net.h
@@ -433,6 +433,11 @@ extern int NetSendUDPPacket(uchar *ether, IPaddr_t dest, int dport,
/* Processes a received packet */
extern void NetReceive(uchar *, int);
+#ifdef CONFIG_NETCONSOLE
+void NcStart(void);
+int nc_input_packet(uchar *pkt, unsigned dest, unsigned src, unsigned len);
+#endif
+
/*
* Check if autoload is enabled. If so, use either NFS or TFTP to download
* the boot file.
OpenPOWER on IntegriCloud