summaryrefslogtreecommitdiff
path: root/src/unix/bsd/freebsdlike/mod.rs
diff options
context:
space:
mode:
authorJunho Choi <junho.choi@gmail.com>2022-04-05 16:29:38 -0700
committerJunho Choi <junho.choi@gmail.com>2022-04-05 16:29:38 -0700
commit9d17b31dfe7a2acb5ae9b9e15e40a764ebbc11da (patch)
treefcb3f0b9d363cb9dde22e97d178113ca933b6be7 /src/unix/bsd/freebsdlike/mod.rs
parentce7fd91d8d453be6991ce7d0dedfda13db40a1cb (diff)
downloadrust-libc-9d17b31dfe7a2acb5ae9b9e15e40a764ebbc11da.tar.gz
Add IP_DONTFRAG and IPV6_DONTFRAG for FreeBSD-like
FreeBSD: add IP_DONTFRAG FreeBSD, DragonFlyBSD: add IPV6_DONTFRAG
Diffstat (limited to 'src/unix/bsd/freebsdlike/mod.rs')
-rw-r--r--src/unix/bsd/freebsdlike/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/unix/bsd/freebsdlike/mod.rs b/src/unix/bsd/freebsdlike/mod.rs
index d9380bdc45..95774d7121 100644
--- a/src/unix/bsd/freebsdlike/mod.rs
+++ b/src/unix/bsd/freebsdlike/mod.rs
@@ -963,6 +963,7 @@ pub const IPV6_PKTINFO: ::c_int = 46;
pub const IPV6_HOPLIMIT: ::c_int = 47;
pub const IPV6_RECVTCLASS: ::c_int = 57;
pub const IPV6_TCLASS: ::c_int = 61;
+pub const IPV6_DONTFRAG: ::c_int = 62;
pub const TCP_NOPUSH: ::c_int = 4;
pub const TCP_NOOPT: ::c_int = 8;