don't use u_long in an ioctl, rather, u_int64_t so there are no long 32/64
bit compatibility problems. bump kernel version like it should have been.
This commit is contained in:
parent
2405f1e72b
commit
12d715a3ee
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: bpf.h,v 1.35 2004/04/15 14:56:57 darrenr Exp $ */
|
/* $NetBSD: bpf.h,v 1.36 2004/04/15 15:17:11 darrenr Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 1990, 1991, 1993
|
* Copyright (c) 1990, 1991, 1993
|
||||||
@ -72,10 +72,10 @@ struct bpf_program {
|
|||||||
* Struct returned by BIOCGSTATS.
|
* Struct returned by BIOCGSTATS.
|
||||||
*/
|
*/
|
||||||
struct bpf_stat {
|
struct bpf_stat {
|
||||||
u_long bs_recv; /* number of packets received */
|
u_int64_t bs_recv; /* number of packets received */
|
||||||
u_long bs_drop; /* number of packets dropped */
|
u_int64_t bs_drop; /* number of packets dropped */
|
||||||
u_long bs_capt; /* number of packets captured */
|
u_int64_t bs_capt; /* number of packets captured */
|
||||||
u_long bs_padding[13];
|
u_int64_t bs_padding[13];
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: param.h,v 1.191 2004/04/05 10:22:30 yamt Exp $ */
|
/* $NetBSD: param.h,v 1.192 2004/04/15 15:17:11 darrenr Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 1982, 1986, 1989, 1993
|
* Copyright (c) 1982, 1986, 1989, 1993
|
||||||
@ -67,7 +67,7 @@
|
|||||||
* needs to be updated and the changes sent back to the groff maintainers.
|
* needs to be updated and the changes sent back to the groff maintainers.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define __NetBSD_Version__ 200030000 /* NetBSD 2.0C */
|
#define __NetBSD_Version__ 200040000 /* NetBSD 2.0D */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Historical NetBSD #define
|
* Historical NetBSD #define
|
||||||
|
Loading…
Reference in New Issue
Block a user