Page MenuHomeFreeBSD

ifnet: Remove if_getamcount()
ClosedPublic

Authored by markj on Sep 3 2024, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 2:29 PM
Unknown Object (File)
Tue, Oct 14, 2:29 PM
Unknown Object (File)
Tue, Oct 14, 2:29 PM
Unknown Object (File)
Tue, Oct 14, 12:48 AM
Unknown Object (File)
Sat, Oct 11, 6:08 AM
Unknown Object (File)
Wed, Oct 8, 5:50 PM
Unknown Object (File)
Thu, Oct 2, 3:52 AM
Unknown Object (File)
Thu, Oct 2, 12:17 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