diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:42:08 +0100 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2023-11-25 23:42:08 +0100 |
commit | 99094c898d91d9e344eec45645ac632a7979e3fc (patch) | |
tree | 9576f85ea71bedd05e889850394f0423dbfe5c61 /nest/mpls.h | |
parent | 020539e6c178fd7063855b2981a6a41589cca8e4 (diff) | |
parent | b6385decb3f9f4d4029ee7bfc2f013b495a725f8 (diff) |
Merge commit 'b6385dec' into wireguard-next-tmp7-1
Diffstat (limited to 'nest/mpls.h')
-rw-r--r-- | nest/mpls.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/mpls.h b/nest/mpls.h index 6452220a..52865f1c 100644 --- a/nest/mpls.h +++ b/nest/mpls.h @@ -91,7 +91,7 @@ void mpls_domain_postconfig(struct mpls_domain_config *cf); struct mpls_range_config * mpls_range_config_new(struct mpls_domain_config *m, struct symbol *s); void mpls_preconfig(struct config *c); void mpls_commit(struct config *new, struct config *old); -uint mpls_new_label(struct mpls_domain *m, struct mpls_handle *h); +uint mpls_new_label(struct mpls_domain *m, struct mpls_handle *h, uint n); void mpls_free_label(struct mpls_domain *m, struct mpls_handle *h, uint n); static inline struct mpls_domain_config *cf_default_mpls_domain(struct config *cfg) @@ -153,6 +153,7 @@ struct mpls_fec_map { struct channel *channel; /* MPLS channel for FEC announcement */ struct mpls_domain *domain; /* MPLS domain, keeping reference */ struct mpls_handle *handle; /* Handle for allocation of labels */ + struct mpls_handle *static_handle; /* Handle for static label allocations, optional */ struct iface *vrf_iface; u8 mpls_rts; /* Source value used for MPLS routes (RTS_*) */ |