Skip to content

Conversation

@jjnicola
Copy link
Contributor

@jjnicola jjnicola commented Jun 18, 2024

Also, deprecate header_included() and set_header_included() in favor of header_included_v4() and set_header_included_v4()
Close #517

Copy link
Collaborator

@Thomasdezeeuw Thomasdezeeuw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do it in the same way as #432? Add a _v4 version and deprecating the no suffix version?

@jjnicola jjnicola force-pushed the ip-hdrincl-v6 branch 4 times, most recently from e824e46 to 70d2f72 Compare June 19, 2024 09:56
@jjnicola jjnicola requested a review from Thomasdezeeuw June 19, 2024 09:58
Also, deprecate header_included() and set_header_included() in favor of
header_included_v4() and set_header_included_v4().
Copy link
Collaborator

@Thomasdezeeuw Thomasdezeeuw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Comment on lines +1169 to +1172
#[cfg_attr(
any(target_os = "fuchsia", target_os = "illumos", target_os = "solaris"),
allow(rustdoc::broken_intra_doc_links)
)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see it's on set_header_included_v4, hmmm.. ok to leave then for now.

Comment on lines +1704 to +1707
#[cfg_attr(
any(target_os = "fuchsia", target_os = "illumos", target_os = "solaris"),
allow(rustdoc::broken_intra_doc_links)
)]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here.

@Thomasdezeeuw Thomasdezeeuw merged commit 7fe1bff into rust-lang:master Jun 19, 2024
@Thomasdezeeuw
Copy link
Collaborator

Thanks @jjnicola

@jjnicola
Copy link
Contributor Author

Thanks you @Thomasdezeeuw .

@jjnicola
Copy link
Contributor Author

jjnicola commented Aug 9, 2024

Hi! do you know when this will be available in the crate?

jjnicola added a commit to jjnicola/socket2 that referenced this pull request Oct 15, 2024
Broken since rust-lang#518 - looks like BSD operating systems don't support IP_HDRINCL at the IPPROTO_IPV6 socket level like Linux and Windows; this is causing CI to fail.
jjnicola added a commit to jjnicola/socket2 that referenced this pull request Oct 15, 2024
Broken since rust-lang#518 - looks like BSD operating systems don't support IP_HDRINCL at the IPPROTO_IPV6 socket level like Linux and Windows; this is causing CI to fail.
jjnicola added a commit to jjnicola/socket2 that referenced this pull request Oct 15, 2024
Broken since rust-lang#518 - looks like BSD operating systems don't support IP_HDRINCL at the IPPROTO_IPV6 socket level like Linux and Windows; this is causing CI to fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not able to create IPv6 raw socket

2 participants