diff options
author | kib <kib@FreeBSD.org> | 2010-04-25 16:43:41 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-04-25 16:43:41 +0000 |
commit | 2861e20e63785e4e26808d8a851f0f8ab299046a (patch) | |
tree | f9cc282b947555dd39ec6eee5203cfbded724377 /sys/net/bpfdesc.h | |
parent | 1bf8e84d751983b1f997cb96e13a8600b602fe7b (diff) | |
download | FreeBSD-src-2861e20e63785e4e26808d8a851f0f8ab299046a.zip FreeBSD-src-2861e20e63785e4e26808d8a851f0f8ab299046a.tar.gz |
Provide compat32 shims for bpf(4), except zero-copy facilities.
bd_compat32 field of struct bpf_d is kept unconditionally to not
impose the requirement of including "opt_compat.h" on all numerous
users of bpfdesc.h.
Submitted by: jhb (version for 6.x)
Reviewed and tested by: emaste
MFC after: 2 weeks
Diffstat (limited to 'sys/net/bpfdesc.h')
-rw-r--r-- | sys/net/bpfdesc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bpfdesc.h b/sys/net/bpfdesc.h index 5784763..03cb20d 100644 --- a/sys/net/bpfdesc.h +++ b/sys/net/bpfdesc.h @@ -97,6 +97,7 @@ struct bpf_d { u_int64_t bd_wfcount; /* number of packets that matched write filter */ u_int64_t bd_wdcount; /* number of packets dropped during a write */ u_int64_t bd_zcopy; /* number of zero copy operations */ + u_char bd_compat32; /* 32-bit stream on LP64 system */ }; /* Values for bd_state */ |