diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-05-13 15:56:41 -0400 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2019-05-13 22:30:28 +0000 |
commit | e6eefb6e3cbe4e36e15e51d8324fc950f0a65f62 (patch) | |
tree | a9309d71612a636428f39444cf02d126594842ce /src/vnet/bier/bier_bit_string.h | |
parent | 5bfb504d2156f9480c1dd813238bd46b71e689d8 (diff) |
Trivial Typo's in bier comments/docs.
Change-Id: I3b3e868277d5caf6b1341814003a3bc5726c2df9
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vnet/bier/bier_bit_string.h')
-rw-r--r-- | src/vnet/bier/bier_bit_string.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vnet/bier/bier_bit_string.h b/src/vnet/bier/bier_bit_string.h index fa42e6a62a8..570b92dc858 100644 --- a/src/vnet/bier/bier_bit_string.h +++ b/src/vnet/bier/bier_bit_string.h @@ -47,7 +47,7 @@ extern void bier_bit_string_clear_bit(bier_bit_string_t *mask, extern u8 *format_bier_bit_string(u8 * s, va_list * args); -#define BIER_BBS_NUM_INT_BUKCETS(_bbs) \ +#define BIER_BBS_NUM_INT_BUCKETS(_bbs) \ (BIER_BBS_LEN_TO_BUCKETS(_bbs->bbs_len) / sizeof(int)) always_inline int @@ -56,7 +56,7 @@ bier_bit_string_is_zero (const bier_bit_string_t *src) u16 index; for (index = 0; - index < BIER_BBS_NUM_INT_BUKCETS(src); + index < BIER_BBS_NUM_INT_BUCKETS(src); index++) { if (((int*)src->bbs_buckets)[index] != 0) { return (0); @@ -74,7 +74,7 @@ bier_bit_string_clear_string (const bier_bit_string_t *src, ASSERT(src->bbs_len == dest->bbs_len); for (index = 0; - index < BIER_BBS_NUM_INT_BUKCETS(src); + index < BIER_BBS_NUM_INT_BUCKETS(src); index++) { ((int*)dest->bbs_buckets)[index] &= ~(((int*)src->bbs_buckets)[index]); } @@ -89,7 +89,7 @@ bier_bit_string_logical_and_string (const bier_bit_string_t *src, ASSERT(src->bbs_len == dest->bbs_len); for (index = 0; - index < BIER_BBS_NUM_INT_BUKCETS(src); + index < BIER_BBS_NUM_INT_BUCKETS(src); index++) { ((int*)dest->bbs_buckets)[index] &= ((int*)src->bbs_buckets)[index]; } |