Differences

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

Link to this comparison view

Both sides previous revision Previous revision
net_ioctl [2018/09/04 09:57] – [send_ioctl()] rpjdaynet_ioctl [2018/09/04 10:31] (current) – [send_ioctl()] rpjday
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;        // Where to return stuff(?)+        ctx->ifr.ifr_data = cmd;        // command-specific structure
         return ioctl(ctx->fd, SIOCETHTOOL, &ctx->ifr);         return ioctl(ctx->fd, SIOCETHTOOL, &ctx->ifr);
 } }
  • net_ioctl.1536055022.txt.gz
  • Last modified: 2018/09/04 09:57
  • by rpjday