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
F153517444: D19276.diff
Tue, Apr 21, 2:08 PM
F153418468: D19276.id54166.diff
Tue, Apr 21, 1:39 AM
Unknown Object (File)
Sat, Apr 18, 4:11 AM
Unknown Object (File)
Tue, Apr 14, 11:16 PM
Unknown Object (File)
Sat, Apr 11, 3:06 AM
Unknown Object (File)
Fri, Apr 10, 11:59 AM
Unknown Object (File)
Fri, Apr 10, 9:38 AM
Unknown Object (File)
Fri, Apr 10, 12:26 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 Not Applicable
Unit
Tests Not Applicable

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.