diff options
author | pdw <> | 2010-03-01 22:10:09 +0000 |
---|---|---|
committer | pdw <> | 2010-03-01 22:10:09 +0000 |
commit | cc31a604f302b58723f29ff74df3ef9ae7a75629 (patch) | |
tree | c4d641037ca38b0973dad54cac5ed5a7927e8a9f /iftop.h | |
parent | 06a6479ca24351d247720880daad6f4d304fc835 (diff) | |
download | iftop-cc31a604f302b58723f29ff74df3ef9ae7a75629.zip |
Applied patch from Richard Tóth <risko@iklub.sk> to support PFLOG interfaces.
Diffstat (limited to 'iftop.h')
-rw-r--r-- | iftop.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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_ */ |