[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220630133051.41685-1-equinox@diac24.net>
Date: Thu, 30 Jun 2022 15:30:49 +0200
From: David Lamparter <equinox@...c24.net>
To: netdev@...r.kernel.org
Cc: David Lamparter <equinox@...c24.net>
Subject: [PATCH net-next 0/2] ip6mr: implement RTM_GETROUTE for single entry
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
Powered by blists - more mailing lists