K2.6 patches and update.
[tomato.git] / release / src-rt / emf / igsconf / igsu.h
blob1d4c5d8b6842e76cc80d731a22f1c77189eacc37
1 /*
2 * Copyright (C) 2010, Broadcom Corporation
3 * All Rights Reserved.
4 *
5 * This is UNPUBLISHED PROPRIETARY SOURCE CODE of Broadcom Corporation;
6 * the contents of this file may not be disclosed to third parties, copied
7 * or duplicated in any form, in whole or in part, without the prior
8 * written permission of Broadcom Corporation.
10 * $Id: igsu.h 241182 2011-02-17 21:50:03Z gmo $
13 #ifndef _IGSU_H_
14 #define _IGSU_H_
16 #define IGS_ARGC_ADD_BRIDGE 3
17 #define IGS_ARGC_DEL_BRIDGE 3
18 #define IGS_ARGC_LIST_BRIDGE 3
19 #define IGS_ARGC_LIST_IGSDB 3
20 #define IGS_ARGC_LIST_RTPORT 3
21 #define IGS_ARGC_CLEAR_IGSDB 3
22 #define IGS_ARGC_SHOW_STATS 3
24 #define IGS_USAGE \
25 "Usage: igs add bridge <bridge>\n"\
26 " del bridge <bridge>\n"\
27 " list sdb <bridge>\n"\
28 " list rtport <bridge>\n"\
29 " show stats <bridge>\n"
31 typedef struct igs_cmd_arg
33 char *cmd_oper_str; /* Operation type string */
34 char *cmd_id_str; /* Command id string */
35 int (*input)(char *[]); /* Command process function */
36 int arg_count; /* Arguments count */
37 } igs_cmd_arg_t;
40 #endif /* _IGSU_H_ */