summaryrefslogtreecommitdiffstats
path: root/sys/net/bpfdesc.h
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1995-06-15 18:11:00 +0000
committerpst <pst@FreeBSD.org>1995-06-15 18:11:00 +0000
commit763ad9c0a0b8880384f64a68a10dd2f459c5df45 (patch)
tree9c1d96c825647a1f01ca99e904a9d6cee8744209 /sys/net/bpfdesc.h
parentaf679f9c572744dad3260580ccb92ef78d5cff51 (diff)
downloadFreeBSD-src-763ad9c0a0b8880384f64a68a10dd2f459c5df45.zip
FreeBSD-src-763ad9c0a0b8880384f64a68a10dd2f459c5df45.tar.gz
Give the BPF the ability to generate signals when a packet is available.
Reviewed by: pst & wollman Submitted by: grossman@cygnus.com
Diffstat (limited to 'sys/net/bpfdesc.h')
-rw-r--r--sys/net/bpfdesc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h
index 598ce9e..a0cf3b3 100644
--- a/sys/net/bpfdesc.h
+++ b/sys/net/bpfdesc.h
@@ -37,7 +37,7 @@
*
* @(#)bpfdesc.h 8.1 (Berkeley) 6/10/93
*
- * $Id: bpfdesc.h,v 1.3 1994/08/02 07:46:00 davidg Exp $
+ * $Id: bpfdesc.h,v 1.4 1994/08/21 05:11:39 paul Exp $
*/
#ifndef _NET_BPFDESC_H_
@@ -76,6 +76,9 @@ struct bpf_d {
u_char bd_promisc; /* true if listening promiscuously */
u_char bd_state; /* idle, waiting, or timed out */
u_char bd_immediate; /* true to return on packet arrival */
+ int bd_async; /* non-zero if packet reception should generate signal */
+ int bd_sig; /* signal to send upon packet reception */
+ pid_t bd_pgid; /* process or group id for signal */
#if BSD < 199103
u_char bd_selcoll; /* true if selects collide */
int bd_timedout;
OpenPOWER on IntegriCloud