| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| | |
ifdef out some unused functions to get rid of warnings.
|
| |
| |
| |
| | |
size is size_t not int.
|
| |
| |
| |
| | |
Excise dead code to remove compiler warning
|
| |
| |
| |
| |
| |
| |
| | |
Potential format incompatiablities because flags field in zebra is
uint64_t but the printf format was only 32 bit. For safety, convert
the flags field to unsigned long long. Since it is really a bit
field print in hex.
|
| |
| |
| |
| | |
remove unused code, compiler flags this as unused
|
| |
| |
| |
| |
| |
| |
| |
| | |
To eliminate compiler warnings
* comment out unused code
* fix printf formats
* remove always true expression
* initialize variables
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Changes to eliminate warnings:
* Use %td for pointer diff printf format
* Use %zd for size_t printf format
* Change asn buffers to use u_char
* make some functions local
* add some casts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Compiler warned about dubious code where test was:
char auth_str[];
...
if (!auth_str)
return 0;
Looks like what was meant was testing for empty auth
string.
|
| |
| |
| |
| | |
Enable ipv6 link detect in kernel if needed.
|
|/
|
|
|
| |
Rather that looking for /proc/sys/net/ipv4/conf, use --enable-linkdetect
flag to configure.
|
|
|
|
|
| |
If interface has link-detect enabled, try and turn on link-detect
in the kernel.
|
| |
|
|\ |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
| |
There is no need to increase buffer size or set non-blocking on the
netlink command socket. This reduces the number of system calls per
transaction.
|
|
|
|
|
|
| |
Netlink recvmsg always succeeds, there are no permission checks in
the kernel on receive, only on send and bind. This reduces the number
of system calls and any potential security vulnerabilty in recvmsg().
|
|\ |
|
| |\ |
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
The talk netlink socket should set it's own pid value, so
they can be ignored in listener.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
For static routes, go through same logic to check the state of
the nexthop to see if the route should be activated or not.
Bug fix for 2708
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Netlink can notify us about changes that don't affect operative state
of the interface. So ignore these type of events.
|
| |\ \ \ |
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | |
| | | |
| | | | |
The RIB data structures have lots of "holes" due to compiler alignment.
Since Quagga has to deal with large route tables, rearrange the elements
to save space.
|
|\| | | |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | | |
|
| | |\ \ |
|
| | | | | |
|
| | |/ / |
|
| | |/
| | |
| | |
| | | |
It is a harmless event when BGP tries to delete already deleted routes.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When zebra changes routes it uses the netlink cmd socket, but these
also show up on the netlink listen socket. Use more kernel level socket
filtering so that any changes that happend because of command socket
are ignored.
Uses the netlink port id (pid) to identify the changes from the
command socket.
|
| | | |
|
|/ /
| |
| |
| | |
Fix bug 487 by adding logging into quagga/zebra.
|
| |
| |
| |
| |
| | |
Vtysh is used in pipelines and it helps if the output starts right
away instead of waiting for a whole buffer to fill.
|
| | |
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The watchlink daemon is no longer used, so code can be removed.
If it is needed for future changes it can be recovered from the
source code control system.
|
| |\| |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When interface comes down, need two passes over the rib to correctly
process rib updates. If interface has both ipv6 and ipv4 routes and
comes down, need to do it as a two step process. Not sure exactly why,
but suspect it has to do with the the work queue and the flagging of
activity to the head of the list.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Need to check if next hop is interface and if so then only mark
route active is interface is active. This addresses some of the problems
with static routes when interface goes down.
|
| | |\ |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Watchlink won't work with the new kernel link-detect changes.
Therefore don't build it.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| |/ / /
|/| | /
| | |/
| |/| |
|
| | |
| | |
| | |
| | |
| | |
| | | |
Check if nexthop is active when doing RIB update.
This should fix issues with static routes staying active after
link going down.
|