Lines Matching defs:cmd_context
216 struct cmd_context { struct
217 const char *devname; /* net device name */
218 int fd; /* socket suitable for ethtool ioctl */
219 struct ifreq ifr; /* ifreq suitable for ethtool ioctl */
220 unsigned int argc; /* number of arguments to the sub-command */
221 char **argp; /* arguments to the sub-command */
222 unsigned long debug; /* debugging mask */
223 bool json; /* Output JSON, if supported */
224 bool nl_disable; /* Disable netlink even if available */
225 bool show_stats; /* include command-specific stats */
226 uint32_t phy_index; /* the phy index this command targets */
228 struct nl_context *nlctx; /* netlink context (opaque) */