This change adds the ability to examine the contents of multicast
routing tables for other FIBs without the need for executing
netstat with setfib(1).
MFC after: 2 weeks
Sponsored by: Klara, Inc.
Sponsored by: Stormshield
Differential D56205
netstat: Add -F support for -g Authored by bnovkov on Tue, Mar 31, 8:20 PM.
Details
Diff Detail
Event Timeline
Comment Actions When I first thread this, I thought mroute6pr() would need more work since it sadly still uses KVM to access some info. But I think it's okay after all, it reads the net.inet6.ip6.mf6ctable sysctl to get an array of kernel pointers and then uses libkvm to get each entry(!). The sysctl is FIB-aware so this works ok in practice.
Comment Actions Looks good to me.
| ||||||||||||||||||||||||||