Add GTSM support (RFC 6720).
authorrenato <renato@openbsd.org>
Fri, 1 Jul 2016 23:14:31 +0000 (23:14 +0000)
committerrenato <renato@openbsd.org>
Fri, 1 Jul 2016 23:14:31 +0000 (23:14 +0000)
commit5ff72af881a07ca50aa6c6a3def2c19ef3b2c9e6
tree9f6f5e3c021c0db5c1c090b786c4c757ba14367c
parent55e223d9636347827cb9454b49f1833faec09861
Add GTSM support (RFC 6720).

This also finishes the missing bits from our RFC 7552 implementation
because GTSM is mandatory for LDPv6.

To avoid any kind of interoperability problems, I included a few
knobs to enable/disable GTSM on a per-address-family and per-neighbor
basis. Cisco's LDPv6 implementation, for instance, doesn't support GTSM.

"reads good" claudio@
12 files changed:
usr.sbin/ldpd/hello.c
usr.sbin/ldpd/ldp.h
usr.sbin/ldpd/ldpd.8
usr.sbin/ldpd/ldpd.c
usr.sbin/ldpd/ldpd.conf.5
usr.sbin/ldpd/ldpd.h
usr.sbin/ldpd/ldpe.h
usr.sbin/ldpd/neighbor.c
usr.sbin/ldpd/packet.c
usr.sbin/ldpd/parse.y
usr.sbin/ldpd/printconf.c
usr.sbin/ldpd/socket.c