User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
net_ioctl [2018/09/03 16:58]
rpjday [send_ioctl()]
net_ioctl [2018/09/04 09:57]
rpjday [send_ioctl()]
Line 30: Line 30:
 int send_ioctl(struct cmd_context *ctx, void *cmd) int send_ioctl(struct cmd_context *ctx, void *cmd)
 { {
-        ctx->​ifr.ifr_data = cmd;                       ​// What is this for?+        ctx->​ifr.ifr_data = cmd;        // Where to return stuff(?)
         return ioctl(ctx->​fd,​ SIOCETHTOOL,​ &​ctx->​ifr);​         return ioctl(ctx->​fd,​ SIOCETHTOOL,​ &​ctx->​ifr);​
 } }
net_ioctl.txt ยท Last modified: 2018/09/04 10:31 by rpjday