netdev
[Top] [All Lists]

ioctl call for network device

To: liste dev network device <netdev@xxxxxxxxxxx>
Subject: ioctl call for network device
From: sébastien person <sebastien.person@xxxxxxxxxxx>
Date: Wed, 2 May 2001 10:12:05 +0200
Sender: owner-netdev@xxxxxxxxxxx

Hi,

I've succeed to do an ioctl call and recept it in my module

ioctl(file_descriptor, cmd, struct ifreq)

but I believe that I'm oblige to use the struct ifreq and I can't
pass any other arguments because an user can't acces kernel space
so the ioctl call recopy data in the kernel space (this is what I've
understood, maybe I'm wrong ...).

My problem is that I need to pass some int arguments (the best way was an
int* ) but the struct ifreq doesn't permit me it, so could I add other
arguments as we can do in an normal ioctl call ?

I hope this is the wrong place for this question.

sebastien person

could I be CC because I'm not sure to be on the list and I don't know
how subscribe

sebastien.person@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>