Julien Cristau
|
2ec504a4f9
Don't try to add/delete an unreachable default route
|
17 years ago |
Juliusz Chroboczek
|
a307d466ae
Ignore ENOENT when modifying route metrics.
|
17 years ago |
Juliusz Chroboczek
|
29d999d662
More tweaks to kernel error handling.
|
17 years ago |
Juliusz Chroboczek
|
a413cb6ddc
Ignore ESRCH when modifying route metrics.
|
17 years ago |
Juliusz Chroboczek
|
de5d217755
Ignore EEXIST when changing a route's metric.
|
17 years ago |
Juliusz Chroboczek
|
ab0167ef0e
Preliminary handling of the non-blocking netlink sockets.
|
17 years ago |
Juliusz Chroboczek
|
294b911f24
Make netlink sockets non-blocking.
|
17 years ago |
Juliusz Chroboczek
|
2e928f3352
Make another buffer non-static.
|
17 years ago |
Juliusz Chroboczek
|
e624b193b8
More tweaks to netlink debugging code.
|
17 years ago |
Juliusz Chroboczek
|
b31d4850ab
Don't loop forever if there's no filter.
|
17 years ago |
Juliusz Chroboczek
|
ff5e0e6f95
Make netlink less noisy.
|
17 years ago |
Juliusz Chroboczek
|
a624367438
Protect against weird data coming from kernel.
|
17 years ago |
Juliusz Chroboczek
|
81e7cf1ca8
Remove pun.
|
17 years ago |
Juliusz Chroboczek
|
90594b994e
Actually set kernel_socket in kernel_setup.
|
17 years ago |
Juliusz Chroboczek
|
2ec5bf4cc9
Kernel calls back into babel only when routes don't cocome from us.
|
17 years ago |
Juliusz Chroboczek
|
a903a1f334
Call back into babel when a route changes.
|
17 years ago |
Juliusz Chroboczek
|
458af5c324
Return 1 when a route is suitable for redistribution.
|
17 years ago |
Juliusz Chroboczek
|
3d02142c9c
Don't redistribute martian routes.
|
17 years ago |
Juliusz Chroboczek
|
ffd18f72ff
Check table before parsing kernel route.
|
17 years ago |
Juliusz Chroboczek
|
90aabddc14
Don't redistribute link-local routes.
|
17 years ago |
Juliusz Chroboczek
|
ef498b1fa3
Install routes with global scope.
|
17 years ago |
Juliusz Chroboczek
|
aaf414d445
Don't redistribute RTPROT_BOOT.
|
17 years ago |
Juliusz Chroboczek
|
54226db074
Use kernel_route(MODIFY) when updating routes.
|
17 years ago |
Juliusz Chroboczek
|
bdc27e8901
Implement kernel_route(MODIFY).
|
17 years ago |
Juliusz Chroboczek
|
4fce191dd0
Add argument newmetric to kernel_route.
|
17 years ago |
Juliusz Chroboczek
|
150a87a646
Use named constants for kernel route manipulation.
|
17 years ago |
Grégoire Henry
|
17ef3ef2d5
Switch to using netlink for kernel route updates.
|
17 years ago |
Juliusz Chroboczek
|
93d303277a
Add kernel_callback.
|
17 years ago |
Juliusz Chroboczek
|
3206bc625c
Indentation fix.
|
17 years ago |
Juliusz Chroboczek
|
a12be898ab
Implement kernel_routes.
|
17 years ago |