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
Unknown Object (File)
Sun, Aug 16, 11:15 AM
Unknown Object (File)
Fri, Aug 14, 11:04 AM
Unknown Object (File)
Thu, Aug 13, 12:55 AM
Unknown Object (File)
Tue, Aug 11, 11:45 PM
Unknown Object (File)
Mon, Aug 10, 12:25 PM
Unknown Object (File)
Sun, Aug 9, 4:03 AM
Unknown Object (File)
Sat, Aug 8, 1:02 PM
Unknown Object (File)
Sat, Aug 8, 12:10 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 Skipped
Unit
Tests Skipped
Build Status
Buildable 70349
Build 67232: arc lint + arc unit

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