Opened 15 years ago

Closed 15 years ago

#5608 closed bug (fixed)

[IPv6] [PATCH] struct ipv6_mreq missing

Reported by: andreasf Owned by: axeld
Priority: low Milestone: R1
Component: System/POSIX Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is supposed to be defined in netinet/in.h according to The Open Group Base Specifications Issue 7.

http://www.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html#tag_13_32

Mono assumes its availability when AF_INET6 is defined.

Attachments (2)

ipv6_mreq.diff (501 bytes ) - added by andreasf 15 years ago.
proposed patch
ipv6_sockopts.diff (603 bytes ) - added by andreasf 15 years ago.
draft patch

Download all attachments as: .zip

Change History (7)

comment:1 by axeld, 15 years ago

Owner: changed from nobody to axeld
Status: newin-progress

by andreasf, 15 years ago

Attachment: ipv6_mreq.diff added

proposed patch

comment:2 by andreasf, 15 years ago

I've attached a patch adding the structure in netinet6/in6.h, but it appears there are some IPV6_* defines missing in netinet/in.h as well.

by andreasf, 15 years ago

Attachment: ipv6_sockopts.diff added

draft patch

comment:3 by andreasf, 15 years ago

Summary: [IPv6] struct ipv6_mreq missing[IPv6] [PATCH] struct ipv6_mreq missing

I've added a patch adding stub definitions for some POSIX IPv6 socket options.

This lets Mono compile without IPv6 disabled. I did not test however how getsockopt/setsockopt behave at runtime with such fake definitions.

comment:4 by axeld, 15 years ago

Thanks for the patches. However, you can leave "unimplemented" comments out as IPv6 isn't implemented at all yet. Much more helpful would be the length of the command to use in the setsockopt() call.

Anyway, I'll look into this tomorrow, and will apply your patches then, thanks!

comment:5 by axeld, 15 years ago

Resolution: fixed
Status: in-progressclosed

Added in hrev35934, thanks!

Note: See TracTickets for help on using tickets.