summaryrefslogtreecommitdiff
path: root/src/user/app/ethdump/proto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/ethdump/proto.h')
-rw-r--r--src/user/app/ethdump/proto.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/user/app/ethdump/proto.h b/src/user/app/ethdump/proto.h
index df2000e..21057a2 100644
--- a/src/user/app/ethdump/proto.h
+++ b/src/user/app/ethdump/proto.h
@@ -34,6 +34,15 @@ struct icmp {
};
+/* NOT THREADSAFE, YET USED FROM THREADS
+ * will break if i implement a scheduler*/
+struct queue_entry {
+ handle_t h;
+ struct queue_entry *next;
+};
+extern struct queue_entry *ether_queue;
+
+
void arp_parse(const uint8_t *buf, size_t len);
void icmp_parse(const uint8_t *buf, size_t len, struct ipv4 ip);