diff options
author | phk <phk@FreeBSD.org> | 2002-10-13 20:33:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2002-10-13 20:33:33 +0000 |
commit | 1eafd1bc957e43afe5d399b452501f6f04b89f0e (patch) | |
tree | 9f6850e98dd143d4b65470e0b9988b6aa47e16b9 /sys/geom/geom.h | |
parent | 083845b5c0aeb13dbfc360649d01fd9dfab374a4 (diff) | |
download | FreeBSD-src-1eafd1bc957e43afe5d399b452501f6f04b89f0e.zip FreeBSD-src-1eafd1bc957e43afe5d399b452501f6f04b89f0e.tar.gz |
Add the outline of the "/dev/geom.ctl" handling code.
Sponsored by: DARPA & NAI Labs.
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r-- | sys/geom/geom.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h index ad63e4b..fa34bda 100644 --- a/sys/geom/geom.h +++ b/sys/geom/geom.h @@ -302,7 +302,14 @@ extern struct sx topology_lock; #endif /* _KERNEL */ -#define GEOMGETCONF _IOWR('G', 0, struct sbuf) +/* + * IOCTLS for talking to the geom.ctl device. + */ +struct geomgetconf { + char *ptr; + u_int len; +}; +#define GEOMGETCONF _IOW('G', 0, struct geomgetconf) /* geom_enc.c */ uint16_t g_dec_be2(u_char *p); |