mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-04-29 20:04:11 +00:00
lib: finish fixing spelling in lib files
Signed-off-by: ewlumpkin <ewlumpkin@gmail.com>
This commit is contained in:
parent
3c8161eaa8
commit
03bad95aa4
@ -122,7 +122,7 @@ int setsockopt_ipv6_pktinfo(int sock, int val)
|
||||
if (ret < 0)
|
||||
flog_err(EC_LIB_SOCKET, "can't setsockopt IPV6_PKTINFO : %s",
|
||||
safe_strerror(errno));
|
||||
#endif /* INIA_IPV6 */
|
||||
#endif /* IANA_IPV6 */
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -595,7 +595,7 @@ int sockopt_tcp_signature_ext(int sock, union sockunion *su, uint16_t prefixlen,
|
||||
|
||||
/* If this does not work, then all users of this sockopt will
|
||||
* need to
|
||||
* differentiate between IPv4 and IPv6, and keep seperate
|
||||
* differentiate between IPv4 and IPv6, and keep separate
|
||||
* sockets for
|
||||
* each.
|
||||
*
|
||||
|
@ -393,7 +393,7 @@ void route_node_delete(struct route_node *node)
|
||||
route_node_delete(parent);
|
||||
}
|
||||
|
||||
/* Get fist node and lock it. This function is useful when one want
|
||||
/* Get first node and lock it. This function is useful when one wants
|
||||
to lookup all the node exist in the routing table. */
|
||||
struct route_node *route_top(struct route_table *table)
|
||||
{
|
||||
|
@ -776,7 +776,7 @@ static void vty_end_config(struct vty *vty)
|
||||
vty->cp = 0;
|
||||
}
|
||||
|
||||
/* Delete a charcter at the current point. */
|
||||
/* Delete a character at the current point. */
|
||||
static void vty_delete_char(struct vty *vty)
|
||||
{
|
||||
int i;
|
||||
@ -2282,7 +2282,7 @@ static void vty_read_file(struct nb_config *config, FILE *confp)
|
||||
|
||||
vty = vty_new();
|
||||
/* vty_close won't close stderr; if some config command prints
|
||||
* something it'll end up there. (not ideal; it'd be beter if output
|
||||
* something it'll end up there. (not ideal; it'd be better if output
|
||||
* from a file-load went to logging instead. Also note that if this
|
||||
* function is called after daemonizing, stderr will be /dev/null.)
|
||||
*
|
||||
@ -3165,7 +3165,7 @@ void vty_init(struct thread_master *master_thread, bool do_command_logging)
|
||||
|
||||
atexit(vty_stdio_atexit);
|
||||
|
||||
/* Initilize server thread vector. */
|
||||
/* Initialize server thread vector. */
|
||||
Vvty_serv_thread = vector_init(VECTOR_MIN_SIZE);
|
||||
|
||||
/* Install bgp top node. */
|
||||
|
@ -26,7 +26,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* EVPN MH DF election alogorithm */
|
||||
/* EVPN MH DF election algorithm */
|
||||
#define EVPN_MH_DF_ALG_SERVICE_CARVING 0
|
||||
#define EVPN_MH_DF_ALG_HRW 1
|
||||
#define EVPN_MH_DF_ALG_PREF 2
|
||||
|
@ -183,7 +183,7 @@ extern int yang_snodes_iterate_subtree(const struct lysc_node *snode,
|
||||
void *arg);
|
||||
|
||||
/*
|
||||
* Iterate over all libyang schema nodes from all loeaded modules of from the
|
||||
* Iterate over all libyang schema nodes from all loaded modules of the
|
||||
* given YANG module.
|
||||
*
|
||||
* module
|
||||
|
@ -2099,7 +2099,7 @@ stream_failure:
|
||||
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
* | Harware Address Length |
|
||||
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
* | Hardware Address if HW lenght different from 0 |
|
||||
* | Hardware Address if HW length different from 0 |
|
||||
* | ... max INTERFACE_HWADDR_MAX |
|
||||
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|
||||
* | Link_params? | Whether a link-params follows: 1 or 0.
|
||||
@ -2440,7 +2440,7 @@ size_t zebra_interface_link_params_write(struct stream *s,
|
||||
}
|
||||
|
||||
/*
|
||||
* format of message for address additon is:
|
||||
* format of message for address addition is:
|
||||
* 0
|
||||
* 0 1 2 3 4 5 6 7
|
||||
* +-+-+-+-+-+-+-+-+
|
||||
@ -2705,9 +2705,9 @@ static int zclient_read_sync_response(struct zclient *zclient,
|
||||
return 0;
|
||||
}
|
||||
/**
|
||||
* Connect to label manager in a syncronous way
|
||||
* Connect to label manager in a synchronous way
|
||||
*
|
||||
* It first writes the request to zcient output buffer and then
|
||||
* It first writes the request to zclient output buffer and then
|
||||
* immediately reads the answer from the input buffer.
|
||||
*
|
||||
* @param zclient Zclient used to connect to label manager (zebra)
|
||||
@ -2800,7 +2800,7 @@ stream_failure:
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to request a srv6-locator chunk in an Asyncronous way
|
||||
* Function to request a srv6-locator chunk in an asynchronous way
|
||||
*
|
||||
* @param zclient Zclient used to connect to table manager (zebra)
|
||||
* @param locator_name Name of SRv6-locator
|
||||
@ -2910,9 +2910,9 @@ enum zclient_send_status zclient_send_get_label_chunk(struct zclient *zclient,
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to request a label chunk in a syncronous way
|
||||
* Function to request a label chunk in a synchronous way
|
||||
*
|
||||
* It first writes the request to zlcient output buffer and then
|
||||
* It first writes the request to zclient output buffer and then
|
||||
* immediately reads the answer from the input buffer.
|
||||
*
|
||||
* @param zclient Zclient used to connect to label manager (zebra)
|
||||
@ -3087,9 +3087,9 @@ int lm_release_label_chunk(struct zclient *zclient, uint32_t start,
|
||||
}
|
||||
|
||||
/**
|
||||
* Connect to table manager in a syncronous way
|
||||
* Connect to table manager in a synchronous way
|
||||
*
|
||||
* It first writes the request to zcient output buffer and then
|
||||
* It first writes the request to zclient output buffer and then
|
||||
* immediately reads the answer from the input buffer.
|
||||
*
|
||||
* @param zclient Zclient used to connect to table manager (zebra)
|
||||
@ -3146,7 +3146,7 @@ stream_failure:
|
||||
}
|
||||
|
||||
/**
|
||||
* Function to request a table chunk in a syncronous way
|
||||
* Function to request a table chunk in a synchronous way
|
||||
*
|
||||
* It first writes the request to zclient output buffer and then
|
||||
* immediately reads the answer from the input buffer.
|
||||
|
@ -289,7 +289,7 @@ struct zclient {
|
||||
/* The thread master we schedule ourselves on */
|
||||
struct thread_master *master;
|
||||
|
||||
/* Priviledges to change socket values */
|
||||
/* Privileges to change socket values */
|
||||
struct zebra_privs_t *privs;
|
||||
|
||||
/* Do we care about failure events for route install? */
|
||||
@ -329,7 +329,7 @@ struct zclient {
|
||||
struct redist_proto mi_redist[AFI_MAX][ZEBRA_ROUTE_MAX];
|
||||
vrf_bitmap_t redist[AFI_MAX][ZEBRA_ROUTE_MAX];
|
||||
|
||||
/* Redistribute defauilt. */
|
||||
/* Redistribute default. */
|
||||
vrf_bitmap_t default_information[AFI_MAX];
|
||||
|
||||
#define ZAPI_CALLBACK_ARGS \
|
||||
|
Loading…
Reference in New Issue
Block a user