Snort mailing list archives

Re: Some flags in the pv structure in snort main


From: Brian <bmc () snort org>
Date: Mon, 10 Sep 2001 20:47:00 -0400

According to Anupam Bansal:
I am just trying to understand some of Snort's data structures and source
code. 

The data structure pv in snort.c seems to hold most of the flags.

What are the quiet flag and readmode flag for ??

<snip from snort.c>
case 'r':  /* read packets from a TCPdump file instead * of the net */
strlcpy(pv.readfile, optarg, STD_BUF);
pv.readmode_flag = 1;

<snip from snort.c>
case 'q':  /* no stdout output mode */
pv.quiet_flag = 1;
break;

-brian

_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users


Current thread: