X-Git-Url: https://hackdaworld.org/gitweb/?p=my-code%2Fhdw-sniff.git;a=blobdiff_plain;f=hdw-sniff.h;h=908b95bd449f44724cf45d3e6491db8c3800eeca;hp=38b2db931cf7a842aaceb29de5266ac8bcf35c6f;hb=2d887777866454a450211bd1373b0f716abb9fb4;hpb=551ef6ebd6cfbf7caf60dd132953fad4b687f107 diff --git a/hdw-sniff.h b/hdw-sniff.h index 38b2db9..908b95b 100644 --- a/hdw-sniff.h +++ b/hdw-sniff.h @@ -2,6 +2,9 @@ #include "list.h" #define C_MAX 14 +#define IVLINE "%02x %02x %02x %02x %02x %02x %02x %02x %02x %02x\n" +#define cs(n) crypted_snap[n] +#define IVL_ARGS cs(0),cs(1),cs(2),cs(3),cs(4),cs(5),cs(6),cs(7),cs(8),cs(9) /* the pcap_process callback function */ void pcap_process(u_char *count,const struct pcap_pkthdr *pcap_header, @@ -24,6 +27,7 @@ struct info_struct { /* hop_chanel function */ int hop_channel(struct info_struct *info,int foo_fd); +int parse_ip(char *ip_o); /* ssid struct */ struct ssid_struct {