Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
IP Multicast FIB (mfib)
[vpp.git]
/
src
/
vnet
/
dpo
/
load_balance.h
diff --git
a/src/vnet/dpo/load_balance.h
b/src/vnet/dpo/load_balance.h
index
dc6485e
..
b901c5b
100644
(file)
--- a/
src/vnet/dpo/load_balance.h
+++ b/
src/vnet/dpo/load_balance.h
@@
-36,6
+36,7
@@
#include <vnet/ip/lookup.h>
#include <vnet/dpo/dpo.h>
#include <vnet/fib/fib_types.h>
#include <vnet/ip/lookup.h>
#include <vnet/dpo/dpo.h>
#include <vnet/fib/fib_types.h>
+#include <vnet/fib/fib_entry.h>
/**
* Load-balance main
/**
* Load-balance main
@@
-98,6
+99,11
@@
typedef struct load_balance_t_ {
*/
dpo_proto_t lb_proto;
*/
dpo_proto_t lb_proto;
+ /**
+ * Flags from the load-balance's associated fib_entry_t
+ */
+ fib_entry_flag_t lb_fib_entry_flags;
+
/**
* The number of locks, which is approximately the number of users,
* of this load-balance.
/**
* The number of locks, which is approximately the number of users,
* of this load-balance.
@@
-159,7
+165,7
@@
extern index_t load_balance_create(u32 num_buckets,
flow_hash_config_t fhc);
extern void load_balance_multipath_update(
const dpo_id_t *dpo,
flow_hash_config_t fhc);
extern void load_balance_multipath_update(
const dpo_id_t *dpo,
- load_balance_path_t * raw_next_hops,
+
const
load_balance_path_t * raw_next_hops,
load_balance_flags_t flags);
extern void load_balance_set_bucket(index_t lbi,
load_balance_flags_t flags);
extern void load_balance_set_bucket(index_t lbi,
@@
-167,6
+173,8
@@
extern void load_balance_set_bucket(index_t lbi,
const dpo_id_t *next);
extern void load_balance_set_urpf(index_t lbi,
index_t urpf);
const dpo_id_t *next);
extern void load_balance_set_urpf(index_t lbi,
index_t urpf);
+extern void load_balance_set_fib_entry_flags(index_t lbi,
+ fib_entry_flag_t flags);
extern index_t load_balance_get_urpf(index_t lbi);
extern u8* format_load_balance(u8 * s, va_list * args);
extern index_t load_balance_get_urpf(index_t lbi);
extern u8* format_load_balance(u8 * s, va_list * args);