/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/zebra/ |
H A D | debug.c | 41 vty_out (vty, "Zebra debugging status:%s", VTY_NEWLINE); 44 vty_out (vty, " Zebra event debugging is on%s", VTY_NEWLINE); 50 vty_out (vty, " Zebra packet%s debugging is on%s", 57 vty_out (vty, " Zebra packet send%s debugging is on%s", 61 vty_out (vty, " Zebra packet receive%s debugging is on%s", 68 vty_out (vty, " Zebra kernel debugging is on%s", VTY_NEWLINE); 207 config_write_debug (struct vty *vty) argument 213 vty_out (vty, "debug zebra events%s", VTY_NEWLINE); 220 vty_out (vty, "debu [all...] |
H A D | rib.c | 27 #include "vty.h" 1392 static_ipv4_write (struct vty *vty) 1403 vty_out (vty, "ip route %s/%d", inet_ntoa (rn->p.u.prefix4), 1409 vty_out (vty, " %s", inet_ntoa (si->gate.ipv4)); 1412 vty_out (vty, " %s", si->gate.ifname); 1417 vty_out (vty, " %d", si->distance); 1418 vty_out (vty, "%s", VTY_NEWLINE); 1427 static_ipv4_func (struct vty *vty, in 1389 static_ipv4_write(struct vty *vty) argument 1424 static_ipv4_func(struct vty *vty, int add_cmd, char *dest_str, char *mask_str, char *gate_str, char *distance_str) argument 1591 vty_show_ip_route_detail(struct vty *vty, struct route_node *rn) argument 1690 vty_show_ip_route(struct vty *vty, struct route_node *rn, struct rib *rib) argument 2528 static_ipv6_func(struct vty *vty, int add_cmd, char *dest_str, char *gate_str, char *ifname, char *distance_str) argument 2595 static_ipv6_write(struct vty *vty) argument 2740 vty_show_ipv6_route_detail(struct vty *vty, struct route_node *rn) argument 2850 vty_show_ipv6_route(struct vty *vty, struct route_node *rn, struct rib *rib) argument 3259 config_write_ip(struct vty *vty) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/bgpd/ |
H A D | bgp_mplsvpn.c | 35 int route_vty_out (struct vty *, struct prefix *, struct bgp_info *, int, safi_t); 36 int route_vty_out_tag (struct vty *, struct prefix *, struct bgp_info *, int, safi_t); 37 void route_vty_out_tmp (struct vty *, struct prefix *, struct attr *, safi_t); 294 return bgp_static_set_vpnv4 (vty, argv[0], argv[1], argv[2]); 309 return bgp_static_unset_vpnv4 (vty, argv[0], argv[1], argv[2]); 313 show_adj_route_vpn (struct vty *vty, struct peer *peer, struct prefix_rd *prd) argument 327 vty_out (vty, "No BGP process is configured%s", VTY_NEWLINE); 346 vty_out (vty, "BGP table version is 0, local router ID is %s%s", 348 vty_out (vty, "Statu 407 bgp_show_mpls_vpn(struct vty *vty, struct prefix_rd *prd, enum bgp_show_type type, void *output_arg, int tags) argument [all...] |
H A D | bgp_debug.c | 283 if (vty->node == CONFIG_NODE) 288 vty_out (vty, "BGP fsm debugging is on%s", VTY_NEWLINE); 301 if (vty->node == CONFIG_NODE) 306 vty_out (vty, "BGP fsm debugging is off%s", VTY_NEWLINE); 326 if (vty->node == CONFIG_NODE) 331 vty_out (vty, "BGP events debugging is on%s", VTY_NEWLINE); 344 if (vty->node == CONFIG_NODE) 349 vty_out (vty, "BGP events debugging is off%s", VTY_NEWLINE); 368 if (vty->node == CONFIG_NODE) 373 vty_out (vty, "BG 630 bgp_config_write_debug(struct vty *vty) argument [all...] |
H A D | bgp_aspath.h | 46 /* String expression of AS path. This string is used by vty output 71 void aspath_print_vty (struct vty *, struct aspath *); 72 void aspath_print_all_vty (struct vty *);
|
H A D | bgp_route.h | 144 int bgp_static_set_vpnv4 (struct vty *vty, char *, char *, char *); 146 int bgp_static_unset_vpnv4 (struct vty *, char *, char *, char *); 148 int bgp_config_write_network (struct vty *, struct bgp *, afi_t, safi_t, int *); 149 int bgp_config_write_distance (struct vty *, struct bgp *); 151 void route_vty_out_detail (struct vty *, struct prefix *, struct bgp_info *, 161 afi_t bgp_node_afi (struct vty *); 162 safi_t bgp_node_safi (struct vty *);
|
H A D | bgp_dump.c | 478 bgp_dump_set (struct vty *vty, struct bgp_dump *bgp_dump, int type, 489 vty_out (vty, "Malformed interval string%s", VTY_NEWLINE); 517 bgp_dump_unset (struct vty *vty, struct bgp_dump *bgp_dump) 560 return bgp_dump_set (vty, &bgp_dump_all, BGP_DUMP_ALL, argv[0], NULL); 572 return bgp_dump_set (vty, &bgp_dump_all, BGP_DUMP_ALL, argv[0], argv[1]); 583 return bgp_dump_unset (vty, &bgp_dump_all); 594 return bgp_dump_set (vty, &bgp_dump_updates, BGP_DUMP_UPDATES, argv[0], NULL); 606 return bgp_dump_set (vty, 475 bgp_dump_set(struct vty *vty, struct bgp_dump *bgp_dump, int type, char *path, char *interval_str) argument 514 bgp_dump_unset(struct vty *vty, struct bgp_dump *bgp_dump) argument 685 config_write_bgp_dump(struct vty *vty) argument [all...] |
H A D | bgp_nexthop.h | 50 int bgp_config_write_scan_time (struct vty *);
|
H A D | bgp_open.h | 69 void bgp_capability_vty_out (struct vty *, struct peer *);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/ |
H A D | ospf6_area.h | 81 void ospf6_area_show (struct vty *, struct ospf6_area *); 83 ospf6_area_statistics_show (struct vty *vty, struct ospf6_area *o6a);
|
H A D | ospf6_top.h | 84 void ospf6_show (struct vty *); 85 void ospf6_statistics_show (struct vty *vty, struct ospf6 *o6);
|
H A D | ospf6_dump.c | 74 struct vty *vty, int argc, char **argv) 81 vty_out (vty, " %-16s: %s%s", ospf6_dump[index]->name, 89 struct vty *vty, int argc, char **argv) 102 struct vty *vty, int argc, char **argv) 173 vty_out (vty, "OSPF6 debugging status:%s", VTY_NEWLINE); 179 ospf6_dump_show (&ospf6_dump[i]->cmd[CMD_SHOW], vty, 0, NULL); 198 ospf6_dump_enable (&ospf6_dump[i]->cmd[CMD_ENABLE], vty, 73 ospf6_dump_show(struct cmd_element *cmd, struct vty *vty, int argc, char **argv) argument 88 ospf6_dump_enable(struct cmd_element *cmd, struct vty *vty, int argc, char **argv) argument 101 ospf6_dump_disable(struct cmd_element *cmd, struct vty *vty, int argc, char **argv) argument 231 ospf6_dump_config_write(struct vty *vty) argument [all...] |
H A D | ospf6_top.c | 27 #include "vty.h" 132 ospf6_show (struct vty *vty) argument 142 vty_out (vty, " Routing Process (%lu) with ID %s%s", 149 vty_out (vty, " Running %ld days %ld hours %ld minutes %ld seconds%s", 152 vty_out (vty, " Supports only single TOS(TOS0) routes%s", VTY_NEWLINE); 155 ospf6_redistribute_show_config (vty, ospf6); 158 vty_out (vty, " Number of AS scoped LSAs is %u%s", 160 vty_out (vty, " Route calculation executed %d times%s", 165 ospf6_route_statistics_show (vty, ospf 179 ospf6_statistics_show(struct vty *vty, struct ospf6 *o6) argument [all...] |
H A D | ospf6_interface.c | 379 ospf6_interface_show (struct vty *vty, struct interface *iface) argument 399 vty_out (vty, "%s is %s, type %s%s", 402 vty_out (vty, " Interface ID: %d%s", iface->ifindex, VTY_NEWLINE); 406 vty_out (vty, " OSPF not enabled on this interface%s", VTY_NEWLINE); 412 vty_out (vty, " Internet Address:%s", VTY_NEWLINE); 421 vty_out (vty, " inet : %s%s", strbuf, 425 vty_out (vty, " inet6: %s%s", strbuf, 429 vty_out (vty, " ??? : %s%s", strbuf, 439 vty_out (vty, " Instanc 477 ospf6_interface_statistics_show(struct vty *vty, struct ospf6_interface *o6i) argument 946 ospf6_interface_config_write(struct vty *vty) argument [all...] |
H A D | ospf6d.c | 190 vty_out (vty, "Zebra OSPF6d Version: %s%s", 207 vty->node = OSPF6_NODE; 208 vty->index = ospf6; 221 vty_out (vty, "OSPFv3 is not running%s", VTY_NEWLINE); 226 vty->node = CONFIG_NODE; 227 vty->index = NULL; 242 ospf6_show (vty); 262 vty_out (vty, "%s%s", buf, 279 ospf6_statistics_show (vty, ospf6); 296 vty_out (vty, "malforme 240 ospf6_show (vty); variable 307 ospf6_interface_bind_area(struct vty *vty, char *if_name, char *area_name, char *plist_name, int passive) argument 666 ospf6_config_write(struct vty *vty) argument [all...] |
H A D | ospf6_area.c | 265 ospf6_area_show (struct vty *vty, struct ospf6_area *o6a) 270 vty_out (vty, " Area %s%s", o6a->str, VTY_NEWLINE); 271 vty_out (vty, " Number of Area scoped LSAs is %u%s", 274 ospf6_spf_statistics_show (vty, o6a->spf_tree); 276 vty_out (vty, " Interface attached to this area:"); 280 vty_out (vty, " %s", o6i->interface->name); 282 vty_out (vty, "%s", VTY_NEWLINE); 288 ospf6_interface_statistics_show (vty, o6i); 293 ospf6_area_statistics_show (struct vty *vt 264 ospf6_area_show(struct vty *vty, struct ospf6_area *o6a) argument 292 ospf6_area_statistics_show(struct vty *vty, struct ospf6_area *o6a) argument [all...] |
H A D | ospf6_neighbor.c | 29 #include "vty.h" 325 /* vty functions */ 328 ospf6_neighbor_show_summary (struct vty *vty, struct ospf6_neighbor *o6n) 336 vty_out (vty, "%-15s %6s/%-11s %-15s %-15s %s[%s]%s", 349 vty_out (vty, "%-15s %6s/%-11s %-15s %-15s %s[%s]%s", 357 ospf6_neighbor_show (struct vty *vty, struct ospf6_neighbor *o6n) 363 vty_out (vty, " Neighbor %s, interface address %s%s", 365 vty_out (vty, " Are 326 ospf6_neighbor_show_summary(struct vty *vty, struct ospf6_neighbor *o6n) argument 355 ospf6_neighbor_show(struct vty *vty, struct ospf6_neighbor *o6n) argument 379 ospf6_neighbor_show_detail(struct vty *vty, struct ospf6_neighbor *o6n) argument [all...] |
H A D | ospf6_spf.h | 97 ospf6_spf_statistics_show (struct vty *vty, struct ospf6_spftree *spf_tree);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/vtysh/ |
H A D | vtysh.h | 66 int vtysh_config_from_file (struct vty *, FILE *); 81 extern struct vty *vty;
|
H A D | vtysh.c | 38 struct vty *vty; variable in typeref:struct:vty 50 /* When '^Z' is received from vty, move down to the enable mode. */ 54 switch (vty->node) 61 vty->node = ENABLE_NODE; 73 return vtysh_end (vty); 357 /* Command execution over the vty interface. */ 372 ret = cmd_execute_command (vline, vty, &cmd); 379 if (vty->type == VTY_FILE) 441 ret = cmd_execute_command (vline, vty, 506 vtysh_config_from_file(struct vty *vty, FILE *fp) argument 989 vtysh_exit(struct vty *vty) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospfd/ |
H A D | ospf_te.c | 40 #include "vty.h" 132 static void ospf_mpls_te_config_write_router (struct vty *vty); 133 static void ospf_mpls_te_config_write_if (struct vty *vty, struct interface *ifp); 134 static void ospf_mpls_te_show_info (struct vty *vty, struct ospf_lsa *lsa); 1123 * Followings are vty session control functions. 1127 show_vty_router_addr (struct vty *vty, struc argument 1140 show_vty_link_header(struct vty *vty, struct te_tlv_header *tlvh) argument 1153 show_vty_link_subtlv_link_type(struct vty *vty, struct te_tlv_header *tlvh) argument 1180 show_vty_link_subtlv_link_id(struct vty *vty, struct te_tlv_header *tlvh) argument 1194 show_vty_link_subtlv_lclif_ipaddr(struct vty *vty, struct te_tlv_header *tlvh) argument 1218 show_vty_link_subtlv_rmtif_ipaddr(struct vty *vty, struct te_tlv_header *tlvh) argument 1241 show_vty_link_subtlv_te_metric(struct vty *vty, struct te_tlv_header *tlvh) argument 1255 show_vty_link_subtlv_max_bw(struct vty *vty, struct te_tlv_header *tlvh) argument 1272 show_vty_link_subtlv_max_rsv_bw(struct vty *vty, struct te_tlv_header *tlvh) argument 1289 show_vty_link_subtlv_unrsv_bw(struct vty *vty, struct te_tlv_header *tlvh) argument 1309 show_vty_link_subtlv_rsc_clsclr(struct vty *vty, struct te_tlv_header *tlvh) argument 1323 show_vty_unknown_tlv(struct vty *vty, struct te_tlv_header *tlvh) argument 1334 ospf_mpls_te_show_link_subtlv(struct vty *vty, struct te_tlv_header *tlvh0, u_int16_t subtotal, u_int16_t total) argument 1381 ospf_mpls_te_show_info(struct vty *vty, struct ospf_lsa *lsa) argument 1423 ospf_mpls_te_config_write_router(struct vty *vty) argument 1435 ospf_mpls_te_config_write_if(struct vty *vty, struct interface *ifp) argument 1836 show_mpls_te_link_sub(struct vty *vty, struct interface *ifp) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/ |
H A D | plist.c | 656 vty_invalid_prefix_range (struct vty *vty, char *prefix) 658 vty_out (vty, "%% Invalid prefix range for %s, make sure: len < ge-value <= le-value%s", 664 vty_prefix_list_install (struct vty *vty, afi_t afi, 696 vty_out (vty, "%% prefix type must be permit or deny%s", VTY_NEWLINE); 715 vty_out (vty, "%% Malformed IPv4 prefix%s", VTY_NEWLINE); 734 vty_out (vty, "%% Malformed IPv6 prefix%s", VTY_NEWLINE); 742 return vty_invalid_prefix_range (vty, prefix); 745 return vty_invalid_prefix_range (vty, prefi 654 vty_invalid_prefix_range(struct vty *vty, char *prefix) argument 662 vty_prefix_list_install(struct vty *vty, afi_t afi, char *name, char *seq, char *typestr, char *prefix, char *ge, char *le) argument 781 vty_prefix_list_uninstall(struct vty *vty, afi_t afi, char *name, char *seq, char *typestr, char *prefix, char *ge, char *le) argument 885 vty_prefix_list_desc_unset(struct vty *vty, afi_t afi, char *name) argument 919 vty_show_prefix_entry(struct vty *vty, afi_t afi, struct prefix_list *plist, struct prefix_master *master, enum display_type dtype, int seqnum) argument 989 vty_show_prefix_list(struct vty *vty, afi_t afi, char *name, char *seq, enum display_type dtype) argument 1033 vty_show_prefix_list_prefix(struct vty *vty, afi_t afi, char *name, char *prefix, enum display_type type) argument 1105 vty_clear_prefix_list(struct vty *vty, afi_t afi, char *name, char *prefix) argument 2380 config_write_prefix_afi(afi_t afi, struct vty *vty) argument 2579 prefix_bgp_show_prefix_list(struct vty *vty, afi_t afi, char *name) argument 2657 config_write_prefix_ipv4(struct vty *vty) argument 2766 config_write_prefix_ipv6(struct vty *vty) argument [all...] |
H A D | memory.c | 248 /* Looking up memory status from vty interface. */ 250 #include "vty.h" 407 show_memory_vty (struct vty *vty, struct memory_list *list) 413 vty_out (vty, "-----------------------------\r\n"); 415 vty_out (vty, "%-22s: %5ld\r\n", m->format, mstat[m->index].alloc); 425 show_memory_vty (vty, memory_list_lib); 426 show_memory_vty (vty, memory_list_separator); 427 show_memory_vty (vty, memory_list_rip); 428 show_memory_vty (vty, memory_list_separato 402 show_memory_vty(struct vty *vty, struct memory_list *list) argument [all...] |
H A D | command.c | 114 int (*func) (struct vty *)) 458 config_write_host (struct vty *vty) 462 vty_out (vty, "hostname %s%s", host.name, VTY_NEWLINE); 467 vty_out (vty, "password 8 %s%s", host.password_encrypt, VTY_NEWLINE); 469 vty_out (vty, "enable password 8 %s%s", host.enable_encrypt, VTY_NEWLINE); 474 vty_out (vty, "password %s%s", host.password, VTY_NEWLINE); 476 vty_out (vty, "enable password %s%s", host.enable, VTY_NEWLINE); 480 vty_out (vty, "log file %s%s", host.logfile, VTY_NEWLINE); 483 vty_out (vty, "lo 457 config_write_host(struct vty *vty) argument 1436 cmd_describe_command(vector vline, struct vty *vty, int *status) argument 1594 cmd_complete_command(vector vline, struct vty *vty, int *status) argument 1742 cmd_execute_command(vector vline, struct vty *vty, struct cmd_element **cmd) argument 1867 cmd_execute_command_strict(vector vline, struct vty *vty, struct cmd_element **cmd) argument 1988 config_from_file(struct vty *vty, FILE *fp) argument 2095 vty_config_unlock (vty); variable 2160 vty_config_unlock (vty); variable [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ripd/ |
H A D | rip_offset.c | 111 rip_offset_list_set (struct vty *vty, char *alist, char *direct_str, argument 125 vty_out (vty, "Invalid direction: %s%s", direct_str, VTY_NEWLINE); 133 vty_out (vty, "Invalid metric: %s%s", metric_str, VTY_NEWLINE); 149 rip_offset_list_unset (struct vty *vty, char *alist, char *direct_str, argument 163 vty_out (vty, "Invalid direction: %s%s", direct_str, VTY_NEWLINE); 171 vty_out (vty, "Invalid metric: %s%s", metric_str, VTY_NEWLINE); 195 vty_out (vty, "Can't find offset-list%s", VTY_NEWLINE); 295 return rip_offset_list_set (vty, arg 382 config_write_rip_offset_list(struct vty *vty) argument [all...] |