X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fdpo%2Freceive_dpo.h;h=9459fbcc2790f326648ad33e3628da4aeefc3bd2;hb=47727c02df4c79c21c6ceffaff65222c32cf6996;hp=9ab86a824c6016540b849dcb0cbf06ea98258911;hpb=eb987d3a09f669787014b1553f032219522149e1;p=vpp.git diff --git a/src/vnet/dpo/receive_dpo.h b/src/vnet/dpo/receive_dpo.h index 9ab86a824c6..9459fbcc279 100644 --- 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; +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, @@ -57,7 +59,7 @@ extern void receive_dpo_module_init(void); /** * @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)