netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] ip6mr: implement RTM_GETROUTE for single entry
@ 2022-06-30 13:30 David Lamparter
  2022-06-30 13:30 ` [PATCH 1/2] ipv6: make rtm_ipv6_policy available David Lamparter
                   ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: David Lamparter @ 2022-06-30 13:30 UTC (permalink / raw)
  To: netdev; +Cc: David Lamparter

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

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-07-06  9:52 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-30 13:30 [PATCH net-next 0/2] ip6mr: implement RTM_GETROUTE for single entry David Lamparter
2022-06-30 13:30 ` [PATCH 1/2] ipv6: make rtm_ipv6_policy available David Lamparter
2022-06-30 13:30 ` [PATCH 2/2] net: ip6mr: add RTM_GETROUTE netlink op David Lamparter
2022-07-01  3:27 ` [PATCH net-next 0/2] ip6mr: implement RTM_GETROUTE for single entry Jakub Kicinski
2022-07-01  7:58   ` [PATCH resend " David Lamparter
2022-07-01  7:58     ` [PATCH net-next 1/2] ipv6: make rtm_ipv6_policy available David Lamparter
2022-07-01  7:58     ` [PATCH net-next 2/2] net: ip6mr: add RTM_GETROUTE netlink op David Lamparter
2022-07-03 19:07       ` David Ahern
2022-07-04  8:35         ` David Lamparter
2022-07-04  9:58   ` [PATCH net-next v2] " David Lamparter
2022-07-04 10:22     ` Nikolay Aleksandrov
2022-07-04 10:38       ` David Lamparter
2022-07-04 10:44         ` Nikolay Aleksandrov
2022-07-04 10:52           ` [PATCH net-next v3] " David Lamparter
2022-07-05  2:50             ` Jakub Kicinski
2022-07-06  9:52               ` David Lamparter
2022-07-05  3:38     ` [PATCH net-next v2] " kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).