#
778f5600 |
| 07-Apr-2022 |
andvar <andvar@NetBSD.org> |
fix various typos in comments.
|
#
2c3eb313 |
| 04-Apr-2016 |
ozaki-r <ozaki-r@NetBSD.org> |
Separate nexthop caches from the routing table
By this change, nexthop caches (IP-MAC address pair) are not stored in the routing table anymore. Instead nexthop caches are stored in each network int
Separate nexthop caches from the routing table
By this change, nexthop caches (IP-MAC address pair) are not stored in the routing table anymore. Instead nexthop caches are stored in each network interface; we already have lltable/llentry data structure for this purpose. This change also obsoletes the concept of cloning/cloned routes. Cloned routes no longer exist while cloning routes still exist with renamed to connected routes.
Noticeable changes are: - Nexthop caches aren't listed in route show/netstat -r - sysctl(NET_RT_DUMP) doesn't return them - If RTF_LLDATA is specified, it returns nexthop caches - Several definitions of routing flags and messages are removed - RTF_CLONING, RTF_XRESOLVE, RTF_LLINFO, RTF_CLONED and RTM_RESOLVE - RTF_CONNECTED is added - It has the same value of RTF_CLONING for backward compatibility - route's -xresolve, -[no]cloned and -llinfo options are removed - -[no]cloning remains because it seems there are users - -[no]connected is introduced and recommended to be used instead of -[no]cloning - route show/netstat -r drops some flags - 'L' and 'c' are not seen anymore - 'C' now indicates a connected route - Gateway value of a route of an interface address is now not a L2 address but "link#N" like a connected (cloning) route - Proxy ARP: "arp -s ... pub" doesn't create a route
You can know details of behavior changes by seeing diffs under tests/.
Proposed on tech-net and tech-kern: http://mail-index.netbsd.org/tech-net/2016/03/11/msg005701.html
show more ...
|
#
fa9d5b40 |
| 12-Oct-2013 |
kefren <kefren@NetBSD.org> |
zeroize the rest of the comparable struct before adding it to the rb tree
|
#
4b7afb61 |
| 31-Jul-2013 |
kefren <kefren@NetBSD.org> |
Store local bindings in a rbtree
|
#
4d49a739 |
| 27-Jul-2013 |
kefren <kefren@NetBSD.org> |
check route messages sizes more carefully cache pid treat every message at a time, even if there are more messages to read interpret also cloning routes
The latter two should fix the ldp_regen test
|
#
cf599a17 |
| 24-Jul-2013 |
kefren <kefren@NetBSD.org> |
* use a flag in label struct in order to determine if we should treat the associated routes using RTF_HOST * clean the mess in flush_mpls_routes that could result in accessing uninitialized memory
|
#
75fc9253 |
| 20-Jul-2013 |
kefren <kefren@NetBSD.org> |
don't connect on first hello, there are chances that ours is not seen yet setproctitle with ldp id - useful for rump kernels testing fix a memory leak in ldp_peer_new don't holddown if already holded
don't connect on first hello, there are chances that ours is not seen yet setproctitle with ldp id - useful for rump kernels testing fix a memory leak in ldp_peer_new don't holddown if already holded down peer sockets are now non-blocking connected routes deletes are now processed check if peer is connected before attempting to sending label mappings
show more ...
|
#
de4de23a |
| 18-Jul-2013 |
kefren <kefren@NetBSD.org> |
* rework the reattachment code * build an implnull label when a route is added and let mpls_add_label to take care of relabelling * take out last piece of the code where we do route lookups - we sh
* rework the reattachment code * build an implnull label when a route is added and let mpls_add_label to take care of relabelling * take out last piece of the code where we do route lookups - we should have every information we need in labels * tested these changes using a number of rump kernels and some couple of thousands of flapping routes
show more ...
|
#
2a3b3ff6 |
| 18-Jul-2013 |
kefren <kefren@NetBSD.org> |
Make sure labels are always updated when a route is added and when a peer is added Rework mpls_add_label according to that so no route refresh is done anymore Use poll when reading the PF_ROUTE socke
Make sure labels are always updated when a route is added and when a peer is added Rework mpls_add_label according to that so no route refresh is done anymore Use poll when reading the PF_ROUTE socket setsockopt SO_USELOOPBACK on the PF_ROUTE socket Output some information on SIGINFO Allow map changing for a ldp peer Finally fix the connected routes admission into labels Correct the route trigger when a label map is received
show more ...
|
#
5bd38586 |
| 16-Jul-2013 |
kefren <kefren@NetBSD.org> |
create binding for connected routes on startup decay an warning message to debug only
|
#
52758972 |
| 16-Jul-2013 |
kefren <kefren@NetBSD.org> |
retire union_ntoa, replace it with satos check for valid sizes on PF_ROUTE socket minor comment update
|
#
0b23d251 |
| 12-Jul-2013 |
kefren <kefren@NetBSD.org> |
correct loopback address test correct addr add/del handling
|
#
a3907f70 |
| 11-Jul-2013 |
kefren <kefren@NetBSD.org> |
add code for address and address withdraw messages get rid of unused fields in tlv struct
|
#
de472c46 |
| 11-Jul-2013 |
kefren <kefren@NetBSD.org> |
sprinkle more const
|
#
d920bea6 |
| 11-Jul-2013 |
kefren <kefren@NetBSD.org> |
speed up a little bit the string<->prefixlen transforms
|
#
6e6da1a6 |
| 26-Jan-2013 |
kefren <kefren@NetBSD.org> |
modify structures in order to accomodate IPv6 according to draft-ietf-mpls-ldp-ipv6. Correct a little bit IPv6 hello path
|
#
85ebf103 |
| 15-Mar-2012 |
joerg <joerg@NetBSD.org> |
Add __printflike attribution to use vprintf and friends with an argument as format string.
|
#
78adec6b |
| 16-Jun-2011 |
kefren <kefren@NetBSD.org> |
Correct prefixlen->sockaddr calculation. Now ldpd may finally allow MPLS forwarding for default route.
|
#
e9e98980 |
| 16-Jun-2011 |
kefren <kefren@NetBSD.org> |
shorten some execution paths related to check_route() and get_route() statify a bit don't assume AF_INET in a debug message
|
#
f7692d6b |
| 14-Jun-2011 |
kefren <kefren@NetBSD.org> |
* add no-default-route option into configuration file and check it before rejecting default-route * exit process in case of error into the main loop * complete FSM for RTM_CHANGE * Check if we overfl
* add no-default-route option into configuration file and check it before rejecting default-route * exit process in case of error into the main loop * complete FSM for RTM_CHANGE * Check if we overflow pollfd array
show more ...
|
#
c9781acf |
| 14-Feb-2011 |
kefren <kefren@NetBSD.org> |
get rid of unused variable/assignments
|
#
ae933d33 |
| 09-Feb-2011 |
kefren <kefren@NetBSD.org> |
use RT_ROUNDUP provided by net/route.h
|
#
d8f6a75e |
| 04-Jan-2011 |
kefren <kefren@NetBSD.org> |
check from_cidr_to_union() result
|
#
769c32d9 |
| 09-Dec-2010 |
christos <christos@NetBSD.org> |
- no cast for malloc - malloc + memset = calloc - sizeof(type) -> sizeof(*var) - small indents
|
#
a994a89a |
| 08-Dec-2010 |
kefren <kefren@NetBSD.org> |
Add ldpd, a RFC 3036 compatible LDP speaker.
|