Applied patch from Richard Tóth <risko@iklub.sk> to support PFLOG interfaces.

This commit is contained in:
pdw
2010-03-01 22:10:09 +00:00
parent 06a6479ca2
commit cc31a604f3
2 changed files with 29 additions and 0 deletions

12
iftop.h
View File

@@ -32,5 +32,17 @@ void xfree(void *v);
/* options.c */
void options_read(int argc, char **argv);
struct pfloghdr {
unsigned char length;
unsigned char af;
unsigned char action;
unsigned char reason;
char ifname[16];
char ruleset[16];
unsigned int rulenr;
unsigned int subrulenr;
unsigned char dir;
unsigned char pad[3];
};
#endif /* __IFTOP_H_ */