forked from Mirror/frr
*: Fix spelling of Following
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
d60a3f0e71
commit
78dfa0c754
|
@ -65,7 +65,7 @@
|
|||
#include "isisd/isis_zebra.h"
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are control functions for MPLS-TE parameters management.
|
||||
* Following are control functions for MPLS-TE parameters management.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
/* Main initialization / update function of the MPLS TE Circuit context */
|
||||
|
@ -1231,7 +1231,7 @@ void isis_te_init_ted(struct isis_area *area)
|
|||
isis_te_parse_lsp(area->mta, lsp);
|
||||
}
|
||||
|
||||
/* Followings are vty command functions */
|
||||
/* Following are vty command functions */
|
||||
#ifndef FABRICD
|
||||
|
||||
static void show_router_id(struct vty *vty, struct isis_area *area)
|
||||
|
|
|
@ -91,7 +91,7 @@ static unsigned short ospf_apiclient_getport(void)
|
|||
}
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions for connection management
|
||||
* Following are functions for connection management
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -300,7 +300,7 @@ int ospf_apiclient_close(struct ospf_apiclient *oclient)
|
|||
}
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions to send a request to OSPFd
|
||||
* Following are functions to send a request to OSPFd
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -498,7 +498,7 @@ int ospf_apiclient_lsa_delete(struct ospf_apiclient *oclient,
|
|||
}
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are handlers for messages from OSPF daemon
|
||||
* Following are handlers for messages from OSPF daemon
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
|
|
@ -221,7 +221,7 @@ static struct ospf_apiserver *lookup_apiserver_by_lsa(struct ospf_lsa *lsa)
|
|||
}
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions to manage client connections.
|
||||
* Following are functions to manage client connections.
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
static int ospf_apiserver_new_lsa_hook(struct ospf_lsa *lsa)
|
||||
|
@ -1174,7 +1174,7 @@ int ospf_apiserver_handle_register_event(struct ospf_apiserver *apiserv,
|
|||
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions for LSDB synchronization.
|
||||
* Following are functions for LSDB synchronization.
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -1345,7 +1345,7 @@ int ospf_apiserver_handle_sync_lsdb(struct ospf_apiserver *apiserv,
|
|||
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions to originate or update LSA
|
||||
* Following are functions to originate or update LSA
|
||||
* from an application.
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
@ -1787,7 +1787,7 @@ out:
|
|||
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions to delete LSAs
|
||||
* Following are functions to delete LSAs
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -1952,7 +1952,7 @@ void ospf_apiserver_flush_opaque_lsa(struct ospf_apiserver *apiserv,
|
|||
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are callback functions to handle opaque types
|
||||
* Following are callback functions to handle opaque types
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -2102,7 +2102,7 @@ void ospf_apiserver_show_info(struct vty *vty, struct json_object *json,
|
|||
}
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions to notify clients about events
|
||||
* Following are functions to notify clients about events
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -2417,7 +2417,7 @@ static void apiserver_clients_lsa_change_notify(uint8_t msgtype,
|
|||
|
||||
|
||||
/* -------------------------------------------------------------
|
||||
* Followings are hooks invoked when LSAs are updated or deleted
|
||||
* Following are hooks invoked when LSAs are updated or deleted
|
||||
* -------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ enum ospf_apiserver_event {
|
|||
};
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions to manage client connections.
|
||||
* Following are functions to manage client connections.
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -99,7 +99,7 @@ extern int ospf_apiserver_send_reply(struct ospf_apiserver *apiserv,
|
|||
uint32_t seqnr, uint8_t rc);
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are message handler functions
|
||||
* Following are message handler functions
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -147,7 +147,7 @@ extern int ospf_apiserver_handle_sync_lsdb(struct ospf_apiserver *apiserv,
|
|||
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are functions for LSA origination/deletion
|
||||
* Following are functions for LSA origination/deletion
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -169,7 +169,7 @@ extern void ospf_apiserver_flood_opaque_lsa(struct ospf_lsa *lsa);
|
|||
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are callback functions to handle opaque types
|
||||
* Following are callback functions to handle opaque types
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -191,7 +191,7 @@ extern void ospf_apiserver_flush_opaque_lsa(struct ospf_apiserver *apiserv,
|
|||
uint8_t opaque_type);
|
||||
|
||||
/* -----------------------------------------------------------
|
||||
* Followings are hooks when LSAs are updated or deleted
|
||||
* Following are hooks when LSAs are updated or deleted
|
||||
* -----------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ static struct ospf_ext_lp OspfEXT;
|
|||
|
||||
/*
|
||||
* -----------------------------------------------------------------------
|
||||
* Followings are initialize/terminate functions for Extended Prefix/Link
|
||||
* Following are initialize/terminate functions for Extended Prefix/Link
|
||||
* Opaque LSA handling.
|
||||
* -----------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -216,7 +216,7 @@ void ospf_ext_finish(void)
|
|||
|
||||
/*
|
||||
* ---------------------------------------------------------------------
|
||||
* Followings are control functions for Extended Prefix/Link Opaque LSA
|
||||
* Following are control functions for Extended Prefix/Link Opaque LSA
|
||||
* parameters management.
|
||||
* ---------------------------------------------------------------------
|
||||
*/
|
||||
|
@ -681,7 +681,7 @@ void ospf_ext_update_sr(bool enable)
|
|||
|
||||
/*
|
||||
* -----------------------------------------------------------------------
|
||||
* Followings are callback functions against generic Opaque-LSAs handling
|
||||
* Following are callback functions against generic Opaque-LSAs handling
|
||||
* -----------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -985,7 +985,7 @@ static int ospf_ext_pref_lsa_update(struct ospf_lsa *lsa)
|
|||
|
||||
/*
|
||||
* -------------------------------------------------------
|
||||
* Followings are OSPF protocol processing functions for
|
||||
* Following are OSPF protocol processing functions for
|
||||
* Extended Prefix/Link Opaque LSA
|
||||
* -------------------------------------------------------
|
||||
*/
|
||||
|
@ -1713,7 +1713,7 @@ static void ospf_ext_lsa_schedule(struct ext_itf *exti, enum lsa_opcode op)
|
|||
|
||||
/*
|
||||
* ------------------------------------
|
||||
* Followings are vty show functions.
|
||||
* Following are vty show functions.
|
||||
* ------------------------------------
|
||||
*/
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ DEFINE_MTYPE_STATIC(OSPFD, OPAQUE_INFO_PER_TYPE, "OSPF opaque per-type info");
|
|||
DEFINE_MTYPE_STATIC(OSPFD, OPAQUE_INFO_PER_ID, "OSPF opaque per-ID info");
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are initialize/terminate functions for Opaque-LSAs handling.
|
||||
* Following are initialize/terminate functions for Opaque-LSAs handling.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
#ifdef SUPPORT_OSPF_API
|
||||
|
@ -258,7 +258,7 @@ static const char *ospf_opaque_type_name(uint8_t opaque_type)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are management functions to store user specified callbacks.
|
||||
* Following are management functions to store user specified callbacks.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
struct opaque_info_per_type; /* Forward declaration. */
|
||||
|
@ -467,7 +467,7 @@ ospf_opaque_functab_lookup(struct ospf_lsa *lsa)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are management functions for self-originated LSA entries.
|
||||
* Following are management functions for self-originated LSA entries.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
|
@ -759,7 +759,7 @@ out:
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are (vty) configuration functions for Opaque-LSAs handling.
|
||||
* Following are (vty) configuration functions for Opaque-LSAs handling.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
DEFUN (capability_opaque,
|
||||
|
@ -830,7 +830,7 @@ static void ospf_opaque_register_vty(void)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are collection of user-registered function callers.
|
||||
* Following are collection of user-registered function callers.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
static int opaque_lsa_new_if_callback(struct list *funclist,
|
||||
|
@ -978,7 +978,7 @@ out:
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are glue functions to call Opaque-LSA specific processing.
|
||||
* Following are glue functions to call Opaque-LSA specific processing.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
int ospf_opaque_new_if(struct interface *ifp)
|
||||
|
@ -1283,7 +1283,7 @@ out:
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are Opaque-LSA origination/refresh management functions.
|
||||
* Following are Opaque-LSA origination/refresh management functions.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
static void ospf_opaque_type9_lsa_originate(struct thread *t);
|
||||
|
@ -1647,7 +1647,7 @@ struct ospf_lsa *ospf_opaque_lsa_refresh(struct ospf_lsa *lsa)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are re-origination/refresh/flush operations of Opaque-LSAs,
|
||||
* Following are re-origination/refresh/flush operations of Opaque-LSAs,
|
||||
* triggered by external interventions (vty session, signaling, etc).
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -2162,7 +2162,7 @@ void ospf_opaque_self_originated_lsa_received(struct ospf_neighbor *nbr,
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are util functions; probably be used by Opaque-LSAs only...
|
||||
* Following are util functions; probably be used by Opaque-LSAs only...
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
struct ospf *oi_to_top(struct ospf_interface *oi)
|
||||
|
|
|
@ -64,7 +64,7 @@
|
|||
#define OPAQUE_TYPE_EXTENDED_LINK_LSA 8
|
||||
#define OPAQUE_TYPE_MAX 8
|
||||
|
||||
/* Followings types are proposed in internet-draft documents. */
|
||||
/* Following types are proposed in internet-draft documents. */
|
||||
#define OPAQUE_TYPE_8021_QOSPF 129
|
||||
#define OPAQUE_TYPE_SECONDARY_NEIGHBOR_DISCOVERY 224
|
||||
#define OPAQUE_TYPE_FLOODGATE 225
|
||||
|
|
|
@ -66,7 +66,7 @@
|
|||
static struct ospf_router_info OspfRI;
|
||||
|
||||
/*------------------------------------------------------------------------------*
|
||||
* Followings are initialize/terminate functions for Router Information
|
||||
* Following are initialize/terminate functions for Router Information
|
||||
*handling.
|
||||
*------------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -232,7 +232,7 @@ static struct ospf_ri_area_info *lookup_by_area(struct ospf_area *area)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are control functions for ROUTER INFORMATION parameters
|
||||
* Following are control functions for ROUTER INFORMATION parameters
|
||||
*management.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -668,7 +668,7 @@ void ospf_router_info_update_sr(bool enable, struct sr_node *srn)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are callback functions against generic Opaque-LSAs handling.
|
||||
* Following are callback functions against generic Opaque-LSAs handling.
|
||||
*------------------------------------------------------------------------*/
|
||||
static void ospf_router_info_ism_change(struct ospf_interface *oi,
|
||||
int old_state)
|
||||
|
@ -693,7 +693,7 @@ static void ospf_router_info_ism_change(struct ospf_interface *oi,
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are OSPF protocol processing functions for ROUTER INFORMATION
|
||||
* Following are OSPF protocol processing functions for ROUTER INFORMATION
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
static void build_tlv_header(struct stream *s, struct tlv_header *tlvh)
|
||||
|
@ -1223,7 +1223,7 @@ static int ospf_router_info_lsa_update(struct ospf_lsa *lsa)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are vty session control functions.
|
||||
* Following are vty session control functions.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
#define check_tlv_size(size, msg) \
|
||||
|
@ -1660,7 +1660,7 @@ static void ospf_router_info_config_write_router(struct vty *vty)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are vty command functions.
|
||||
* Following are vty command functions.
|
||||
*------------------------------------------------------------------------*/
|
||||
/* Simple wrapper schedule RI LSA action in function of the scope */
|
||||
static void ospf_router_info_schedule(enum lsa_opcode opcode)
|
||||
|
|
|
@ -2023,7 +2023,7 @@ void ospf_sr_update_task(struct ospf *ospf)
|
|||
|
||||
/*
|
||||
* --------------------------------------
|
||||
* Followings are vty command functions.
|
||||
* Following are vty command functions.
|
||||
* --------------------------------------
|
||||
*/
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ static const char *const mode2text[] = {"Off", "AS", "Area"};
|
|||
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are initialize/terminate functions for MPLS-TE handling.
|
||||
* Following are initialize/terminate functions for MPLS-TE handling.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
static int ospf_mpls_te_new_if(struct interface *ifp);
|
||||
|
@ -197,7 +197,7 @@ void ospf_mpls_te_finish(void)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are control functions for MPLS-TE parameters management.
|
||||
* Following are control functions for MPLS-TE parameters management.
|
||||
*------------------------------------------------------------------------*/
|
||||
static void del_mpls_te_link(void *val)
|
||||
{
|
||||
|
@ -814,7 +814,7 @@ static int is_mandated_params_set(struct mpls_te_link *lp)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are callback functions against generic Opaque-LSAs handling.
|
||||
* Following are callback functions against generic Opaque-LSAs handling.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
static int ospf_mpls_te_new_if(struct interface *ifp)
|
||||
|
@ -1079,7 +1079,7 @@ static void ospf_mpls_te_nsm_change(struct ospf_neighbor *nbr, int old_state)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are OSPF protocol processing functions for MPLS-TE LSA.
|
||||
* Following are OSPF protocol processing functions for MPLS-TE LSA.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
static void build_tlv_header(struct stream *s, struct tlv_header *tlvh)
|
||||
|
@ -1624,7 +1624,7 @@ void ospf_mpls_te_lsa_schedule(struct mpls_te_link *lp, enum lsa_opcode opcode)
|
|||
|
||||
/**
|
||||
* ------------------------------------------------------
|
||||
* Followings are Link State Data Base control functions.
|
||||
* Following are Link State Data Base control functions.
|
||||
* ------------------------------------------------------
|
||||
*/
|
||||
|
||||
|
@ -3153,7 +3153,7 @@ static void ospf_te_init_ted(struct ls_ted *ted, struct ospf *ospf)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are vty session control functions.
|
||||
* Following are vty session control functions.
|
||||
*------------------------------------------------------------------------*/
|
||||
#define check_tlv_size(size, msg) \
|
||||
do { \
|
||||
|
@ -3846,7 +3846,7 @@ static void ospf_mpls_te_config_write_router(struct vty *vty)
|
|||
}
|
||||
|
||||
/*------------------------------------------------------------------------*
|
||||
* Followings are vty command functions.
|
||||
* Following are vty command functions.
|
||||
*------------------------------------------------------------------------*/
|
||||
|
||||
DEFUN (ospf_mpls_te_on,
|
||||
|
|
|
@ -353,7 +353,7 @@ DEFPY (debug_path_ted,
|
|||
}
|
||||
|
||||
/*
|
||||
* Followings are vty command functions.
|
||||
* Following are vty command functions.
|
||||
*/
|
||||
/* clang-format off */
|
||||
DEFUN (path_ted_on,
|
||||
|
|
Loading…
Reference in a new issue