Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2020 11:07:57 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 251047] Multicast: Not possible to add MFC entry's when MAXVIFS = 64
Message-ID:  <bug-251047-7501-f9Tp0LtjEm@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251047-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251047-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251047

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

It seems there is no easy way, but the kernel has sysctl variable that depe=
nds
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251047-7501-f9Tp0LtjEm>