mirror of
https://git.proxmox.com/git/mirror_frr
synced 2026-01-25 21:36:38 +00:00
*: Fix spelling of accomodate
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
This commit is contained in:
parent
ed18e04d91
commit
f526739897
@ -64,7 +64,7 @@ like this:
|
||||
Hopefully you get a nice, usable, PIC ``libpcre.a``.
|
||||
|
||||
So now we have to link all these static libraries into FRR. Rather than modify
|
||||
FRR to accomodate this, the best option is to create an archive with all of
|
||||
FRR to accommodate this, the best option is to create an archive with all of
|
||||
libyang's dependencies. Then to avoid making any changes to FRR build foo,
|
||||
rename this ``libyang.a`` and copy it over the usual static library location.
|
||||
Ugly but it works. To do this, go into your libyang build directory, which
|
||||
|
||||
@ -2103,7 +2103,7 @@ void send_hello_sched(struct isis_circuit *circuit, int level, long delay)
|
||||
|
||||
|
||||
/*
|
||||
* Count the maximum number of lsps that can be accomodated by a given size.
|
||||
* Count the maximum number of lsps that can be accommodated by a given size.
|
||||
*/
|
||||
#define LSP_ENTRIES_LEN (10 + ISIS_SYS_ID_LEN)
|
||||
static uint16_t get_max_lsp_count(uint16_t size)
|
||||
|
||||
@ -142,7 +142,7 @@ struct isis_lsp_hdr {
|
||||
/*
|
||||
* Since the length field of LSP Entries TLV is one byte long, and each LSP
|
||||
* entry is LSP_ENTRIES_LEN (16) bytes long, the maximum number of LSP entries
|
||||
* can be accomodated in a TLV is
|
||||
* can be accommodated in a TLV is
|
||||
* 255 / 16 = 15.
|
||||
*
|
||||
* Therefore, the maximum length of the LSP Entries TLV is
|
||||
|
||||
@ -450,7 +450,7 @@ char link_info_set(struct stream **s, struct in_addr id, struct in_addr data,
|
||||
/* LSA stream is initially allocated to OSPF_MAX_LSA_SIZE, suits
|
||||
* vast majority of cases. Some rare routers with lots of links need
|
||||
* more.
|
||||
* we try accomodate those here.
|
||||
* we try accommodate those here.
|
||||
*/
|
||||
if (STREAM_WRITEABLE(*s) < OSPF_ROUTER_LSA_LINK_SIZE) {
|
||||
size_t ret = OSPF_MAX_LSA_SIZE;
|
||||
|
||||
@ -3515,7 +3515,7 @@ static int ospf_make_ls_req_func(struct stream *s, uint16_t *length,
|
||||
/* LS Request packet overflows interface MTU
|
||||
* delta is just number of bytes required for 1 LS Req
|
||||
* ospf_packet_max will return the number of bytes can
|
||||
* be accomodated without ospf header. So length+delta
|
||||
* be accommodated without ospf header. So length+delta
|
||||
* can be compared to ospf_packet_max
|
||||
* to check if it can fit another lsreq in the same packet.
|
||||
*/
|
||||
@ -3649,7 +3649,7 @@ static int ospf_make_ls_ack(struct ospf_interface *oi, struct list *ack,
|
||||
/* LS Ack packet overflows interface MTU
|
||||
* delta is just number of bytes required for
|
||||
* 1 LS Ack(1 LS Hdr) ospf_packet_max will return
|
||||
* the number of bytes can be accomodated without
|
||||
* the number of bytes can be accommodated without
|
||||
* ospf header. So length+delta can be compared
|
||||
* against ospf_packet_max to check if it can fit
|
||||
* another ls header in the same packet.
|
||||
@ -3966,7 +3966,7 @@ void ospf_ls_upd_send_lsa(struct ospf_neighbor *nbr, struct ospf_lsa *lsa,
|
||||
list_delete(&update);
|
||||
}
|
||||
|
||||
/* Determine size for packet. Must be at least big enough to accomodate next
|
||||
/* Determine size for packet. Must be at least big enough to accommodate next
|
||||
* LSA on list, which may be bigger than MTU size.
|
||||
*
|
||||
* Return pointer to new ospf_packet
|
||||
|
||||
@ -849,9 +849,9 @@ static bool pim_bsm_frag_send(uint8_t *buf, uint32_t len, struct interface *ifp,
|
||||
this_pkt_rem = pim_mtu - (PIM_BSM_HDR_LEN
|
||||
+ PIM_MSG_HEADER_LEN);
|
||||
|
||||
/* If pkt can't accomodate next group + at least
|
||||
* one rp, we must break out of this inner loop
|
||||
* and process next RP
|
||||
/* If pkt can't accommodate next group + at
|
||||
* least one rp, we must break out of this inner
|
||||
* loop and process next RP
|
||||
*/
|
||||
if (total_rp_cnt == this_rp_cnt)
|
||||
break;
|
||||
|
||||
@ -398,7 +398,7 @@ static int netlink_route_info_encode(struct netlink_route_info *ri,
|
||||
req->r.rtm_family = ri->af;
|
||||
|
||||
/*
|
||||
* rtm_table field is a uchar field which can accomodate table_id less
|
||||
* rtm_table field is a uchar field which can accommodate table_id less
|
||||
* than 256.
|
||||
* To support table id greater than 255, if the table_id is greater than
|
||||
* 255, set rtm_table to RT_TABLE_UNSPEC and add RTA_TABLE attribute
|
||||
|
||||
Loading…
Reference in New Issue
Block a user