diff options
author | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 07:58:01 +0000 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2012-05-23 14:19:23 -0500 |
commit | d280d3f430a4056e7baf66dc4be705dc8cc9bd37 (patch) | |
tree | aa2ed9082775d60fa6a6e0ef4096947ad200685e /include | |
parent | 1735188329d8c6357299462275061c05a46e100f (diff) | |
download | u-boot-imx-d280d3f430a4056e7baf66dc4be705dc8cc9bd37.zip u-boot-imx-d280d3f430a4056e7baf66dc4be705dc8cc9bd37.tar.gz u-boot-imx-d280d3f430a4056e7baf66dc4be705dc8cc9bd37.tar.bz2 |
net: Move ARP out of net.c
Separate this functionality out of the net.c behemoth
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h index 453231b..64700d9 100644 --- a/include/net.h +++ b/include/net.h @@ -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 */ |