cmdtab
struct cmd cmdtab[] = {
int NCMDS = (sizeof (cmdtab) / sizeof (cmdtab[0])) - 1;
extern struct cmd cmdtab[];
for (c = cmdtab; (p = c->c_name); c++) {
for (c = cmdtab; c < &cmdtab[NCMDS]; c++) {
c = cmdtab + j * lines + i;
if (c + lines >= &cmdtab[NCMDS]) {
help(cmdtab, (char *) 0);
help(cmdtab, (yyvsp[(3) - (5)].s));
extern struct tab cmdtab[];
struct tab cmdtab[] = { /* In order defined in RFC 765 */
p = lookup(cmdtab, cbuf);
p = lookup(cmdtab, cbuf);
help(cmdtab, (char *) 0);
help(cmdtab, $3);
extern struct tab cmdtab[];
struct tab cmdtab[] = { /* In order defined in RFC 765 */
static Command cmdtab[] = {
if ((cm = (Command *) genget(name, (char **) cmdtab, sizeof(Command))))
for (c = cmdtab; c->name; c++)
static const struct cmdtab commands[] = {
extern const struct cmd cmdtab[];
for (cc = 0, cp = cmdtab; cp->c_name != NULL; cp++) {
const struct cmd cmdtab[] = {
extern const struct cmd cmdtab[];
for (cp = &cmdtab[0]; cp->c_name != NULL; cp++)
if (p == (struct cmdtab *)-1) {
struct cmdtab *
struct cmdtab *ct, *found;
found = (struct cmdtab *) 0;
for (ct = cmdtab; (p = ct->c_name); ct++) {
return ((struct cmdtab *)-1);
struct cmdtab *p;
for (p = cmdtab; p->c_name; p++) {
struct cmdtab cmdtab[] = {
struct cmdtab *curcmd = &cmdtab[0];
extern struct cmdtab *curcmd;
extern struct cmdtab cmdtab[];
struct cmdtab *lookup(const char *);
struct cmdtab *p;
if (p == (struct cmdtab *)-1)
if (p == (struct cmdtab *)0)
static struct cmd cmdtab[] = {
for (c = cmdtab; (p = c->name) != NULL; c++) {
for (c = cmdtab; c->name; c++)
struct cmdtab *c;
for (c=cmdtab; c->name; ++c) {
struct cmdtab *c;
for (c=cmdtab; c->name; ++c) {
} cmdtab[] = {
struct cmd cmdtab[] = {
int NCMDS = sizeof (cmdtab) / sizeof (cmdtab[0]);
extern struct cmd cmdtab[];
for (c = cmdtab; (p = c->c_name); c++) {
for (c = cmdtab; c->c_name; c++) {
c = cmdtab + j * lines + i;
if (c + lines >= &cmdtab[NCMDS]) {
static struct cmdtab const *
FindCommand(struct cmdtab const *cmds, const char *str, int *pmatch)
struct cmdtab const *found;
FindExec(struct bundle *bundle, struct cmdtab const *cmds, int argc, int argn,
struct cmdtab const *cmd;
arg.cmdtab = cmds;
showcx(struct cmdtab const *cmd)
struct cmdtab const *cmd;
for (cmd = arg->cmdtab; cmd->name || cmd->alias; cmd++)
for (cmd = arg->cmdtab; cmd->func; cmd++)
static struct cmdtab const SetCommands[] = {
for (cmd = arg->cmdtab; cmd->func; cmd++)
static struct cmdtab const NegotiateCommands[] = {
static struct cmdtab const NatCommands[] =
static struct cmdtab const AllowCommands[] = {
static struct cmdtab const IfaceCommands[] =
static struct cmdtab const Commands[] = {
static struct cmdtab const ShowCommands[] = {
struct cmdtab;
struct cmdtab const *cmdtab; /* The entire command table */
struct cmdtab const *cmd; /* This command entry */
arg.cmdtab = NULL;