https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251047

--- Comment #3 from Andrey V. Elsukov <a...@freebsd.org> ---
(In reply to Louis from comment #2)

It seems there is no easy way, but the kernel has sysctl variable that depends
from MAXVIFS:

# sysctl -o net.inet.ip.viftable
net.inet.ip.viftable: Format:S,vif[MAXVIFS] Length:1792
Dump:0x00d068f601f8ffff0000000000000000...

The size of struct vif is known, so you can determine MAXVIFS.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to