It sounds like you are using RTAI realtime, which builds all realtime components as kernel modules.
The header <sys/ioctl.h> is not suitable for use when building a kernel module. Since no drivers in linuxcnc use rtnet, I do not have any examples to point you towards. I suggest you read rtnet documentation, it should clarify what headers you can use for networking features. The existing ethernet driver in linuxcnc 2.7, hm2_eth, only works with "uspace" realtime where realtime runs as a standard linux process but real-time scheduling priority. Components are just shared libraries, and hm2_eth makes regular userspace socket calls. Jeff ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
