"Output filename\n"
"Interval of output\n")
{
+ /* CHECK ME argc referenced below */
int idx_dump_routes = 2;
int idx_path = 3;
int idx_interval = 4;
"Specify packets to forward\n"
"A regular-expression to match the BGP AS paths\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 3;
int idx_permit_deny = 4;
enum as_filter_type type;
"Specify packets to forward\n"
"A regular-expression to match the BGP AS paths\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 4;
int idx_permit_deny = 5;
enum as_filter_type type;
"Display routes learned from neighbor\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 6;
union sockunion su;
struct peer *peer;
"Display routes learned from neighbor\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_ext_community = 5;
int idx_ipv4 = 7;
int ret;
"Display the routes advertised to a BGP neighbor\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 6;
int ret;
struct peer *peer;
"Display the routes advertised to a BGP neighbor\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_ext_community = 5;
int idx_ipv4 = 7;
int ret;
"Display route and more specific routes\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_afi;
"Display only multipaths\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_afi;
BGP_INSTANCE_ALL_HELP_STR
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
u_char uj = use_json(argc, argv);
/* CHECK ME we need to revisit all of the bgp_show_all_ commands */
BGP_INSTANCE_ALL_HELP_STR
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
u_char uj = use_json(argc, argv);
bgp_show_all_instances_routes_vty (vty, AFI_IP6, SAFI_UNICAST, uj);
"Display detailed prefix count information\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_peer = 4;
struct peer *peer;
u_char uj = use_json(argc, argv);
"Display detailed prefix count information\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 4;
int idx_peer = 6;
struct peer *peer;
"Display detailed prefix count information\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_peer = 4;
struct peer *peer;
u_char uj = use_json(argc, argv);
"Display detailed prefix count information\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 3;
int idx_peer = 6;
struct peer *peer;
"Display detailed prefix count information\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_safi = 4;
int idx_peer = 6;
struct peer *peer;
"Display detailed prefix count information\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_peer = 6;
struct peer *peer;
u_char uj = use_json(argc, argv);
"Name of the route map\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_afi = 5;
"Display the prefixlist filter\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_afi;
"Display flap statistics of the routes learned from neighbor\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_afi;
"Value to start suppressing a route\n"
"Maximum duration to suppress a stable route\n")
{
+ /* CHECK ME argc referenced below */
int idx_half_life = 2;
int idx_reuse = 3;
int idx_suppress = 4;
"IP address of peer\n"
"IPv6 address of peer\n")
{
+ /* CHECK ME argc referenced below */
int idx_peer = 3;
if (argc <= idx_peer)
"IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 4;
if (argc <= idx_word)
return bgp_route_match_delete (vty, vty->index, "ip address", NULL,
"IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 4;
if (argc <= idx_word)
return bgp_route_match_delete (vty, vty->index, "ip next-hop", NULL,
"Match portion of routes defined by percentage value\n"
"Percentage of routes\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
if (argc <= idx_number)
return bgp_route_match_delete (vty, vty->index, "probability", NULL,
"IP access-list number (expanded range)\n"
"IP standard access-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 4;
if (argc <= idx_number)
return bgp_route_match_delete (vty, vty->index, "ip route-source",
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 5;
if (argc <= idx_word)
return bgp_route_match_delete (vty, vty->index, "ip address prefix-list",
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 5;
if (argc <= idx_word)
return bgp_route_match_delete (vty, vty->index, "ip next-hop prefix-list",
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 5;
if (argc <= idx_word)
return bgp_route_match_delete (vty, vty->index, "ip route-source prefix-list",
"Match metric of route\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
if (argc <= idx_number)
return bgp_route_match_delete (vty, vty->index, "metric",
"Match local preference of route\n"
"Local preference value\n")
{
+ /* CHECK ME argc referenced below */
int idx_localpref = 3;
if (argc <= idx_localpref)
return bgp_route_match_delete (vty, vty->index, "local-preference",
"Use peer address (for BGP only)\n"
"IP address of next hop\n")
{
+ /* CHECK ME argc referenced below */
int idx_peer = 4;
if (argc <= idx_peer)
return bgp_route_set_delete (vty, vty->index, "ip next-hop", NULL);
"Metric value for destination routing protocol\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
if (argc <= idx_number)
return bgp_route_set_delete (vty, vty->index, "metric", NULL);
"BGP local preference path attribute\n"
"Preference value\n")
{
+ /* CHECK ME argc referenced below */
int idx_localpref = 3;
if (argc <= idx_localpref)
return bgp_route_set_delete (vty, vty->index, "local-preference", NULL);
"BGP weight for routing table\n"
"Weight value\n")
{
+ /* CHECK ME argc referenced below */
int idx_weight = 3;
if (argc <= idx_weight)
return bgp_route_set_delete (vty, vty->index, "weight", NULL);
"Use the peer's AS-number\n"
"Number of times to insert")
{
+ /* CHECK ME argc referenced below */
int ret;
char *str;
"Prepend to the as-path\n"
"AS number\n")
{
+ /* CHECK ME argc referenced below */
int ret;
char *str;
"Exclude from the as-path\n"
"AS number\n")
{
+ /* CHECK ME argc referenced below */
int ret;
char *str;
"Exclude from the as-path\n"
"AS number\n")
{
+ /* CHECK ME argc referenced below */
int ret;
char *str;
"BGP community attribute\n"
COMMUNITY_VAL_STR)
{
+ /* CHECK ME argc referenced below */
int i;
int first = 0;
int additive = 0;
"Route Target extended community\n"
"VPN extended community\n")
{
+ /* CHECK ME argc referenced below */
int ret;
char *str;
"Site-of-Origin extended community\n"
"VPN extended community\n")
{
+ /* CHECK ME argc referenced below */
int ret;
char *str;
"AS number\n"
"IP address of aggregator\n")
{
+ /* CHECK ME argc referenced below */
int idx_asn = 4;
int idx_ip = 5;
int ret;
"Tag value for routing protocol\n"
"Tag value\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
if (argc <= idx_number)
return bgp_route_set_delete (vty, vty->index, "tag", NULL);
"IPv6 global address\n"
"IPv6 address of next hop\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv6 = 5;
if (argc <= idx_ipv6)
return bgp_route_set_delete (vty, vty->index, "ipv6 next-hop global", NULL);
"IPv6 local address\n"
"IPv6 address of next hop\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv6 = 5;
if (argc <= idx_ipv6)
return bgp_route_set_delete (vty, vty->index, "ipv6 next-hop local", NULL);
"VPNv4 next-hop address\n"
"IP address of next hop\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 4;
if (argc <= idx_ipv4)
return bgp_route_set_delete (vty, vty->index, "vpnv4 next-hop", NULL);
"BGP originator ID attribute\n"
"IP address of originator\n")
{
+ /* CHECK ME argc referenced below */
int idx_id = 3;
if (argc < idx_id)
return bgp_route_set_delete (vty, vty->index, "originator-id", NULL);
AS_STR
BGP_INSTANCE_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_asn = 2;
int idx_view_vrf = 3;
int idx_vrf = 4;
AS_STR
BGP_INSTANCE_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_asn = 3;
int idx_vrf = 5;
as_t as;
"Override configured router identifier\n"
"Manually configured router identifier\n")
{
+ /* CHECK ME argc referenced below */
int idx_router_id = 3;
int ret;
struct in_addr id;
"Peer ASs in BGP confederation\n"
AS_STR)
{
+ /* CHECK ME argc referenced below */
struct bgp *bgp;
as_t as;
int i;
"Peer ASs in BGP confederation\n"
AS_STR)
{
+ /* CHECK ME argc referenced below */
struct bgp *bgp;
as_t as;
int i;
"Effective on a startup\n"
"Time (seconds) period for max-med\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
struct bgp *bgp;
"Time (seconds) period for max-med\n"
"Max MED value to be used\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
int idx_number_2 = 4;
struct bgp *bgp;
"Member of the peer-group\n"
"peer-group name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 1;
int idx_peer_group_word = 4;
"Member of the peer-group\n"
"peer-group name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 1;
int idx_peer_group_word = 5;
"Neighbor specific description\n"
"Up to 80 characters describing this neighbor\n")
{
+ /* CHECK ME argc referenced below */
int idx_peer = 1;
struct peer *peer;
char *str;
"Interface\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
int idx_ip = 1;
int idx_word = 3;
if (argc == 3)
"Accept as-path with my AS present in it\n"
"Number of occurances of AS number\n")
{
+ /* CHECK ME argc referenced below */
int idx_peer = 1;
int idx_number = 3;
int ret;
BGP_SOFT_IN_STR
BGP_SOFT_OUT_STR)
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_clr_sort = 5;
"Show BGP VRFs\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
struct list *inst = bm->bgp;
struct listnode *node;
struct bgp *bgp;
"Summary of BGP neighbor status\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_afi;
"Summary of BGP neighbor status\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
u_char uj = use_json(argc, argv);
bgp_show_all_instances_summary_vty (vty, AFI_IP, SAFI_UNICAST, uj);
"Neighbor on bgp configured interface\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
int idx_ip = 1;
int idx_view_vrf = 3;
int idx_vrf = 4;
"Detailed information on TCP and BGP neighbor connections\n"
"JavaScript Object Notation\n")
{
+ /* CHECK ME argc referenced below */
u_char uj = use_json(argc, argv);
bgp_show_all_instances_neighbors_vty (vty, uj);
"Detailed info about dynamic update groups\n"
"Specific subgroup to display detailed info for\n")
{
+ /* CHECK ME argc referenced below */
int idx_view_vrf = 3;
int idx_vrf = 4;
int idx_afi;
"Specify community to accept\n"
COMMUNITY_VAL_STR)
{
+ /* CHECK ME argc referenced below */
return community_list_set_vty (vty, argc, argv, COMMUNITY_LIST_STANDARD);
}
"Specify community to accept\n"
COMMUNITY_VAL_STR)
{
+ /* CHECK ME argc referenced below */
return community_list_unset_vty (vty, argc, argv, COMMUNITY_LIST_STANDARD);
}
"Specify community to accept\n"
COMMUNITY_VAL_STR)
{
+ /* CHECK ME argc referenced below */
return community_list_set_vty (vty, argc, argv, COMMUNITY_LIST_EXPANDED);
}
"Specify community to accept\n"
COMMUNITY_VAL_STR)
{
+ /* CHECK ME argc referenced below */
return community_list_unset_vty (vty, argc, argv, COMMUNITY_LIST_EXPANDED);
}
"Specify community to accept\n"
EXTCOMMUNITY_VAL_STR)
{
+ /* CHECK ME argc referenced below */
return extcommunity_list_set_vty (vty, argc, argv, EXTCOMMUNITY_LIST_STANDARD);
}
"Specify community to accept\n"
"An ordered list as a regular-expression\n")
{
+ /* CHECK ME argc referenced below */
return extcommunity_list_set_vty (vty, argc, argv, EXTCOMMUNITY_LIST_EXPANDED);
}
"Specify community to accept\n"
EXTCOMMUNITY_VAL_STR)
{
+ /* CHECK ME argc referenced below */
return extcommunity_list_unset_vty (vty, argc, argv, EXTCOMMUNITY_LIST_EXPANDED);
}
"Specify community to accept\n"
"An ordered list as a regular-expression\n")
{
+ /* CHECK ME argc referenced below */
return extcommunity_list_unset_vty (vty, argc, argv, EXTCOMMUNITY_LIST_EXPANDED);
}
"Redistribute into level-1\n"
"Redistribute into level-2\n")
{
+ /* CHECK ME argc referenced below */
int idx_afi = 2;
int idx_protocol = 3;
int idx_level = 4;
"Route map reference\n"
"Pointer to route-map entries\n")
{
+ /* CHECK ME argc referenced below */
int idx_afi = 2;
int idx_level = 3;
int idx_metric_rmap = 4;
"Distribute default route into level-1\n"
"Distribute default route into level-2\n")
{
+ /* CHECK ME argc referenced below */
int idx_afi = 3;
int idx_level = 4;
struct isis_area *area = vty->index;
"IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_acl = 4;
if (argc <= idx_acl)
return isis_route_match_delete(vty, vty->index, "ip address", NULL);
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 5;
if (argc <= idx_word)
return isis_route_match_delete (vty, vty->index, "ip address prefix-list", NULL);
"Match IPv6 address of route\n"
"IPv6 access-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 4;
if (argc <= idx_word)
return isis_route_match_delete(vty, vty->index, "ipv6 address", NULL);
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 5;
if (argc <= idx_word)
return isis_route_match_delete (vty, vty->index, "ipv6 address prefix-list", NULL);
"Metric value for destination routing protocol\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
if (argc <= idx_number)
return isis_route_set_delete(vty, vty->index, "metric", NULL);
"Interface information\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
int idx_interface = 4;
struct interface *ifp;
struct listnode *node;
"Send but do not check PDUs on receiving\n"
"Send and check PDUs on receiving\n")
{
+ /* CHECK ME argc referenced below */
int idx_password = 0;
int idx_word = 2;
int idx_type = 5;
"Send but do not check PDUs on receiving\n"
"Send and check PDUs on receiving\n")
{
+ /* CHECK ME argc referenced below */
int idx_password = 0;
int idx_word = 2;
int idx_type = 5;
"Optional param 3\n"
"Topology\n")
{
+ /* CHECK ME argc referenced below */
struct isis_area *area;
area = vty->index;
"quit",
"Exit current mode and down to previous mode\n")
{
+ /* CHECK ME argc referenced below */
return config_exit (self, vty, argc, argv);
}
"Write configuration currently in memory\n"
"Write configuration to terminal\n")
{
+ /* CHECK ME argc referenced below */
int idx_type = 1;
unsigned int i;
int fd;
SHOW_STR
"running configuration (same as write terminal/memory)\n")
{
+ /* CHECK ME argc referenced below */
return config_write (self, vty, argc, argv);
}
"Copy running config to... \n"
"Copy running config to startup config (same as write file)\n")
{
+ /* CHECK ME argc referenced below */
return config_write (self, vty, argc, argv);
}
/** -- **/
"Specifies a HIDDEN password will follow\n"
"The password string\n")
{
+ /* CHECK ME argc referenced below */
int idx_8 = 1;
int idx_word = 2;
if (argc == 3) // '8' was specified
"dummy string \n"
"The HIDDEN 'enable' password string\n")
{
+ /* CHECK ME argc referenced below */
int idx_8 = 2;
int idx_word = 3;
/* Crypt type is specified. */
LOG_LEVEL_DESC
"The message to send\n")
{
+ /* CHECK ME argc referenced below */
int idx_log_level = 1;
int level;
char *message;
"Set stdout logging level\n"
LOG_LEVEL_DESC)
{
+ /* CHECK ME argc referenced below */
int idx_log_level = 2;
if (argc == 2)
{
"Set terminal line (monitor) logging level\n"
LOG_LEVEL_DESC)
{
+ /* CHECK ME argc referenced below */
int idx_log_level = 2;
if (argc == 2)
{
"Logging filename\n"
LOG_LEVEL_DESC)
{
+ /* CHECK ME argc referenced below */
int idx_filename = 2;
int idx_log_levels = 3;
if (argc == 4)
"Set syslog logging level\n"
LOG_LEVEL_DESC)
{
+ /* CHECK ME argc referenced below */
int idx_log_levels = 2;
if (argc == 3)
{
"Filter outgoing routing updates\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
int prefix = (argv[1]->type == WORD_TKN) ? 1 : 0;
/* Check of distribute list type. */
"Filter outgoing routing updates\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
int prefix = (argv[2]->type == WORD_TKN) ? 1 : 0;
/* Check of distribute list type. */
"Access list entry comment\n"
"Comment up to 100 characters\n")
{
+ /* CHECK ME argc referenced below */
int idx_acl = 1;
struct access_list *access;
"Access list entry comment\n"
"Comment up to 100 characters\n")
{
+ /* CHECK ME argc referenced below */
return no_access_list_remark (self, vty, argc, argv);
}
"Access list entry comment\n"
"Comment up to 100 characters\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 2;
struct access_list *access;
"Access list entry comment\n"
"Comment up to 100 characters\n")
{
+ /* CHECK ME argc referenced below */
return no_ipv6_access_list_remark (self, vty, argc, argv);
}
GRAMMAR_STR
"command to pass to new parser\n")
{
+ /* CHECK ME argc referenced below */
// make a string from tokenized command line
char *command = argv_concat (argv, argc, 0);
"attempt to complete input on DFA\n"
"command to complete")
{
+ /* CHECK ME argc referenced below */
char *cmdstr = argv_concat (argv, argc, 0);
vector command = cmd_make_strvec (cmdstr);
"attempt to match input on DFA\n"
"command to match")
{
+ /* CHECK ME argc referenced below */
if (argv[0][0] == '#')
return CMD_SUCCESS;
"Interface specific description\n"
"Characters describing this interface\n")
{
+ /* CHECK ME argc referenced below */
struct interface *ifp;
if (argc == 1)
"Interface's name\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ifname = 1;
const char *ifname = argv[idx_ifname]->arg;
const char *vrfname = (argc > 2) ? argv[3]->arg : NULL;
"address\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_vrf_cmd_str = 2;
struct listnode *node;
struct listnode *node2;
"Prefix-list specific description\n"
"Up to 80 characters describing this prefix-list\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 2;
struct prefix_list *plist;
"Prefix-list specific description\n"
"Up to 80 characters describing this prefix-list\n")
{
+ /* CHECK ME argc referenced below */
return no_ip_prefix_list_description (self, vty, argc, argv);
}
"Prefix-list specific description\n"
"Up to 80 characters describing this prefix-list\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 2;
struct prefix_list *plist;
"Prefix-list specific description\n"
"Up to 80 characters describing this prefix-list\n")
{
+ /* CHECK ME argc referenced below */
return no_ipv6_prefix_list_description_comment (self, vty, argc, argv);
}
"Goto Clause number\n"
"Number\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 2;
char *num = NULL;
if (!strcmp (argv[0]->text, "continue"))
"Continue on a different entry within the route-map\n"
"Route-map entry sequence number\n")
{
+ /* CHECK ME argc referenced below */
return rmap_onmatch_goto (self, vty, argc, argv);
}
"Continue on a different entry within the route-map\n"
"Route-map entry sequence number\n")
{
+ /* CHECK ME argc referenced below */
return no_rmap_onmatch_goto (self, vty, argc, argv);
}
"route-map information\n"
"route-map name\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 2;
const char *name = (argc == 3) ? argv[idx_word]->arg : NULL;
return vty_show_route_map (vty, name);
"Route-map comment\n"
"Comment describing this route-map rule\n")
{
+ /* CHECK ME argc referenced below */
struct route_map_index *index;
index = vty->index;
"Thread CPU usage\n"
"Display filter (rwtexb)\n")
{
+ /* CHECK ME argc referenced below */
int idx_filter = 3;
int i = 0;
thread_type filter = (thread_type) -1U;
"Thread CPU usage\n"
"Display filter (rwtexb)\n")
{
+ /* CHECK ME argc referenced below */
int idx_filter = 3;
int i = 0;
thread_type filter = (thread_type) -1U;
"Filter connections based on an IP access list\n"
"IP access list\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 2;
const char *accesslist = (argc == 3) ? argv[idx_word]->arg : NULL;
if (! vty_accesslist_name || (argc && strcmp(vty_accesslist_name, accesslist)))
"Filter connections based on an IP access list\n"
"IPv6 access list\n")
{
+ /* CHECK ME argc referenced below */
int idx_word = 3;
const char *accesslist = (argc == 4) ? argv[idx_word]->arg : NULL;
"Set terminal line parameters\n"
"Copy debug output to the current terminal line\n")
{
+ /* CHECK ME argc referenced below */
return terminal_no_monitor (self, vty, argc, argv);
}
"Specify IPv6 prefix\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 1;
int idx_ipv6_prefixlen = 3;
int ret;
"Configured address range\n"
"Specify IPv6 prefix\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 2;
int ret;
struct ospf6_area *oa;
"Filter networks sent to this area\n"
"Filter networks sent from this area\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 1;
int idx_word = 4;
struct ospf6_area *area;
"Filter networks sent to this area\n"
"Filter networks sent from this area\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 2;
int idx_word = 5;
struct ospf6_area *area;
SET_STR
"Metric value for destination routing protocol\n")
{
+ /* CHECK ME argc referenced below */
int ret = 0;
if (argc == 0)
IFNAME_STR
)
{
+ /* CHECK ME argc referenced below */
int idx_ifname = 4;
struct interface *ifp;
struct listnode *i;
"Display connected prefixes to advertise\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_ifname = 4;
struct interface *ifp;
struct ospf6_interface *oi;
"Display connected prefixes to advertise\n"
)
{
+ /* CHECK ME argc referenced below */
struct listnode *i;
struct ospf6_interface *oi;
struct interface *ifp;
IFNAME_STR
)
{
+ /* CHECK ME argc referenced below */
int idx_ifname = 4;
struct interface *ifp;
struct listnode *node;
"Specify LS type as Hexadecimal\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 3;
unsigned int i;
struct ospf6_lsa_handler *handler = NULL;
"Specify LS type as Hexadecimal\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 4;
u_int i;
struct ospf6_lsa_handler *handler = NULL;
"Debug All message\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_packet = 3;
unsigned char level = 0;
int type = 0;
"Debug All message\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_packet = 4;
unsigned char level = 0;
int type = 0;
"Neighbor list\n"
)
{
+ /* CHECK ME argc referenced below */
struct ospf6_neighbor *on;
struct ospf6_interface *oi;
struct ospf6_area *oa;
"Debug OSPFv3 Neighbor\n"
)
{
+ /* CHECK ME argc referenced below */
unsigned char level = 0;
if (argc)
{
"Debug OSPFv3 Neighbor\n"
)
{
+ /* CHECK ME argc referenced below */
unsigned char level = 0;
if (argc)
{
"Initial hold time (msec) between consecutive SPF calculations\n"
"Maximum hold time (msec)\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
int idx_number_2 = 4;
int idx_number_3 = 5;
"Minimum delay in receiving new version of a LSA\n"
"Delay in milliseconds\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
unsigned int minarrival;
struct ospf6 *ospf = vty->index;
"OSPF6 LSA timers\n"
"Minimum delay in receiving new version of a LSA\n")
{
+ /* CHECK ME argc referenced below */
unsigned int minarrival;
struct ospf6 *ospf = vty->index;
ROUTE_STR
)
{
+ /* CHECK ME argc referenced below */
OSPF6_CMD_CHECK_RUNNING ();
ospf6_route_table_show (vty, argc, argv, ospf6->route_table);
"Display routes which match the specified route\n"
)
{
+ /* CHECK ME argc referenced below */
OSPF6_CMD_CHECK_RUNNING ();
ospf6_route_table_show (vty, argc, argv, ospf6->route_table);
"Detailed information\n"
)
{
+ /* CHECK ME argc referenced below */
OSPF6_CMD_CHECK_RUNNING ();
ospf6_route_table_show (vty, argc, argv, ospf6->route_table);
"Detailed information\n"
)
{
+ /* CHECK ME argc referenced below */
OSPF6_CMD_CHECK_RUNNING ();
ospf6_route_table_show (vty, argc, argv, ospf6->route_table);
"Debug Receiving zebra\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_send_recv = 3;
unsigned char level = 0;
"Debug Receiving zebra\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_send_recv = 4;
unsigned char level = 0;
"Display Link state database\n"
)
{
+ /* CHECK ME argc referenced below */
int level;
struct listnode *i, *j;
struct ospf6 *o = ospf6;
"Display Intra-Area-Prefix LSAs\n"
)
{
+ /* CHECK ME argc referenced below */
int level;
struct listnode *i, *j;
struct ospf6 *o = ospf6;
"Specify Link state ID as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 5;
int level;
struct listnode *i, *j;
"Specify Advertising Router as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 6;
int level;
struct listnode *i, *j;
"Specify Link state ID as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 4;
int level;
struct listnode *i, *j;
"Specify Advertising Router as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 4;
int level;
struct listnode *i, *j;
"Specify Advertising Router as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 5;
int level;
struct listnode *i, *j;
"Specify Link state ID as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 5;
int level;
struct listnode *i, *j;
"Specify Advertising Router as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 4;
int level;
struct listnode *i, *j;
"Specify Link state ID as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 4;
int level;
struct listnode *i, *j;
"Display Self-originated LSAs\n"
)
{
+ /* CHECK ME argc referenced below */
int level;
struct listnode *i, *j;
struct ospf6 *o = ospf6;
"Display Self-originated LSAs\n"
)
{
+ /* CHECK ME argc referenced below */
int level;
struct listnode *i, *j;
struct ospf6 *o = ospf6;
"Specify Link state ID as IPv4 address notation\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 4;
int level;
struct listnode *i, *j;
"Display Self-originated LSAs\n"
)
{
+ /* CHECK ME argc referenced below */
int idx_lsa = 4;
int level;
struct listnode *i, *j;
"Display routing table for ABR and ASBR\n"
)
{
+ /* CHECK ME argc referenced below */
u_int32_t adv_router;
void (*showfunc) (struct vty *, struct ospf6_route *);
struct ospf6_route *ro;
"Display linkstate routing table\n"
)
{
+ /* CHECK ME argc referenced below */
struct listnode *node;
struct ospf6_area *oa;
"Display linkstate routing table\n"
)
{
+ /* CHECK ME argc referenced below */
struct listnode *node;
struct ospf6_area *oa;
"Detail Information\n"
"Detail Information\n")
{
+ /* CHECK ME argc referenced below */
int inst = (argv[2]->type == RANGE_TKN) ? 1 : 0;
int detail = strmatch (argv[argc - 1]->text, "detail");
int send = strmatch (argv[argc - (1+detail)]->text, "send");
"Detail Information\n"
"Detail Information\n")
{
+ /* CHECK ME argc referenced below */
int inst = (argv[3]->type == RANGE_TKN) ? 1 : 0;
int detail = strmatch (argv[argc - 1]->text, "detail");
int send = strmatch (argv[argc - (1+detail)]->text, "send");
"ISM Event Information\n"
"ISM TImer Information\n")
{
+ /* CHECK ME argc referenced below */
int inst = (argv[2]->type == RANGE_TKN);
char *dbgparam = (argc == 4 + inst) ? argv[argc - 1]->text : NULL;
"ISM Event Information\n"
"ISM TImer Information\n")
{
+ /* CHECK ME argc referenced below */
int inst = (argv[3]->type == RANGE_TKN);
char *dbgparam = (argc == 5 + inst) ? argv[argc - 1]->text : NULL;
OSPF_STR
"OSPF Neighbor State Machine\n")
{
+ /* CHECK ME argc referenced below */
return debug_ospf_nsm_common (vty, 0, argc, argv);
}
"Instance ID\n"
"OSPF Neighbor State Machine\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 2;
u_short instance = 0;
OSPF_STR
"OSPF Neighbor State Machine")
{
+ /* CHECK ME argc referenced below */
return no_debug_ospf_nsm_common(vty, 0, argc, argv);
}
"Instance ID\n"
"OSPF Neighbor State Machine")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
u_short instance = 0;
OSPF_STR
"OSPF Link State Advertisement\n")
{
+ /* CHECK ME argc referenced below */
return debug_ospf_lsa_common(vty, 0, argc, argv);
}
"Instance ID\n"
"OSPF Link State Advertisement\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 2;
u_short instance = 0;
OSPF_STR
"OSPF Link State Advertisement\n")
{
+ /* CHECK ME argc referenced below */
return no_debug_ospf_lsa_common (vty, 0, argc, argv);
}
"Instance ID\n"
"OSPF Link State Advertisement\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
u_short instance = 0;
OSPF_STR
"OSPF Zebra information\n")
{
+ /* CHECK ME argc referenced below */
return debug_ospf_zebra_common(vty, 0, argc, argv);
}
"Instance ID\n"
"OSPF Zebra information\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 2;
u_short instance = 0;
OSPF_STR
"OSPF Zebra information\n")
{
+ /* CHECK ME argc referenced below */
return no_debug_ospf_zebra_common(vty, 0, argc, argv);
}
"Instance ID\n"
"OSPF Zebra information\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 3;
u_short instance = 0;
"OSPF specific commands\n"
"Enable the Opaque-LSA capability (rfc2370)\n")
{
+ /* CHECK ME argc referenced below */
return capability_opaque (self, vty, argc, argv);
}
"OSPF specific commands\n"
"Enable the Opaque-LSA capability (rfc2370)\n")
{
+ /* CHECK ME argc referenced below */
return no_capability_opaque (self, vty, argc, argv);
}
"Enable the Router Information functionality with Area flooding scope\n"
"OSPF area ID in IP format")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 2;
char *area = (argc == 3) ? argv[idx_ipv4]->arg : NULL;
"IP access-list number (expanded range)\n"
"IP access-list name\n")
{
+ /* CHECK ME argc referenced below */
char *al = (argc == 5) ? argv[4]->arg : NULL;
return ospf_route_match_delete (vty, vty->index, "ip next-hop", al);
}
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
char *pl = (argc == 6) ? argv[5]->arg : NULL;
return ospf_route_match_delete (vty, vty->index, "ip next-hop prefix-list", pl);
}
"IP access-list number (expanded range)\n"
"IP access-list name\n")
{
+ /* CHECK ME argc referenced below */
char *al = (argc == 5) ? argv[4]->arg : NULL;
return ospf_route_match_delete (vty, vty->index, "ip address", al);
}
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
char *pl = (argc == 6) ? argv[5]->arg : NULL;
return ospf_route_match_delete (vty, vty->index, "ip address prefix-list", pl);
}
"Match first hop interface of route\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
char *iface = (argc == 4) ? argv[3]->arg : NULL;
return ospf_route_match_delete (vty, vty->index, "interface", iface);
}
"Match tag of route\n"
"Tag value\n")
{
+ /* CHECK ME argc referenced below */
char *tag = (argc == 4) ? argv[3]->arg : NULL;
return ospf_route_match_delete (vty, vty->index, "tag", tag);
}
"Metric value for destination routing protocol\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return ospf_route_set_delete (vty, vty->index, "metric", mval);
}
"OSPF[6] external type 1 metric\n"
"OSPF[6] external type 2 metric\n")
{
+ /* CHECK ME argc referenced below */
char *ext = (argc == 4) ? argv[3]->text : NULL;
return ospf_route_set_delete (vty, vty->index, "metric-type", ext);
}
"Tag value for routing protocol\n"
"Tag value\n")
{
+ /* CHECK ME argc referenced below */
char *tag = (argc == 4) ? argv[3]->arg : NULL;
return ospf_route_set_delete (vty, vty->index, "tag", tag);
}
"Interface information\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
int idx_interface = 5;
struct interface *ifp;
struct listnode *node, *nnode;
CONF_SSMPINGD_STR
"Source address\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 2;
int result;
struct in_addr source_addr;
CONF_SSMPINGD_STR
"Source address\n")
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 3;
int result;
struct in_addr source_addr;
IFACE_PIM_HELLO_TIME_STR
IFACE_PIM_HELLO_HOLD_STR)
{
+ /* CHECK ME argc referenced below */
int idx_time = 3;
int idx_hold = 4;
struct interface *ifp;
"Record type\n"
"Sources\n")
{
+ /* CHECK ME argc referenced below */
int idx_number = 4;
int idx_ipv4 = 5;
int idx_number_2 = 6;
"Neighbor address\n"
"Packet dump\n")
{
+ /* CHECK ME argc referenced below */
int idx_interface = 4;
int idx_ipv4 = 5;
uint8_t buf[1000];
"Neighbor LAN prune delay T-bit\n"
"Neighbor secondary addresses\n")
{
+ /* CHECK ME argc referenced below */
int idx_interface = 4;
int idx_ipv4 = 5;
int idx_number = 6;
"RFC compatible\n"
"Old ripd compatible\n")
{
+ /* CHECK ME argc referenced below */
char *cryptmode = argv[4]->text;
char *authlen = (argc > 5) ? argv[6]->text : NULL;
struct interface *ifp;
"Match metric of route\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "metric", mval);
}
"Match first hop interface of route\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
char *iface = (argc == 4) ? argv[3]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "interface", iface);
}
"IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
+ /* CHECK ME argc referenced below */
char *al = (argc == 5) ? argv[4]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "ip next-hop", al);
}
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
char *plist = (argc == 6) ? argv[5]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "ip next-hop prefix-list", plist);
}
"IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
+ /* CHECK ME argc referenced below */
char *al = (argc == 5) ? argv[4]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "ip address", al);
}
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
char *plist = (argc == 6) ? argv[5]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "ip address prefix-list", plist);
}
"Match tag of route\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return rip_route_match_delete (vty, vty->index, "tag", mval);
}
"Next hop address\n"
"IP address of next hop\n")
{
+ /* CHECK ME argc referenced below */
char *addr = (argc == 5) ? argv[4]->arg : NULL;
return rip_route_set_delete (vty, vty->index, "ip next-hop", addr);
}
"Tag value for routing protocol\n"
"Tag value\n")
{
+ /* CHECK ME argc referenced below */
char *tag = (argc == 4) ? argv[3]->arg : NULL;
return rip_route_set_delete (vty, vty->index, "tag", tag);
}
"Match metric of route\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_match_delete (vty, vty->index, "metric", mval);
}
"Match first hop interface of route\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
char *iface = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_match_delete (vty, vty->index, "interface", iface);
}
"Match tag of route\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_match_delete (vty, vty->index, "tag", mval);
}
"Metric value for destination routing protocol\n"
"Metric value\n")
{
+ /* CHECK ME argc referenced below */
char *mval = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_set_delete (vty, vty->index, "metric", mval);
}
"IPv6 local address\n"
"IPv6 address of next hop\n")
{
+ /* CHECK ME argc referenced below */
char *addr = (argc == 6) ? argv[5]->arg : NULL;
return ripng_route_set_delete (vty, vty->index, "ipv6 next-hop local", addr);
}
"Tag value for routing protocol\n"
"Tag value\n")
{
+ /* CHECK ME argc referenced below */
char *tag = (argc == 4) ? argv[3]->arg : NULL;
return ripng_route_set_delete (vty, vty->index, "tag", tag);
}
return used
+ def uses_argc(self):
+ for line in self.guts:
+ if 'CHECK ME argc referenced below' in line:
+ return False
+
+ if 'use_json (argc, argv)' in line:
+ continue
+
+ if 'argc' in line:
+ return True
+ return False
+
def dump(self):
new_command_string = self.get_new_command_string()
new_command_string_expanded = expand_command_string(new_command_string)
lines.extend(self.help_strings)
lines.append('{\n')
+ if self.uses_argc():
+ lines.append(" /* CHECK ME argc referenced below */\n")
lines.extend(self.guts)
'''
"Thread CPU usage\n"
"Display filter (rwtexb)\n")
{
+ /* CHECK ME argc referenced below */
unsigned int i;
int ret = CMD_SUCCESS;
char line[100];
"Write running configuration to memory, network, or terminal\n"
"Write to terminal\n")
{
+ /* CHECK ME argc referenced below */
u_int i;
char line[] = "write terminal\n";
FILE *fp = NULL;
"Interface status and configuration\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
struct listnode *node;
struct interface *ifp;
vrf_id_t vrf_id = VRF_DEFAULT;
"Interface name\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ifname = 2;
int idx_name = 4;
struct interface *ifp;
"Interface description\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
vrf_id_t vrf_id = VRF_DEFAULT;
if (argc > 3)
"Maximum delay\n"
"Maximum delay in micro-second as decimal (0...16777215)\n")
{
+ /* CHECK ME argc referenced below */
/* Get and Check new delay values */
u_int32_t delay = 0, low = 0, high = 0;
VTY_GET_ULONG("delay", delay, argv[1]->arg);
"IP address to use for router-id\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 1;
int idx_name = 3;
"IP address to use for router-id\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_name = 4;
struct prefix rid;
"Do not use prefix for autoconfiguration\n"
"Do not use prefix for onlink determination\n")
{
+ /* CHECK ME argc referenced below */
/* prelude */
char *prefix = argv[3]->arg;
int lifetimes = (argc > 4) && (argv[4]->type == RANGE_TKN || strmatch (argv[4]->text, "infinite"));
"up\n"
"down\n")
{
+ /* CHECK ME argc referenced below */
int idx_up_down = 1;
struct interface *ifp;
if (argc < 1)
"Match first hop interface of route\n"
"Interface name\n")
{
+ /* CHECK ME argc referenced below */
char *iface = (argc == 4) ? argv[3]->arg : NULL;
return zebra_route_match_delete (vty, vty->index, "interface", iface, RMAP_EVENT_MATCH_DELETED);
}
MATCH_STR
"Match tag of route\n")
{
+ /* CHECK ME argc referenced below */
char *tag = (argc == 4) ? argv[3]->arg : NULL;
return zebra_route_match_delete (vty, vty->index, "tag", tag, RMAP_EVENT_MATCH_DELETED);
}
"IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
+ /* CHECK ME argc referenced below */
char *al = (argc == 5) ? argv[4]->arg : NULL;
return zebra_route_match_delete (vty, vty->index, "ip next-hop", al, RMAP_EVENT_FILTER_DELETED);
}
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
char *plist = (argc == 6) ? argv[5]->arg : NULL;
return zebra_route_match_delete (vty, vty->index,
"ip next-hop prefix-list", plist,
"IP access-list number (expanded range)\n"
"IP Access-list name\n")
{
+ /* CHECK ME argc referenced below */
char *al = (argc == 5) ? argv[4]->arg : NULL;
return zebra_route_match_delete (vty, vty->index, "ip address", al, RMAP_EVENT_FILTER_DELETED);
}
"Match entries of prefix-lists\n"
"IP prefix-list name\n")
{
+ /* CHECK ME argc referenced below */
char *plist = (argc == 6) ? argv[5]->arg : NULL;
return zebra_route_match_delete (vty, vty->index,
"ip address prefix-list", plist,
"Match prefixlen of ip address of route\n"
"Prefix length\n")
{
+ /* CHECK ME argc referenced below */
char *plen = (argc == 6) ? argv[5]->arg : NULL;
return zebra_route_match_delete (vty, vty->index,
"ip address prefix-len", plen,
"Match prefix length of nexthop\n"
"Prefix length\n")
{
+ /* CHECK ME argc referenced below */
char *plen = (argc == 6) ? argv[5]->arg : NULL;
return zebra_route_match_delete (vty, vty->index,
"ip next-hop prefix-len", plen,
"No match protocol via which the route was learnt\n"
)
{
+ /* CHECK ME argc referenced below */
char *proto = (argc == 4) ? argv[3]->text : NULL;
return zebra_route_match_delete (vty, vty->index, "source-protocol", proto, RMAP_EVENT_MATCH_DELETED);
}
SET_STR
"Source address for route\n")
{
+ /* CHECK ME argc referenced below */
char *ip = (argc == 4) ? argv[3]->arg : NULL;
return zebra_route_set_delete (vty, vty->index, "src", ip);
}
"Specify route map\n"
"Route map name\n")
{
+ /* CHECK ME argc referenced below */
char *proto = argv[3]->text;
char *rmap = (argc == 6) ? argv[5]->arg : NULL;
int i;
"Specify route map\n"
"Route map name\n")
{
+ /* CHECK ME argc referenced below */
const char *proto = argv[3]->text;
const char *rmap = (argc == 6) ? argv[5]->arg : NULL;
int i;
"Specify route map\n"
"Route map name\n")
{
+ /* CHECK ME argc referenced below */
char *proto = argv[3]->text;
char *rmap = (argc == 6) ? argv[5]->arg : NULL;
int i;
"Specify route map\n"
"Route map name\n")
{
+ /* CHECK ME argc referenced below */
char *proto = argv[3]->text;
char *rmap = (argc == 6) ? argv[5]->arg : NULL;
int i;
"Nexthop interface name\n"
"Distance\n")
{
+ /* CHECK ME argc referenced below */
char *destprefix = argv[2]->arg;
char *nexthop = argv[3]->arg;
char *distance = (argc == 5) ? argv[4]->arg : NULL;
"Nexthop interface name\n"
"Distance\n")
{
+ /* CHECK ME argc referenced below */
char *destprefix = argv[2]->arg;
char *nexthop = argv[3]->arg;
char *distance = (argc == 5) ? argv[4]->arg : NULL;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4_prefixlen = 2;
int idx_ipv4_ifname_null = 3;
int idx_curr = 4;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4_prefixlen = 2;
int idx_ipv4_ifname = 3;
int idx_reject_blackhole = 4;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4_prefixlen = 2;
int idx_reject_blackhole = 3;
int idx_curr = 4;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 2;
int idx_ipv4_2 = 3;
int idx_ipv4_ifname_null = 4;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 2;
int idx_ipv4_2 = 3;
int idx_ipv4_ifname = 4;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 2;
int idx_ipv4_2 = 3;
int idx_reject_blackhole = 4;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4_prefixlen = 3;
int idx_ipv4_ifname_null = 4;
int idx_curr = 5;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4_prefixlen = 3;
int idx_curr = 5;
char *tag, *distance, *vrf;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 3;
int idx_ipv4_2 = 4;
int idx_ipv4_ifname_null = 5;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 3;
int idx_ipv4_2 = 4;
int idx_curr = 6;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4_prefixlen = 3;
int idx_ipv4_ifname = 4;
int idx_reject_blackhole = 5;
"Distance value for this route\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv4 = 3;
int idx_ipv4_2 = 4;
int idx_ipv4_ifname = 5;
IP_STR
"IP routing table\n")
{
+ /* CHECK ME argc referenced below */
return do_show_ip_route (vty, VRF_DEFAULT_NAME, SAFI_UNICAST, use_json(argc, argv));
}
"IP routing table\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_json = 5;
u_char uj = use_json(argc, argv);
"IP nexthop tracking table\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_vrf = 4;
vrf_id_t vrf_id = VRF_DEFAULT;
"IPv6 nexthop tracking table\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_vrf = 4;
vrf_id_t vrf_id = VRF_DEFAULT;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 2;
int idx_ipv6_ifname = 3;
int idx_curr = 4;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 2;
int idx_ipv6_ifname = 3;
int idx_reject_blackhole = 4;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 2;
int idx_ipv6 = 3;
int idx_interface = 4;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 2;
int idx_ipv6 = 3;
int idx_interface = 4;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 3;
int idx_ipv6_ifname = 4;
int idx_curr = 5;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 3;
int idx_ipv6_ifname = 4;
int idx_reject_blackhole = 5;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 3;
int idx_ipv6 = 4;
int idx_interface = 5;
"Distance value for this prefix\n"
VRF_CMD_HELP_STR)
{
+ /* CHECK ME argc referenced below */
int idx_ipv6_prefixlen = 3;
int idx_ipv6 = 4;
int idx_interface = 5;
VRF_CMD_HELP_STR
"Output JSON\n")
{
+ /* CHECK ME argc referenced below */
struct route_table *table;
struct route_node *rn;
struct rib *rib;
VRF_CMD_HELP_STR
QUAGGA_IP6_REDIST_HELP_STR_ZEBRA)
{
+ /* CHECK ME argc referenced below */
int type;
struct route_table *table;
struct route_node *rn;
"route-map for filtering\n"
"route-map name\n")
{
+ /* CHECK ME argc referenced below */
u_int32_t table_id = 0;
VTY_GET_INTEGER("table", table_id, argv[2]->arg);