Support longest prefix match routing described as "Longest Match" in RFC 1812, Section 5.2.4.3, Page 75. Introduced `prefixlen` to indicate the prefix length of currently founded route, and only looks up for longer prefix in all later steps. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Make.defs | ||
| neighbor.h | ||
| neighbor_add.c | ||
| neighbor_dumpentry.c | ||
| neighbor_ethernet_out.c | ||
| neighbor_findentry.c | ||
| neighbor_globals.c | ||
| neighbor_lookup.c | ||
| neighbor_out.c | ||
| neighbor_snapshot.c | ||
| neighbor_update.c | ||