diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-24 23:44:01 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-06-24 23:44:01 +0000 |
commit | ba3170cb32e355cb1dab8bd0ee0917c0d922c8d2 (patch) | |
tree | 2b486500ce0e5a5b3b9390d311a78f2fd8b963a2 /sys/net/pfvar.h | |
parent | 068ad287dc3f58ef1a615ed36d248072081330c8 (diff) |
rename ioctlbuffer to pfioc.
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index 55142862182..1ca7d44375d 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.4 2001/06/24 21:50:29 deraadt Exp $ */ +/* $OpenBSD: pfvar.h,v 1.5 2001/06/24 23:44:00 art Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -132,7 +132,7 @@ struct status { * ioctl parameter structure */ -struct ioctlbuffer { +struct pfioc { u_int32_t size; u_int16_t entries; void *buffer; @@ -144,16 +144,16 @@ struct ioctlbuffer { #define DIOCSTART _IO ('D', 1) #define DIOCSTOP _IO ('D', 2) -#define DIOCSETRULES _IOWR('D', 3, struct ioctlbuffer) -#define DIOCGETRULES _IOWR('D', 4, struct ioctlbuffer) -#define DIOCSETNAT _IOWR('D', 5, struct ioctlbuffer) -#define DIOCGETNAT _IOWR('D', 6, struct ioctlbuffer) -#define DIOCSETRDR _IOWR('D', 7, struct ioctlbuffer) -#define DIOCGETRDR _IOWR('D', 8, struct ioctlbuffer) +#define DIOCSETRULES _IOWR('D', 3, struct pfioc) +#define DIOCGETRULES _IOWR('D', 4, struct pfioc) +#define DIOCSETNAT _IOWR('D', 5, struct pfioc) +#define DIOCGETNAT _IOWR('D', 6, struct pfioc) +#define DIOCSETRDR _IOWR('D', 7, struct pfioc) +#define DIOCGETRDR _IOWR('D', 8, struct pfioc) #define DIOCCLRSTATES _IO ('D', 9) -#define DIOCGETSTATES _IOWR('D', 10, struct ioctlbuffer) -#define DIOCSETSTATUSIF _IOWR('D', 11, struct ioctlbuffer) -#define DIOCGETSTATUS _IOWR('D', 12, struct ioctlbuffer) +#define DIOCGETSTATES _IOWR('D', 10, struct pfioc) +#define DIOCSETSTATUSIF _IOWR('D', 11, struct pfioc) +#define DIOCGETSTATUS _IOWR('D', 12, struct pfioc) /* * ioctl errors |