added list stuff
[my-code/hdw-sniff.git] / list.h
diff --git a/list.h b/list.h
new file mode 100644 (file)
index 0000000..e036835
--- /dev/null
+++ b/list.h
@@ -0,0 +1,22 @@
+/*
+ * list.h - list header file
+ *
+ * author: hackbard@hackdaworld.dyndns.org
+ *
+ */
+
+#define MAX_BSSID_CHARS 6
+#define MAX_SSID_CHARS 32
+
+struct bssid
+{
+ char bssid[MAX_BSSID_CHARS]; /* the bssid mac address */
+ struct bss *next; /* next bssid */
+}
+
+struct bsslist
+{
+ char ssid[MAX_SSID_CHARS]; /* network name of this bss */
+ char struct *bssid; /* pointer to bssid mac addresses of this bss */
+ struct bsslist *next; /* next sniffed bss */
+}