summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_dplane.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-09-10 21:36:30 +0200
committerMark Stapp <mjs@voltanet.io>2018-11-21 16:38:08 +0100
commit68b375e05956cdd1ce935fd54939312b75e3a546 (patch)
tree1e3a0fc2a96e3acfa60a6a470112559669d3db5b /zebra/zebra_dplane.h
parentzebra: add initial error handling to dplane loop (diff)
downloadfrr-68b375e05956cdd1ce935fd54939312b75e3a546.tar.xz
frr-68b375e05956cdd1ce935fd54939312b75e3a546.zip
zebra: revise dplane dequeue api
Change the dataplane context dequeue api used by zebra to make the purpose a bit clearer. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_dplane.h')
-rw-r--r--zebra/zebra_dplane.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_dplane.h b/zebra/zebra_dplane.h
index 60dfb07fe..2e64540d6 100644
--- a/zebra/zebra_dplane.h
+++ b/zebra/zebra_dplane.h
@@ -133,7 +133,7 @@ void dplane_ctx_list_append(struct dplane_ctx_q *to_list,
struct dplane_ctx_q *from_list);
/* Dequeue a context block from the head of caller's tailq */
-void dplane_ctx_dequeue(struct dplane_ctx_q *q, struct zebra_dplane_ctx **ctxp);
+struct zebra_dplane_ctx *dplane_ctx_dequeue(struct dplane_ctx_q *q);
/*
* Accessors for information from the context object