Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2000 19:55:28 -0400
From:      "Vladimir N. Silyaev" <vsilyaev@mindspring.com>
To:        Wilbert de Graaf <wilbertdg@hetnet.nl>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Getting the plain void* through the generic ioctl processing
Message-ID:  <20000628195528.A6739@jupiter.delta.ny.us>

next in thread | raw e-mail | index | archive | help
You have to declare ioctl as the next:

#define SIO_SET_MULTICAST_FILTER	_IO ('s', 63)

And after that in your code mannualy via functions documented in
copy(9) and fetch(9) manpages, to access that user space structure,
user space pointer will be available for you as third arument
in your ioctl handler.

--
Vladimir
 


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?20000628195528.A6739>