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)
Thu, Sep 24, 7:08 PM
Unknown Object (File)
Tue, Sep 22, 3:37 PM
Unknown Object (File)
Sun, Sep 20, 3:38 PM
Unknown Object (File)
Fri, Sep 18, 2:56 AM
Unknown Object (File)
Wed, Sep 16, 1:04 AM
Unknown Object (File)
Mon, Sep 14, 11:39 PM
Unknown Object (File)
Mon, Sep 14, 11:39 PM
Unknown Object (File)
Mon, Sep 14, 11:39 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