]> git.ipfire.org Git - thirdparty/bird.git/commit - proto/bgp/bgp.h
BGP: Support for routes with mixed-AF next hops
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 26 Mar 2017 17:20:15 +0000 (19:20 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Sun, 26 Mar 2017 17:20:15 +0000 (19:20 +0200)
commitef57b70fa51687865e5823c0af2df2c6de338215
treeab79f94a41470375b7826498aabb4b8e25bdfbff
parent01111fc42c461202d427260fb56807eac256e8d5
BGP: Support for routes with mixed-AF next hops

Covers IPv4/VPNv4 routes with IPv6 next hop (RFC 5549), IPv6 routes with
IPv4 next hop (RFC 4798) and VPNv6 routes with IPv4 next hop (RFC 4659).
Unfortunately it also makes next hop hooks more messy.

Each BGP channel now could have two IGP tables, one for IPv4 next hops,
the other for IPv6 next hops.
proto/bgp/bgp.c
proto/bgp/bgp.h
proto/bgp/config.Y
proto/bgp/packets.c