libc icon indicating copy to clipboard operation
libc copied to clipboard

Add IPV6_DONTFRAG socket option on OpenBSD

Open flub opened this issue 1 year ago • 2 comments

  • target triple: x86_64-unknown-openbsd
  • Header file: https://github.com/openbsd/src/blob/35659bf2453d7eeb12fd24089cf668ca13361c18/sys/netinet6/in6.h#L330C9-L330C24

According to the git history this symbol has been there for a very long time, so there is probably no need to check the openbsd version.

flub avatar May 16 '24 09:05 flub

You re in the luck, seems it is already there.

devnexen avatar May 20 '24 21:05 devnexen

Huh, totally true. I'm afraid I mixed up the symbol, I am looking for IPV6_DONTFRAG:

https://github.com/openbsd/src/blob/35659bf2453d7eeb12fd24089cf668ca13361c18/sys/netinet6/in6.h#L336

Also has been there since forever in OpenBSD, but I don't think is defined by the libc crate.

flub avatar May 21 '24 12:05 flub

This should have been closed by https://github.com/rust-lang/libc/pull/3716.

tgross35 avatar Aug 15 '24 18:08 tgross35