diff options
author | Anders Broman <anders.broman@ericsson.com> | 2012-02-21 13:35:04 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2012-02-21 13:35:04 +0000 |
commit | 5df11d41bb51aa76c28065f039ff03ec7c472628 (patch) | |
tree | bdd3c9e5e45234a43e0262f6e0fd2f2fdd334391 /pcapio.h | |
parent | a36c67130fd16568c9059848515707c3f0a8f8d7 (diff) |
Extend libpcap_write_interface_description_block() wiyh more options
all exept os curently unused.
svn path=/trunk/; revision=41108
Diffstat (limited to 'pcapio.h')
-rw-r--r-- | pcapio.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -64,11 +64,16 @@ libpcap_write_session_header_block(FILE *fp, /**< File pointer */ extern gboolean libpcap_write_interface_description_block(FILE *fp, - const char *name, - const char *filter, + const char *comment, /* OPT_COMMENT 1 */ + const char *name, /* IDB_NAME 2 */ + const char *descr, /* IDB_DESCRIPTION 3 */ + const char *filter, /* IDB_FILTER 11 */ + const char *os, /* IDB_OS 12 */ int link_type, int snap_len, long *bytes_written, + guint64 if_speed, /* IDB_IF_SPEED 8 */ + guint8 tsresol, /* IDB_TSRESOL 9 */ int *err); extern gboolean |