aboutsummaryrefslogtreecommitdiffstats
path: root/capture_sync.c
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2005-12-03 12:32:41 +0000
committerUlf Lamping <ulf.lamping@web.de>2005-12-03 12:32:41 +0000
commit97d5241c6006bbb1302c1078dbf4413e25c1fb9d (patch)
tree1aff06b727ec535351f014d4243b034995085018 /capture_sync.c
parent68a611a3d13c7be1510934e61927a57181bc9db4 (diff)
precise some pipe message comments
svn path=/trunk/; revision=16660
Diffstat (limited to 'capture_sync.c')
-rw-r--r--capture_sync.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/capture_sync.c b/capture_sync.c
index 86d9b96f7e..37189c46f4 100644
--- a/capture_sync.c
+++ b/capture_sync.c
@@ -117,13 +117,17 @@ static void sync_pipe_wait_for_child(capture_options *capture_opts);
#define SP_DECISIZE 20
/*
- * Indications sent out on the sync pipe.
+ * Indications sent out on the sync pipe (from child to parent).
*/
#define SP_FILE 'F' /* the name of the recently opened file */
#define SP_ERROR_MSG 'E' /* error message */
#define SP_PACKET_COUNT 'P' /* count of packets captured since last message */
#define SP_DROPS 'D' /* count of packets dropped in capture */
-#define SP_QUIT 'Q' /* capture quit message (from parent to child) */
+/*
+ * Win32 only: Indications sent out on the signal pipe (from parent to child)
+ * (UNIX-like sends signals for this)
+ */
+#define SP_QUIT 'Q' /* "gracefully" capture quit message (SIGUSR1) */
/* write a message to the recipient pipe in the standard format