Page MenuHomeFreeBSD

Support struct ip_mreqn in IP_ADD_MEMBERSHIP.
ClosedPublic

Authored by glebius on Feb 20 2019, 10:55 PM.
Tags
None
Referenced Files
F81663311: D19276.diff
Fri, Apr 19, 3:41 PM
Unknown Object (File)
Sat, Mar 23, 7:25 AM
Unknown Object (File)
Feb 15 2024, 7:15 AM
Unknown Object (File)
Dec 20 2023, 4:58 AM
Unknown Object (File)
Nov 9 2023, 10:46 PM
Unknown Object (File)
Nov 7 2023, 10:58 PM
Unknown Object (File)
Nov 7 2023, 11:17 AM
Unknown Object (File)
Nov 5 2023, 1:01 AM
Subscribers

Details

Summary

struct ip_mreqn is Linux extension to classic BSD multicast API. It
has extra fields allowing to specify the interface index explicitly.

We have it declared since r170613 and IP_MULTICAST_IF supports it.

In Linux the structure is used both for IP_MULTICAST_IF and for
IP_ADD_MEMBERSHIP.

The problem is that thirdy party programs see structure declaration
and assume that system supports ip_mreqn for IP_ADD_MEMBERSHIP.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22632
Build 21741: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 23 2019, 6:03 AM
This revision was automatically updated to reflect the committed changes.