diff options
author | Josh Blum <josh@joshknows.com> | 2010-11-23 18:09:51 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-12-11 18:43:10 -0800 |
commit | 07de916b7646c78d4ad5ba9104d52343e993d198 (patch) | |
tree | 405a679edfadec9d98103e8c2d5b9bb531841096 /firmware/microblaze/apps | |
parent | 95499e2e132b1c619704b6fbc452e661633b3233 (diff) | |
download | uhd-07de916b7646c78d4ad5ba9104d52343e993d198.tar.gz uhd-07de916b7646c78d4ad5ba9104d52343e993d198.tar.bz2 uhd-07de916b7646c78d4ad5ba9104d52343e993d198.zip |
packet_router: added sregs for ip addr and ports
the pkt control now programs the inspector with port and ip addr
set the eth mac to pass all unicast
added easy debug flag to net common
Diffstat (limited to 'firmware/microblaze/apps')
-rw-r--r-- | firmware/microblaze/apps/txrx_uhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/microblaze/apps/txrx_uhd.c b/firmware/microblaze/apps/txrx_uhd.c index 6f852bb18..8ee53ac3e 100644 --- a/firmware/microblaze/apps/txrx_uhd.c +++ b/firmware/microblaze/apps/txrx_uhd.c @@ -349,7 +349,7 @@ main(void) //1) register the addresses into the network stack register_addrs(ethernet_mac_addr(), get_ip_addr()); - pkt_ctrl_register_ip_addr(get_ip_addr()); + pkt_ctrl_program_inspector(get_ip_addr(), USRP2_UDP_DATA_PORT); //2) register callbacks for udp ports we service register_udp_listener(USRP2_UDP_CTRL_PORT, handle_udp_ctrl_packet); |