aboutsummaryrefslogtreecommitdiffstats
path: root/wlantest/wlantest.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-11-26 22:10:53 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-26 22:10:53 (GMT)
commite929eb39d6d874f694cb66b7aea7d112880993c7 (patch)
tree7db3333e15d24a7f5810aacf6f2789ec6ae47c19 /wlantest/wlantest.h
parentb25f04d44a9482681afa48959ba9c9caf1cb1f7b (diff)
downloadhostap-e929eb39d6d874f694cb66b7aea7d112880993c7.zip
hostap-e929eb39d6d874f694cb66b7aea7d112880993c7.tar.gz
hostap-e929eb39d6d874f694cb66b7aea7d112880993c7.tar.bz2
wlantest: Add -N command line argument to remove write buffering
This makes it easier to do live parsing of captured pcap files from wlantest without having to rename and restart the capture file. Packet writes are flushed to disk after each packet if -N is included in the command line. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wlantest/wlantest.h')
-rw-r--r--wlantest/wlantest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wlantest/wlantest.h b/wlantest/wlantest.h
index ced9baa..530accc 100644
--- a/wlantest/wlantest.h
+++ b/wlantest/wlantest.h
@@ -202,6 +202,7 @@ struct wlantest {
int last_mgmt_valid;
unsigned int assume_fcs:1;
+ unsigned int pcap_no_buffer:1;
char *notes[MAX_NOTES];
size_t num_notes;