summaryrefslogtreecommitdiff
path: root/test-cmdline.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2011-10-29 02:33:30 +0100
committerBen Hutchings <bhutchings@solarflare.com>2011-11-01 16:50:58 +0000
commit37897ca86845ac9f8df16ca424477baa3ac8c389 (patch)
tree5152407cc257e06f5fa14b88bfcc5c1719da0d33 /test-cmdline.c
parent3393b8366dbfa7717e41072481d34a48a2f426b3 (diff)
downloadethtool-37897ca86845ac9f8df16ca424477baa3ac8c389.tar.gz
Encapsulate command context in a structure
Replace the fd and ifr arguments to each sub-command handler with struct cmd_context. Change send_ioctl() to take a pointer to this context and a pointer to the ethtool_cmd or other structure. Use send_ioctl() consistently. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'test-cmdline.c')
0 files changed, 0 insertions, 0 deletions