Skip site navigation (1)Skip section navigation (2)
Date:      14 Mar 1999 18:21:09 +0100
From:      Dag-Erling Smorgrav <des@flood.ping.uio.no>
To:        freebsd-hackers@freebsd.org
Subject:   ioctl numbers
Message-ID:  <86r9qsf0my.fsf@niobe.ewox.org>

next in thread | raw e-mail | index | archive | help
Is there any meaning in the way ioctl numbers are selected? There seem
to be several ioctl numbers which have different and totally unrelated
meanings for different devices. If I want to add an ioctl to a driver,
can I just pick any number which is not currently meaningful to that
driver?

Specifically, will anybody mind if I define and implement the
following ioctls, as documented in tun(4):

#define TUNSIFMODE	_IOW('t', 93, int)	/* set ptp/bcast mode */
#define TUNSLMODE	_IOW('t', 94, int)	/* set link layer mode */

DES
-- 
Dag-Erling Smorgrav - des@flood.ping.uio.no


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86r9qsf0my.fsf>