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)
Wed, May 20, 12:15 PM
Unknown Object (File)
Mon, May 18, 12:05 PM
Unknown Object (File)
Mon, May 18, 12:01 PM
Unknown Object (File)
Sun, May 17, 7:09 PM
Unknown Object (File)
Sun, May 17, 7:04 PM
Unknown Object (File)
Sun, May 3, 4:31 AM
Unknown Object (File)
Sun, May 3, 4:27 AM
Unknown Object (File)
Mon, Apr 27, 5:13 AM

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