summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_pw.h
diff options
context:
space:
mode:
authorMark Stapp <mjs@voltanet.io>2018-12-10 20:34:24 +0100
committerMark Stapp <mjs@voltanet.io>2019-01-25 16:45:57 +0100
commit97d8d05a811eac7b3f39c64f7806f5b9c5bc2004 (patch)
treeabf584cc2e151165591c3bc14d52a4cecc2eb43d /zebra/zebra_pw.h
parentzebra: start pseudowire support (diff)
downloadfrr-97d8d05a811eac7b3f39c64f7806f5b9c5bc2004.tar.xz
frr-97d8d05a811eac7b3f39c64f7806f5b9c5bc2004.zip
zebra: convert PW updates to async dataplane
Add accessors for pw attributes; init pw attributes; replace 'hook' calls for pw install/uninstall with dplane apis. Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_pw.h')
-rw-r--r--zebra/zebra_pw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zebra_pw.h b/zebra/zebra_pw.h
index e6e0a22c2..9692fb4d4 100644
--- a/zebra/zebra_pw.h
+++ b/zebra/zebra_pw.h
@@ -62,8 +62,8 @@ RB_PROTOTYPE(zebra_static_pw_head, zebra_pw, static_pw_entry, zebra_pw_compare);
DECLARE_HOOK(pw_install, (struct zebra_pw * pw), (pw))
DECLARE_HOOK(pw_uninstall, (struct zebra_pw * pw), (pw))
-struct zebra_pw *zebra_pw_add(struct zebra_vrf *, const char *, uint8_t,
- struct zserv *);
+struct zebra_pw *zebra_pw_add(struct zebra_vrf *zvrf, const char *ifname,
+ uint8_t protocol, struct zserv *client);
void zebra_pw_del(struct zebra_vrf *, struct zebra_pw *);
void zebra_pw_change(struct zebra_pw *, ifindex_t, int, int, union g_addr *,
uint32_t, uint32_t, uint8_t, union pw_protocol_fields *);