X-Git-Url: https://hackdaworld.org/gitweb/?a=blobdiff_plain;f=list.h;fp=list.h;h=e0368355933c14d49487737b2fbc0aeb23f39949;hb=728bc5f9cd9f3ded02efba8352fffef843095ee2;hp=0000000000000000000000000000000000000000;hpb=1bc659fa450df2108ab59b085e75564b7ac19995;p=my-code%2Fhdw-sniff.git diff --git a/list.h b/list.h new file mode 100644 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 */ +}