Page MenuHomeFreeBSD

ifnet: Remove if_getamcount()
ClosedPublic

Authored by markj on Sep 3 2024, 5:00 PM.
Tags
None
Referenced Files
F112542229: D46523.id142822.diff
Wed, Mar 19, 2:51 PM
Unknown Object (File)
Mon, Mar 10, 12:10 PM
Unknown Object (File)
Feb 11 2025, 6:12 PM
Unknown Object (File)
Feb 9 2025, 7:08 AM
Unknown Object (File)
Jan 27 2025, 2:52 PM
Unknown Object (File)
Jan 24 2025, 7:50 PM
Unknown Object (File)
Jan 13 2025, 12:18 AM
Unknown Object (File)
Dec 9 2024, 2:39 AM

Details

Summary

All uses of this function were incorrect. if_amcount is a reference
count which tracks the number of times the network stack internally set
IFF_ALLMULTI. (if_pcount is the corresponding counter for IFF_PROMISC.)

Remove if_getamcount() and fix up callers to get the number of assigned
multicast addresses instead, since that's what they actually want.

Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable