forked from Mirror/frr
*: Cleanup some documentation from quagga->frr
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
e36f61b507
commit
b72aae2e04
|
@ -268,6 +268,6 @@ Babel sample configuration file
|
||||||
! babel hello-interval 12000
|
! babel hello-interval 12000
|
||||||
! babel update-interval 36000
|
! babel update-interval 36000
|
||||||
|
|
||||||
! log file /var/log/quagga/babeld.log
|
! log file /var/log/frr/babeld.log
|
||||||
log stdout
|
log stdout
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# GDB macros for use with Quagga.
|
# GDB macros for use with Quagga.
|
||||||
#
|
#
|
||||||
# Macros in this file are not daemon specific. E.g., OS or Quagga library
|
# Macros in this file are not daemon specific. E.g., OS or FRR library
|
||||||
# APIs.
|
# APIs.
|
||||||
#
|
#
|
||||||
# The macro file can be loaded with 'source <filename>'. They can then be
|
# The macro file can be loaded with 'source <filename>'. They can then be
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#
|
#
|
||||||
# E.g.:
|
# E.g.:
|
||||||
#
|
#
|
||||||
# (gdb) source ~paul/code/quagga/gdb/lib.txt
|
# (gdb) source ~paul/code/frr/gdb/lib.txt
|
||||||
# (gdb) break bgp_packet.c:613
|
# (gdb) break bgp_packet.c:613
|
||||||
# Breakpoint 3 at 0x7fa883033a32: file bgp_packet.c, line 613.
|
# Breakpoint 3 at 0x7fa883033a32: file bgp_packet.c, line 613.
|
||||||
# (gdb) cont
|
# (gdb) cont
|
||||||
|
|
12
lib/if.h
12
lib/if.h
|
@ -399,16 +399,12 @@ struct connected {
|
||||||
/*
|
/*
|
||||||
The ZEBRA_IFC_REAL flag should be set if and only if this address
|
The ZEBRA_IFC_REAL flag should be set if and only if this address
|
||||||
exists in the kernel and is actually usable. (A case where it exists
|
exists in the kernel and is actually usable. (A case where it exists
|
||||||
but
|
but is not yet usable would be IPv6 with DAD)
|
||||||
is not yet usable would be IPv6 with DAD)
|
|
||||||
The ZEBRA_IFC_CONFIGURED flag should be set if and only if this
|
The ZEBRA_IFC_CONFIGURED flag should be set if and only if this
|
||||||
address
|
address was configured by the user from inside frr.
|
||||||
was configured by the user from inside quagga.
|
|
||||||
The ZEBRA_IFC_QUEUED flag should be set if and only if the address
|
The ZEBRA_IFC_QUEUED flag should be set if and only if the address
|
||||||
exists
|
exists in the kernel. It may and should be set although the
|
||||||
in the kernel. It may and should be set although the address might
|
address might not be usable yet. (compare with ZEBRA_IFC_REAL)
|
||||||
not be
|
|
||||||
usable yet. (compare with ZEBRA_IFC_REAL)
|
|
||||||
The ZEBRA_IFC_DOWN flag is used to record that an address is
|
The ZEBRA_IFC_DOWN flag is used to record that an address is
|
||||||
present, but down/unavailable.
|
present, but down/unavailable.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -398,7 +398,7 @@ static int ospf_make_md5_digest(struct ospf_interface *oi,
|
||||||
/* We do this here so when we dup a packet, we don't have to
|
/* We do this here so when we dup a packet, we don't have to
|
||||||
waste CPU rewriting other headers.
|
waste CPU rewriting other headers.
|
||||||
|
|
||||||
Note that quagga_time /deliberately/ is not used here */
|
Note that frr_time /deliberately/ is not used here */
|
||||||
t = (time(NULL) & 0xFFFFFFFF);
|
t = (time(NULL) & 0xFFFFFFFF);
|
||||||
if (t > oi->crypt_seqnum)
|
if (t > oi->crypt_seqnum)
|
||||||
oi->crypt_seqnum = t;
|
oi->crypt_seqnum = t;
|
||||||
|
|
|
@ -2090,7 +2090,7 @@ static struct ospf_neighbor *ospfNbrLookup(struct variable *v, oid *name,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* map internal quagga neighbor states to official MIB values:
|
/* map internal frr neighbor states to official MIB values:
|
||||||
|
|
||||||
ospfNbrState OBJECT-TYPE
|
ospfNbrState OBJECT-TYPE
|
||||||
SYNTAX INTEGER {
|
SYNTAX INTEGER {
|
||||||
|
|
|
@ -192,7 +192,7 @@ void ospf_process_refresh_data(struct ospf *ospf, bool reset)
|
||||||
hit
|
hit
|
||||||
asserts in ospf_refresher_unregister_lsa(). This step is
|
asserts in ospf_refresher_unregister_lsa(). This step is
|
||||||
needed
|
needed
|
||||||
because the current quagga code does look-up for
|
because the current frr code does look-up for
|
||||||
self-originated LSAs
|
self-originated LSAs
|
||||||
based on the self router-id alone but expects OSPF_LSA_SELF
|
based on the self router-id alone but expects OSPF_LSA_SELF
|
||||||
to be
|
to be
|
||||||
|
|
|
@ -61,7 +61,7 @@ extern struct zebra_privs_t zserv_privs;
|
||||||
* Alignment of zero-sized sockaddrs is nonsensical, but historically
|
* Alignment of zero-sized sockaddrs is nonsensical, but historically
|
||||||
* BSD defines RT_ROUNDUP(0) to be the alignment interval (rather than
|
* BSD defines RT_ROUNDUP(0) to be the alignment interval (rather than
|
||||||
* 0). We follow this practice without questioning it, but it is a
|
* 0). We follow this practice without questioning it, but it is a
|
||||||
* bug if quagga calls ROUNDUP with 0.
|
* bug if frr calls ROUNDUP with 0.
|
||||||
*/
|
*/
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#define ROUNDUP_TYPE int
|
#define ROUNDUP_TYPE int
|
||||||
|
|
|
@ -71,7 +71,7 @@ struct thread_master *master;
|
||||||
/* Route retain mode flag. */
|
/* Route retain mode flag. */
|
||||||
int retain_mode = 0;
|
int retain_mode = 0;
|
||||||
|
|
||||||
/* Allow non-quagga entities to delete quagga routes */
|
/* Allow non-frr entities to delete frr routes */
|
||||||
int allow_delete = 0;
|
int allow_delete = 0;
|
||||||
|
|
||||||
int graceful_restart;
|
int graceful_restart;
|
||||||
|
|
Loading…
Reference in a new issue