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
F172383562: D55058.id171641.diff
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
Unknown Object (File)
Sun, Sep 13, 10:26 PM
Unknown Object (File)
Fri, Sep 11, 9:55 PM
Unknown Object (File)
Wed, Sep 9, 7:46 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