aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/microblaze/lib/pkt_ctrl.h
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-11-23 18:09:51 -0800
committerJosh Blum <josh@joshknows.com>2010-12-11 18:43:10 -0800
commit07de916b7646c78d4ad5ba9104d52343e993d198 (patch)
tree405a679edfadec9d98103e8c2d5b9bb531841096 /firmware/microblaze/lib/pkt_ctrl.h
parent95499e2e132b1c619704b6fbc452e661633b3233 (diff)
downloaduhd-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/lib/pkt_ctrl.h')
-rw-r--r--firmware/microblaze/lib/pkt_ctrl.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/firmware/microblaze/lib/pkt_ctrl.h b/firmware/microblaze/lib/pkt_ctrl.h
index 2e175bca0..927d1fc7a 100644
--- a/firmware/microblaze/lib/pkt_ctrl.h
+++ b/firmware/microblaze/lib/pkt_ctrl.h
@@ -19,6 +19,8 @@
#define INCLUDED_PKT_CTRL_H
#include <stddef.h>
+#include <stdint.h>
+#include <stdbool.h>
#include <lwip/ip_addr.h>
typedef enum {
@@ -26,8 +28,10 @@ typedef enum {
PKT_CTRL_ROUTING_MODE_MASTER,
} pkt_ctrl_routing_mode_t;
-//! Register the IP address into the router
-void pkt_ctrl_register_ip_addr(const struct ip_addr *ip_addr);
+//! Program the decision values into the packet inspector
+void pkt_ctrl_program_inspector(
+ const struct ip_addr *ip_addr, uint16_t dsp_udp_port
+);
//! Set the routing mode for this device
void pkt_ctrl_set_routing_mode(pkt_ctrl_routing_mode_t mode);