diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2014-04-24 17:30:26 +0200 |
|---|---|---|
| committer | Christian Franke <chris@opensourcerouting.org> | 2017-01-30 13:47:04 +0100 |
| commit | d75f3b00e74de3350202848d62b2bfbcdd1c0dae (patch) | |
| tree | 0c20a539e4f15602fa3d51ea58f464b6e8661df2 /lib/zclient.h | |
| parent | 3c7c91d0bd04d4db0a47db5717d36671ecc96a1b (diff) | |
lib: send ZAPI IPv6 source prefix
This introduces ZAPI_MESSAGE_SRCPFX, and if set adds a source prefix
field to ZAPI IPv6 route messages sent from daemons to zebra. The
function calls all have a new prefix_ipv6 * argument specifying the
source, or NULL. All daemons currently supply NULL.
Zebra support for processing the field was added in the previous patch,
however, zebra does not do anything useful with the value yet.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/zclient.h')
| -rw-r--r-- | lib/zclient.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/zclient.h b/lib/zclient.h index 7808fd804f..6b1a18a311 100644 --- a/lib/zclient.h +++ b/lib/zclient.h @@ -246,7 +246,8 @@ struct zapi_ipv6 }; extern int zapi_ipv6_route (u_char cmd, struct zclient *zclient, - struct prefix_ipv6 *p, struct zapi_ipv6 *api); + struct prefix_ipv6 *p, struct prefix_ipv6 *src_p, + struct zapi_ipv6 *api); extern int zapi_ipv4_route_ipv6_nexthop (u_char, struct zclient *, struct prefix_ipv4 *, struct zapi_ipv6 *); |
