Searched refs:tcmd (Results 1 – 6 of 6) sorted by relevance
| /f-stack/tools/ipfw/ |
| H A D | nat64clat.c | 102 int tcmd; in ipfw_nat64clat_handler() local 124 if (name == NULL && tcmd != TOK_DESTROY && tcmd != TOK_LIST) in ipfw_nat64clat_handler() 126 switch (tcmd) { in ipfw_nat64clat_handler() 151 if (tcmd == TOK_RESET) in ipfw_nat64clat_handler() 191 int tcmd, flags; in nat64clat_create() local 209 switch (tcmd) { in nat64clat_create() 212 if (tcmd == TOK_PLAT_PREFIX) { in nat64clat_create() 227 if (tcmd == TOK_PLAT_PREFIX) { in nat64clat_create() 281 int tcmd; in nat64clat_config() local 301 switch (tcmd) { in nat64clat_config() [all …]
|
| H A D | nat64stl.c | 134 int tcmd; in ipfw_nat64stl_handler() local 155 tcmd = get_token(nat64cmds, *av, "nat64stl command"); in ipfw_nat64stl_handler() 156 if (name == NULL && tcmd != TOK_DESTROY && tcmd != TOK_LIST) in ipfw_nat64stl_handler() 158 switch (tcmd) { in ipfw_nat64stl_handler() 183 if (tcmd == TOK_RESET) in ipfw_nat64stl_handler() 225 int tcmd, flags; in nat64stl_create() local 238 tcmd = get_token(nat64newcmds, *av, "option"); in nat64stl_create() 241 switch (tcmd) { in nat64stl_create() 316 int tcmd; in nat64stl_config() local 330 tcmd = get_token(nat64newcmds, *av, "option"); in nat64stl_config() [all …]
|
| H A D | nptv6.c | 94 int tcmd; in ipfw_nptv6_handler() local 115 tcmd = get_token(nptv6cmds, *av, "nptv6 command"); in ipfw_nptv6_handler() 116 if (name == NULL && tcmd != TOK_DESTROY && tcmd != TOK_LIST) in ipfw_nptv6_handler() 118 switch (tcmd) { in ipfw_nptv6_handler() 138 tcmd = get_token(nptv6statscmds, *av, "stats command"); in ipfw_nptv6_handler() 139 if (tcmd == TOK_RESET) in ipfw_nptv6_handler() 200 int tcmd, flags, plen; in nptv6_create() local 210 tcmd = get_token(nptv6newcmds, *av, "option"); in nptv6_create() 213 switch (tcmd) { in nptv6_create()
|
| H A D | nat64lsn.c | 213 int tcmd; in ipfw_nat64lsn_stats_handler() local 221 switch (tcmd) { in ipfw_nat64lsn_stats_handler() 236 int tcmd; in ipfw_nat64lsn_list_handler() local 244 switch (tcmd) { in ipfw_nat64lsn_list_handler() 265 int tcmd; in ipfw_nat64lsn_handler() local 287 if (name == NULL && tcmd != TOK_DESTROY && tcmd != TOK_LIST) in ipfw_nat64lsn_handler() 289 switch (tcmd) { in ipfw_nat64lsn_handler() 411 int tcmd, flags; in nat64lsn_create() local 437 switch (tcmd) { in nat64lsn_create() 554 int tcmd; in nat64lsn_config() local [all …]
|
| H A D | tables.c | 163 int atomic, error, tcmd; in ipfw_table_handler() local 196 if (tcmd == TOK_ATOMIC) { in ipfw_table_handler() 200 switch (tcmd) { in ipfw_table_handler() 209 switch (tcmd) { in ipfw_table_handler() 221 switch (tcmd) { in ipfw_table_handler() 279 table_lock(&oh, (tcmd == TOK_LOCK)); in ipfw_table_handler() 283 arg = (tcmd == TOK_DETAIL) ? (void *)1 : NULL; in ipfw_table_handler() 409 int error, missing, orflush, tcmd, val; in table_create() local 420 switch (tcmd) { in table_create() 541 int tcmd; in table_modify() local [all …]
|
| H A D | ipfw2.c | 721 int tcmd; in get_token() local 723 if ((tcmd = match_token_relaxed(table, string)) < 0) in get_token() 725 (tcmd == 0) ? "invalid" : "ambiguous", errbase, string); in get_token() 727 return (tcmd); in get_token() 5587 int tcmd; in ipfw_internal_handler() local 5592 if ((tcmd = match_token(intcmds, *av)) == -1) in ipfw_internal_handler() 5595 switch (tcmd) { in ipfw_internal_handler()
|