summaryrefslogtreecommitdiffstats
path: root/isisd/isis_adjacency.h
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2017-06-21 15:21:00 +0200
committerChristian Franke <chris@opensourcerouting.org>2017-08-03 11:34:04 +0200
commit0c1bd7588b0d5d51e2e8e72e85ab113504d0584b (patch)
tree9f6e682d5fcbe7edc484c60f88bc4c8fa935d2a5 /isisd/isis_adjacency.h
parentisisd: Don't use structs to encode/decode PDU header (diff)
downloadfrr-0c1bd7588b0d5d51e2e8e72e85ab113504d0584b.tar.xz
frr-0c1bd7588b0d5d51e2e8e72e85ab113504d0584b.zip
isisd: send/receive IIHs with new parser
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_adjacency.h')
-rw-r--r--isisd/isis_adjacency.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/isisd/isis_adjacency.h b/isisd/isis_adjacency.h
index 9f4af1b45..98bb9838f 100644
--- a/isisd/isis_adjacency.h
+++ b/isisd/isis_adjacency.h
@@ -73,13 +73,16 @@ struct isis_adjacency {
int dischanges[ISIS_LEVELS]; /* how many DIS changes ? */
/* an array of N levels for M records */
struct isis_dis_record dis_record[DIS_RECORDS * ISIS_LEVELS];
- enum isis_adj_state adj_state; /* adjacencyState */
- enum isis_adj_usage adj_usage; /* adjacencyUsage */
- struct list *area_addrs; /* areaAdressesOfNeighbour */
- struct nlpids nlpids; /* protocols spoken ... */
- struct list *ipv4_addrs;
+ enum isis_adj_state adj_state; /* adjacencyState */
+ enum isis_adj_usage adj_usage; /* adjacencyUsage */
+ struct area_addr *area_addresses; /* areaAdressesOfNeighbour */
+ unsigned int area_address_count;
+ struct nlpids nlpids; /* protocols spoken ... */
+ struct in_addr *ipv4_addresses;
+ unsigned int ipv4_address_count;
struct in_addr router_address;
- struct list *ipv6_addrs;
+ struct in6_addr *ipv6_addresses;
+ unsigned int ipv6_address_count;
struct in6_addr router_address6;
u_char prio[ISIS_LEVELS]; /* priorityOfNeighbour for DIS */
int circuit_t; /* from hello PDU hdr */