aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/net_common.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-21 13:36:25 -0800
committerJosh Blum <josh@joshknows.com>2010-12-11 18:43:09 -0800
commit6004410a7b73a52d95b8f5f0cf0fa969bef4e910 (patch)
tree0f3cfd706b992c9008a90b75d9eb2315d4f8b7c6 /firmware/microblaze/lib/net_common.h
parentfe35b8ae0785fff7d33e18b62e3b435cfd5a5475 (diff)
downloaduhd-6004410a7b73a52d95b8f5f0cf0fa969bef4e910.tar.gz
uhd-6004410a7b73a52d95b8f5f0cf0fa969bef4e910.tar.bz2
uhd-6004410a7b73a52d95b8f5f0cf0fa969bef4e910.zip
packet_router: implemented code to program the addresses into the router
Diffstat (limited to 'firmware/microblaze/lib/net_common.h')
-rw-r--r--firmware/microblaze/lib/net_common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/firmware/microblaze/lib/net_common.h b/firmware/microblaze/lib/net_common.h
index 9d6a3e345..5e364adeb 100644
--- a/firmware/microblaze/lib/net_common.h
+++ b/firmware/microblaze/lib/net_common.h
@@ -26,9 +26,7 @@
typedef void (*udp_receiver_t)(struct socket_address src, struct socket_address dst,
unsigned char *payload, int payload_len);
-void register_mac_addr(const eth_mac_addr_t *mac_addr);
-
-void register_ip_addr(const struct ip_addr *ip_addr);
+void register_addrs(const eth_mac_addr_t *mac_addr, const struct ip_addr *ip_addr);
void register_udp_listener(int port, udp_receiver_t rcvr);