Age Entry For IPv4 & IPv6 Route Table
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v1 Latest posting 2/24 patches 2 repliesIn review
- v1 posting 1/24 patches 0 repliesSuperseded
Patches in v1 posting 2/2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | New attribute RTA_AGEinclude/ | +1 | 0 replies | |
| 2/4 | Add new timeval_to_sec functioninclude/ | +13 | 1 reply | |
| 3/4 | Initilize and populate age fieldnet/ net/ net/ +1 more | +23 | 1 reply | |
| 4/4 | Initialize and fill IPv6 route ageinclude/ include/ net/ +1 more | +29 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RESEND][PATCH 0/4 Rev-3] Age Entry For IPv4 & IPv6 Route Table
Hi Dave,
Iam resending the patch set again. Let me know if you need anything else.
Regards,
Varun
Original Comment:
According to the RFC 4292 (IP Forwarding Table MIB) there is a need for an age entry for all the routes in therouting table. The entry in the RFC is inetCidrRouteAge and oid is inetCidrRouteAge.1.10. Many snmp application require this age entry. So iam adding the age field in the routing table for ipv4 and ipv6 and providing the interface for this value netlink.
I made a note of changes i made as per the suggestions given in the community. Here is the changelog.
Changelog since ver 1:
---------------------
Changes Suggestion
1)Change in the interface from proc to netlink.
It was not approved by David Miller and Yoshifuji. David Miller & Yoshifuji
2)Change from jiffies to timeval. Eric Dumazet
3)Rounding up timeval Patrick McHardy, Oliver Hartkopp
Eric Dumazet.
4)Relocate timeval_to_sec Stephen Hemminger, Krishna Kumar
5)Using macro RT6_GET_ROUTE_INFO Krishna Kumar
6)Add proper comment for timeval_to_sec Eric Dumazet
7)Add proper comment for timeval insertion Thomas Graf
---