diff options
author | guy <guy> | 2003-11-04 07:05:32 +0000 |
---|---|---|
committer | guy <guy> | 2003-11-04 07:05:32 +0000 |
commit | 991d444f7116bef16893826b46f3950f62281507 (patch) | |
tree | a6e3cc271bc1560beb89dcc0d0c3893297bbba0b /pcap-int.h | |
parent | 4246a40e00fd598e3af4ab8e4251749968b086c1 (diff) |
Add a "pcap_breakloop()" API to break out of the loop in
"pcap_dispatch()" and "pcap_loop()".
Diffstat (limited to 'pcap-int.h')
-rw-r--r-- | pcap-int.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -30,7 +30,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.54 2003-10-24 23:55:06 guy Exp $ (LBL) + * @(#) $Header: /tcpdump/master/libpcap/pcap-int.h,v 1.55 2003-11-04 07:05:34 guy Exp $ (LBL) */ #ifndef pcap_int_h @@ -106,6 +106,8 @@ struct pcap { int tzoff; /* timezone offset */ int offset; /* offset for proper alignment */ + int break_loop; /* flag set to force break from packet-reading loop */ + struct pcap_sf sf; struct pcap_md md; |