All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] newby question, can/socket stuff
@ 2007-02-26 19:08 roland Tollenaar
  2007-02-26 19:18 ` Gilles Chanteperdrix
  2007-02-26 19:57 ` Wolfgang Grandegger
  0 siblings, 2 replies; 14+ messages in thread
From: roland Tollenaar @ 2007-02-26 19:08 UTC (permalink / raw)
  To: xenomai

Hi,

I am looking through the rtcan code provided with the xenomai package
and I realize one thing:

I know too little of the basic socket programming. Not even sure my
wording in the previous sentence is capturing the correct area of
ignorance.

I suspect very strongly that the rtcan functionality is designed to
piggyback on whatever standard iocontrol is taking place in functions
like

ret = rt_dev_ioctl(can_fd, SIOCGIFINDEX, &ifr);

and
ret = rt_dev_ioctl(can_fd, SIOCSCANBAUDRATE, &ifr);

But exactly what is happening is beyond me at the moment.

Now I can obviously try to copy like a chinaman (no disrespect
intended!) and not understand what I am doing but it is not really a
mode of operation I relish.

I have briefly tried to locate the rt_dev_ioctl back to a xenomai
header but have not managed to trace it yet.

Is it defined in the standard linux ioctl headers? Where can I find
some info on what arguments these functions are passed etc?

Much appreciated.

Regards,

Roland.


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2007-02-27 10:03 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-26 19:08 [Xenomai-help] newby question, can/socket stuff roland Tollenaar
2007-02-26 19:18 ` Gilles Chanteperdrix
2007-02-26 19:58   ` roland Tollenaar
2007-02-26 20:13     ` Wolfgang Grandegger
2007-02-26 20:13     ` Gilles Chanteperdrix
2007-02-26 19:57 ` Wolfgang Grandegger
2007-02-26 20:06   ` roland Tollenaar
2007-02-26 20:16     ` Jan Kiszka
2007-02-26 20:37       ` roland Tollenaar
2007-02-26 21:13         ` Paul
2007-02-26 21:34         ` Jan Kiszka
     [not found]           ` <45E3F83B.4070702@domain.hid>
     [not found]             ` <45E3FDD5.4070308@domain.hid>
2007-02-27 10:03               ` Roland Tollenaar
2007-02-26 20:25     ` Wolfgang Grandegger
2007-02-26 20:42       ` roland Tollenaar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.