summaryrefslogtreecommitdiffstats
path: root/lib/ipaddr.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* zebra: remote RMAC for EVPN ipv6 hosts should be programmed against the ipv4 ↵Mitesh Kanjariya2018-05-091-0/+10
| | | | | | | | | | | | | | | | | | | nexthop For ipv6 host, the next hop is conevrted to ipv6 mapped address. However, the remote rmac should still be programmed with the ipv4 address. This is how the entries will look in the kernel for ipv6 hosts routing. vrf routing table: ipv6 -> ipv6_mapped remote vtep on l3vni SVI neigh table: ipv6_mapped remote vtep -> remote RMAC bridge fdb: remote rmac -> ipv4 vtep tunnel Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
* *: use C99 standard fixed-width integer typesQuentin Young2018-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | The following types are nonstandard: - u_char - u_short - u_int - u_long - u_int8_t - u_int16_t - u_int32_t Replace them with the C99 standard types: - uint8_t - unsigned short - unsigned int - unsigned long - uint8_t - uint16_t - uint32_t Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
* Merge branch 'master' of https://github.com/frrouting/frr into ↵vivek2018-03-061-0/+6
|\ | | | | | | | | | | | | evpn-ipv6-tenant-routing Conflicts: zebra/zserv.c
* | lib, zebra: Fix warningsvivek2018-03-011-0/+1
| | | | | | | | Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
* | *: EVPN symmetric routing for IPv6 tenant routesvivek2018-02-281-0/+10
|/ | | | | | | | | | | | | | | | Implement support for EVPN symmetric routing for IPv6 routes. The next hop for EVPN routes is the IP address of the remote VTEP which is only an IPv4 address. This means that for IPv6 symmetric routing, there will be IPv6 destinations with IPv4 next hops. To make this work, the IPv4 next hops are converted into IPv4-mapped IPv6 addresses. As part of support, ensure that "L3" route-targets are not announced with IPv6 link-local addresses so that they won't be installed in the routing table. Signed-off-by: Vivek Venkatraman vivek@cumulusnetworks.com Reviewed-by: Mitesh Kanjariya mitesh@cumulusnetworks.com Reviewed-by: Donald Sharp sharpd@cumulusnetworks.com
* *: reindentreindent-master-afterwhitespace / reindent2017-07-171-42/+36
| | | | | | indent.py `git ls-files | pcregrep '\.[ch]$' | pcregrep -v '^(ldpd|babeld|nhrpd)/'` Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
* lib: Remove typedef from ipaddrDonald Sharp2017-07-101-5/+5
| | | | | | | | The ipaddr_t type was conflicting with code on omnios. Remove the typedef Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
* lib: Define generic IP address structurevivek2017-05-251-0/+94
Define an IP address structure which is a union of an IPv4 and IPv6 address. This is for subsequent use in EVPN. Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com>