diff options
author | pst <pst@FreeBSD.org> | 1995-06-15 18:11:00 +0000 |
---|---|---|
committer | pst <pst@FreeBSD.org> | 1995-06-15 18:11:00 +0000 |
commit | 763ad9c0a0b8880384f64a68a10dd2f459c5df45 (patch) | |
tree | 9c1d96c825647a1f01ca99e904a9d6cee8744209 /sys/net/bpf.h | |
parent | af679f9c572744dad3260580ccb92ef78d5cff51 (diff) | |
download | FreeBSD-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/bpf.h')
-rw-r--r-- | sys/net/bpf.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/bpf.h b/sys/net/bpf.h index 2da90b0..af3edd8 100644 --- a/sys/net/bpf.h +++ b/sys/net/bpf.h @@ -37,7 +37,7 @@ * * @(#)bpf.h 8.1 (Berkeley) 6/10/93 * - * $Id: bpf.h,v 1.3 1994/08/21 05:11:38 paul Exp $ + * $Id: bpf.h,v 1.4 1995/05/30 08:07:52 rgrimes Exp $ */ #ifndef _NET_BPF_H_ @@ -110,6 +110,8 @@ struct bpf_version { #define BIOCGSTATS _IOR(B,111, struct bpf_stat) #define BIOCIMMEDIATE _IOW(B,112, u_int) #define BIOCVERSION _IOR(B,113, struct bpf_version) +#define BIOCGRSIG _IOR(B,114, u_int) +#define BIOCSRSIG _IOW(B,115, u_int) #else #define BIOCGBLEN _IOR('B',102, u_int) #define BIOCSBLEN _IOWR('B',102, u_int) @@ -124,6 +126,8 @@ struct bpf_version { #define BIOCGSTATS _IOR('B',111, struct bpf_stat) #define BIOCIMMEDIATE _IOW('B',112, u_int) #define BIOCVERSION _IOR('B',113, struct bpf_version) +#define BIOCGRSIG _IOR('B',114, u_int) +#define BIOCSRSIG _IOW('B',115, u_int) #endif /* |