diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-07-29 12:38:41 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2005-07-29 12:38:41 +0000 |
commit | 68cbe169688694f8a042a0d0af226479f86b23d1 (patch) | |
tree | a4d2d1ad461c4d12cb484646a58c96d61f8c1908 /usr.sbin/bgpd/rde.h | |
parent | c87c66d277c6e8db11fd4e952c1dd9a3e8640721 (diff) |
Add another piece to the IPv6 puzzle. This time code to generate MP updates.
Does not affect IPv4 minimaly tested for IPv6 because we still don't have an
IPv6 capable neighbor. henning@ ya
Diffstat (limited to 'usr.sbin/bgpd/rde.h')
-rw-r--r-- | usr.sbin/bgpd/rde.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/rde.h b/usr.sbin/bgpd/rde.h index 25971418fac..bd6f8bcbcf7 100644 --- a/usr.sbin/bgpd/rde.h +++ b/usr.sbin/bgpd/rde.h @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.h,v 1.68 2005/07/01 12:10:21 claudio Exp $ */ +/* $OpenBSD: rde.h,v 1.69 2005/07/29 12:38:40 claudio Exp $ */ /* * Copyright (c) 2003, 2004 Claudio Jeker <claudio@openbsd.org> and @@ -59,6 +59,8 @@ struct rde_peer { struct uplist_prefix withdraws; struct uplist_attr updates6; struct uplist_prefix withdraws6; + struct capabilities capa_announced; + struct capabilities capa_received; u_int32_t prefix_cnt; u_int32_t remote_bgpid; u_int32_t up_pcnt; @@ -324,13 +326,15 @@ int nexthop_compare(struct nexthop *, struct nexthop *); void prefix_evaluate(struct prefix *, struct pt_entry *); void up_init(struct rde_peer *); void up_down(struct rde_peer *); +void up_dump_upcall(struct pt_entry *, void *); void up_generate_updates(struct rde_peer *, struct prefix *, struct prefix *); void up_generate_default(struct rde_peer *, sa_family_t); int up_dump_prefix(u_char *, int, struct uplist_prefix *, struct rde_peer *); int up_dump_attrnlri(u_char *, int, struct rde_peer *); -void up_dump_upcall(struct pt_entry *, void *); +char *up_dump_mp_unreach(u_char *, u_int16_t *, struct rde_peer *); +char *up_dump_mp_reach(u_char *, u_int16_t *, struct rde_peer *); /* rde_prefix.c */ void pt_init(void); |