Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
sctp: move to plugins, disabled by default
[vpp.git]
/
src
/
vnet
/
dpo
/
receive_dpo.h
diff --git
a/src/vnet/dpo/receive_dpo.h
b/src/vnet/dpo/receive_dpo.h
index
9ab86a8
..
9459fbc
100644
(file)
--- a/
src/vnet/dpo/receive_dpo.h
+++ b/
src/vnet/dpo/receive_dpo.h
@@
-47,6
+47,8
@@
typedef struct receive_dpo_t_
u16 rd_locks;
} receive_dpo_t;
u16 rd_locks;
} receive_dpo_t;
+extern int dpo_is_receive(const dpo_id_t *dpo);
+
extern void receive_dpo_add_or_lock (dpo_proto_t proto,
u32 sw_if_index,
const ip46_address_t *nh_addr,
extern void receive_dpo_add_or_lock (dpo_proto_t proto,
u32 sw_if_index,
const ip46_address_t *nh_addr,
@@
-57,7
+59,7
@@
extern void receive_dpo_module_init(void);
/**
* @brief pool of all receive DPOs
*/
/**
* @brief pool of all receive DPOs
*/
-receive_dpo_t *receive_dpo_pool;
+
extern
receive_dpo_t *receive_dpo_pool;
static inline receive_dpo_t *
receive_dpo_get (index_t index)
static inline receive_dpo_t *
receive_dpo_get (index_t index)