Page MenuHomeFreeBSD

ifnet: Remove if_getamcount()
ClosedPublic

Authored by markj on Sep 3 2024, 5:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 13, 12:18 AM
Unknown Object (File)
Dec 9 2024, 2:39 AM
Unknown Object (File)
Dec 8 2024, 4:19 AM
Unknown Object (File)
Dec 4 2024, 11:06 AM
Unknown Object (File)
Dec 1 2024, 6:48 AM
Unknown Object (File)
Nov 25 2024, 4:47 PM
Unknown Object (File)
Nov 24 2024, 9:03 AM
Unknown Object (File)
Nov 19 2024, 9:59 PM

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