61 "<sending interface> <receiving interface>" );
94 opts.broadcast ) ) != 0 ) {
struct arbelprm_rc_send_wqe rc
static union @024010030001061367220137227263210031030210157031 opts
"cert<xxx>" option list
#define COMMAND(name, exec)
int optind
Current option index.
Parse command-line options.
@ required_argument
Option requires an argument.
@ no_argument
Option does not take an argument.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
int loopback_test(struct net_device *sender, struct net_device *receiver, size_t mtu, int broadcast)
Perform loopback test between two network devices.
static struct option_descriptor lotest_opts[]
"lotest" option list
static struct command_descriptor lotest_cmd
"lotest" command descriptor
static int lotest_exec(int argc, char **argv)
"lotest" command
Network device management.
int parse_netdev(char *text, struct net_device **netdev)
Parse network device name.
int parse_flag(char *text __unused, int *flag)
Parse flag.
int parse_integer(char *text, unsigned int *value)
Parse integer value.
int parse_options(int argc, char **argv, struct command_descriptor *cmd, void *opts)
Parse command-line options.
Command line option parsing.
#define COMMAND_DESC(_struct, _options, _min_args, _max_args, _usage)
Construct command descriptor.
#define OPTION_DESC(_longopt, _shortopt, _has_arg, _struct, _field, _parse)
Construct option descriptor.
struct stp_switch sender
Sender switch.
char * strerror(int errno)
Retrieve string representation of error number.
A command-line option descriptor.
int printf(const char *fmt,...)
Write a formatted string to the console.