diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-08-06 21:18:42 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2019-08-06 21:46:46 +0000 |
| commit | ec15e1b5884d6b23a878aedcc6bcbda927022c96 (patch) | |
| tree | 76eeb5451f84eefb9f9e28c64a3c649b4b648f02 /lib/stream.h | |
| parent | edc245754602e8338929d5eb2f86a2fe660a8c15 (diff) | |
bgpd: tx addpath info for labeled unicast
Labeled unicast needs path IDs too!
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'lib/stream.h')
| -rw-r--r-- | lib/stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stream.h b/lib/stream.h index 5341bfa40b..a903ec0ea5 100644 --- a/lib/stream.h +++ b/lib/stream.h @@ -199,7 +199,8 @@ extern int stream_put_prefix_addpath(struct stream *, struct prefix *, uint32_t addpath_tx_id); extern int stream_put_prefix(struct stream *, struct prefix *); extern int stream_put_labeled_prefix(struct stream *, struct prefix *, - mpls_label_t *); + mpls_label_t *, int addpath_encode, + uint32_t addpath_tx_id); extern void stream_get(void *, struct stream *, size_t); extern bool stream_get2(void *data, struct stream *s, size_t size); extern void stream_get_from(void *, struct stream *, size_t, size_t); |
