1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2016 by Open Source Routing.
11 extern struct cmd_node ldp_node
;
12 extern struct cmd_node ldp_ipv4_node
;
13 extern struct cmd_node ldp_ipv6_node
;
14 extern struct cmd_node ldp_ipv4_iface_node
;
15 extern struct cmd_node ldp_ipv6_iface_node
;
16 extern struct cmd_node ldp_l2vpn_node
;
17 extern struct cmd_node ldp_pseudowire_node
;
18 extern struct cmd_node ldp_debug_node
;
21 int ldp_get_address(const char *, int *, union ldpd_addr
*);
22 int ldp_vty_mpls_ldp (struct vty
*, const char *);
23 int ldp_vty_allow_broken_lsp(struct vty
*, const char *);
24 int ldp_vty_address_family (struct vty
*, const char *, const char *);
25 int ldp_vty_disc_holdtime(struct vty
*, const char *, enum hello_type
, long);
26 int ldp_vty_disc_interval(struct vty
*, const char *, enum hello_type
, long);
27 int ldp_vty_targeted_hello_accept(struct vty
*, const char *, const char *);
28 int ldp_vty_nbr_session_holdtime(struct vty
*, const char *, struct in_addr
, long);
29 int ldp_vty_af_session_holdtime(struct vty
*, const char *, long);
30 int ldp_vty_interface(struct vty
*, const char *, const char *);
31 int ldp_vty_trans_addr(struct vty
*, const char *, const char *);
32 int ldp_vty_neighbor_targeted(struct vty
*, const char *, const char *);
33 int ldp_vty_label_advertise(struct vty
*, const char *, const char *, const char *);
34 int ldp_vty_label_allocate(struct vty
*, const char *, const char *, const char *);
35 int ldp_vty_label_expnull(struct vty
*, const char *, const char *);
36 int ldp_vty_label_accept(struct vty
*, const char *, const char *, const char *);
37 int ldp_vty_ttl_security(struct vty
*, const char *);
38 int ldp_vty_router_id(struct vty
*, const char *, struct in_addr
);
39 int ldp_vty_ordered_control(struct vty
*, const char *);
40 int ldp_vty_wait_for_sync_interval(struct vty
*, const char *, long);
41 int ldp_vty_ds_cisco_interop(struct vty
*, const char *);
42 int ldp_vty_trans_pref_ipv4(struct vty
*, const char *);
43 int ldp_vty_neighbor_password(struct vty
*, const char *, struct in_addr
, const char *);
44 int ldp_vty_neighbor_ttl_security(struct vty
*, const char *, struct in_addr
, const char *);
45 int ldp_vty_l2vpn(struct vty
*, const char *, const char *);
46 int ldp_vty_l2vpn_bridge(struct vty
*, const char *, const char *);
47 int ldp_vty_l2vpn_mtu(struct vty
*, const char *, long);
48 int ldp_vty_l2vpn_pwtype(struct vty
*, const char *, const char *);
49 int ldp_vty_l2vpn_interface(struct vty
*, const char *, const char *);
50 int ldp_vty_l2vpn_pseudowire(struct vty
*, const char *, const char *);
51 int ldp_vty_l2vpn_pw_cword(struct vty
*, const char *, const char *);
52 int ldp_vty_l2vpn_pw_nbr_addr(struct vty
*, const char *, const char *);
53 int ldp_vty_l2vpn_pw_nbr_id(struct vty
*, const char *, struct in_addr
);
54 int ldp_vty_l2vpn_pw_pwid(struct vty
*, const char *, long);
55 int ldp_vty_l2vpn_pw_pwstatus(struct vty
*, const char *);
56 int ldp_vty_clear_nbr(struct vty
*, const char *);
57 int ldp_vty_debug(struct vty
*, const char *, const char *, const char *, const char *);
58 int ldp_vty_show_binding(struct vty
*, const char *, const char *, int,
59 const char *, unsigned long, unsigned long, const char *, const char *);
60 int ldp_vty_show_discovery(struct vty
*, const char *, const char *, const char *);
61 int ldp_vty_show_interface(struct vty
*, const char *, const char *);
62 int ldp_vty_show_capabilities(struct vty
*, const char *);
63 int ldp_vty_show_neighbor(struct vty
*, const char *, int, const char *, const char *);
64 int ldp_vty_show_ldp_sync(struct vty
*, const char *);
65 int ldp_vty_show_atom_binding(struct vty
*, const char *, unsigned long,
66 unsigned long, const char *);
67 int ldp_vty_show_atom_vc(struct vty
*, const char *, const char *,
68 const char *, const char *);
69 int ldp_vty_show_debugging(struct vty
*);
71 void ldp_vty_init(void);
73 #endif /* _LDP_VTY_H_ */