From 40b50b6618d3de2da3f0b1d5cb78f2bc277c7f20 Mon Sep 17 00:00:00 2001 From: Christian Franke Date: Mon, 16 Dec 2013 15:00:28 +0100 Subject: isisd: first feeble attempt at redistribute --- isisd/isis_tlv.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'isisd/isis_tlv.h') diff --git a/isisd/isis_tlv.h b/isisd/isis_tlv.h index e092f4d6..b69a17fc 100644 --- a/isisd/isis_tlv.h +++ b/isisd/isis_tlv.h @@ -228,11 +228,13 @@ struct ipv6_reachability /* bits in control_info */ #define CTRL_INFO_DIRECTION 0x80 -#define DIRECTION_UP 0 -#define DIRECTION_DOWN 1 +#define DIRECTION_UP 0x00 +#define DIRECTION_DOWN 0x80 + #define CTRL_INFO_DISTRIBUTION 0x40 -#define DISTRIBUTION_INTERNAL 0 -#define DISTRIBUTION_EXTERNAL 1 +#define DISTRIBUTION_INTERNAL 0x00 +#define DISTRIBUTION_EXTERNAL 0x40 + #define CTRL_INFO_SUBTLVS 0x20 #endif /* HAVE_IPV6 */ @@ -311,7 +313,8 @@ int tlv_add_in_addr (struct in_addr *, struct stream *stream, u_char tag); int tlv_add_dynamic_hostname (struct hostname *hostname, struct stream *stream); int tlv_add_lsp_entries (struct list *lsps, struct stream *stream); -int tlv_add_ipv4_reachs (struct list *ipv4_reachs, struct stream *stream); +int tlv_add_ipv4_int_reachs (struct list *ipv4_reachs, struct stream *stream); +int tlv_add_ipv4_ext_reachs (struct list *ipv4_reachs, struct stream *stream); int tlv_add_te_ipv4_reachs (struct list *te_ipv4_reachs, struct stream *stream); #ifdef HAVE_IPV6 int tlv_add_ipv6_addrs (struct list *ipv6_addrs, struct stream *stream); -- cgit v1.2.1