Thread (17 messages) 17 messages, 5 authors, 2022-07-06
STALE1438d
Revisions (2)
  1. v1 [diff vs current]
  2. resend current

[PATCH resend net-next 0/2] ip6mr: implement RTM_GETROUTE for single entry

From: David Lamparter <hidden>
Date: 2022-07-01 07:58:54

[resend with a slightly random pick of Cc:s - apologies if I ended up
choosing poorly]

The IPv6 multicast routing code implements RTM_GETROUTE, but only for a
dump request.  Retrieving a single MFC entry is not currently possible
via netlink.

While most of the data here can also be retrieved with SIOCGETSGCNT_IN6,
the lastused / RTA_EXPIRES is not included in the ioctl result (and we
need it in FRR.)

=> Implement single-entry RTM_GETROUTE by copying and adapting the IPv4
code.

Tested against FRRouting's (work-in-progress) IPv6 PIM implementation.

Cheers,


-David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help