]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - include/net.h
net: Move ARP out of net.c
[karo-tx-uboot.git] / include / net.h
index 453231bfbc99c74d0f46404969a92fa7bd061661..64700d915f18f0b9461231d61790261003a4c5d7 100644 (file)
@@ -428,7 +428,8 @@ extern void NetSetIP(uchar *, IPaddr_t, int, int, int);
 extern int     NetCksumOk(uchar *, int);       /* Return true if cksum OK */
 extern uint    NetCksum(uchar *, int);         /* Calculate the checksum */
 
-/* Set callbacks */
+/* Callbacks */
+extern rxhand_f *NetGetHandler(void);          /* Get RX packet handler */
 extern void    NetSetHandler(rxhand_f *);      /* Set RX packet handler */
 extern void net_set_icmp_handler(rxhand_icmp_f *f); /* Set ICMP RX handler */
 extern void    NetSetTimeout(ulong, thand_f *);/* Set timeout handler */