![]() ``` struct bgp_nexthop_cache { afi_t afi; /* 0 4 */ ifindex_t ifindex_ipv6_ll; /* 4 4 */ struct bgp_nexthop_cache_item entry; /* 8 32 */ uint32_t metric; /* 40 4 */ uint8_t nexthop_num; /* 44 1 */ _Bool is_evpn_gwip_nexthop; /* 45 1 */ uint16_t change_flags; /* 46 2 */ struct nexthop * nexthop; /* 48 8 */ time_t last_update; /* 56 8 */ /* --- cacheline 1 boundary (64 bytes) --- */ uint16_t flags; /* 64 2 */ /* XXX 2 bytes hole, try to pack */ uint32_t srte_color; /* 68 4 */ struct bgp_nexthop_cache_head * tree; /* 72 8 */ struct prefix prefix __attribute__((__aligned__(8))); /* 80 56 */ /* --- cacheline 2 boundary (128 bytes) was 8 bytes ago --- */ void * nht_info; /* 136 8 */ struct path_list paths; /* 144 8 */ unsigned int path_count; /* 152 4 */ /* XXX 4 bytes hole, try to pack */ struct bgp * bgp; /* 160 8 */ /* size: 168, cachelines: 3, members: 17 */ /* sum members: 162, holes: 2, sum holes: 6 */ /* forced alignments: 1 */ /* last cacheline: 40 bytes */ } __attribute__((__aligned__(8))); /* saved 16 bytes! */ ``` Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org> |
||
---|---|---|
.github | ||
alpine | ||
babeld | ||
bfdd | ||
bgpd | ||
debian | ||
doc | ||
docker | ||
eigrpd | ||
fpm | ||
gdb | ||
grpc | ||
include | ||
isisd | ||
ldpd | ||
lib | ||
m4 | ||
mgmtd | ||
mlag | ||
nhrpd | ||
ospf6d | ||
ospfclient | ||
ospfd | ||
pathd | ||
pbrd | ||
pceplib | ||
pimd | ||
pkgsrc | ||
python | ||
qpb | ||
redhat | ||
ripd | ||
ripngd | ||
sharpd | ||
snapcraft | ||
staticd | ||
tests | ||
tools | ||
vrrpd | ||
vtysh | ||
watchfrr | ||
yang | ||
zebra | ||
.clang-format | ||
.dockerignore | ||
.flake8 | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.isort.cfg | ||
.pylintrc | ||
.travis.yml | ||
bootstrap.sh | ||
buildtest.sh | ||
config.version.in | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
README.md | ||
stamp-h.in | ||
version.h |
FRRouting
FRR is free software that implements and manages various IPv4 and IPv6 routing protocols. It runs on nearly all distributions of Linux and BSD and supports all modern CPU architectures.
FRR currently supports the following protocols:
- BGP
- OSPFv2
- OSPFv3
- RIPv1
- RIPv2
- RIPng
- IS-IS
- PIM-SM/MSDP
- LDP
- BFD
- Babel
- PBR
- OpenFabric
- VRRP
- EIGRP (alpha)
- NHRP (alpha)
Installation & Use
For source tarballs, see the releases page.
For Debian and its derivatives, use the APT repository at https://deb.frrouting.org/.
Instructions on building and installing from source for supported platforms may be found in the developer docs.
Once installed, please refer to the user guide for instructions on use.
Community
The FRRouting email list server is located here and offers the following public lists:
Topic | List |
---|---|
Development | dev@lists.frrouting.org |
Users & Operators | frog@lists.frrouting.org |
Announcements | announce@lists.frrouting.org |
For chat, we currently use Slack. You can join by clicking the "Slack" link under the Participate section of our website.
Contributing
FRR maintains developer's documentation which contains the project workflow and expectations for contributors. Some technical documentation on project internals is also available.
We welcome and appreciate all contributions, no matter how small!
Security
To report security issues, please use our security mailing list:
security [at] lists.frrouting.org