Page MenuHomeFreeBSD

ip_mroute: Try to make function pointer declarations more consistent
ClosedPublic

Authored by markj on Feb 2 2026, 5:30 PM.
Tags
None
Referenced Files
F162634792: D55058.diff
Wed, Jul 15, 7:05 AM
F162634791: D55058.diff
Wed, Jul 15, 7:05 AM
Unknown Object (File)
Sat, Jul 11, 7:53 AM
Unknown Object (File)
Thu, Jul 9, 9:58 PM
Unknown Object (File)
Thu, Jul 9, 6:55 PM
Unknown Object (File)
Fri, Jun 19, 10:50 AM
Unknown Object (File)
Fri, Jun 19, 5:16 AM
Unknown Object (File)
Jun 1 2026, 2:34 PM

Details

Summary

The ip_mroute and ip6_mroute modules hook into the network stack via
several function pointers. Declarations for these pointers are
scattered around several headers. Put them all in the same place,
ip(6)_mroute.h.

No functional change intended.

Diff Detail

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

Event Timeline

glebius added inline comments.
sys/netinet/ip_mroute.h
362–366

I don't think any modern compiler actually needs this any more.

This revision is now accepted and ready to land.Feb 2 2026, 5:46 PM