Home
last modified time | relevance | path

Searched defs:cmd_context (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/ethtool/
H A Dinternal.h216 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 show_stats; /* include command-specific stats */
226 struct nl_context *nlctx; /* netlink context (opaque) */