Skip to content

Commit 2a650d2

Browse files
committed
feat: IP_RECVTTL for FreeBSD/DragonFlyBSD
1 parent ca70695 commit 2a650d2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

libc-test/semver/dragonfly.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -501,6 +501,7 @@ IPV6_DONTFRAG
501501
IP_HDRINCL
502502
IP_RECVDSTADDR
503503
IP_RECVIF
504+
IP_RECVTTL
504505
IP_SENDSRCADDR
505506
IP_TOS
506507
ITIMER_PROF

libc-test/semver/freebsd.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,7 @@ IP_RECVIF
576576
IP_RECVORIGDSTADDR
577577
IP_DONTFRAG
578578
IP_RECVTOS
579+
IP_RECVTTL
579580
IP_RSS_LISTEN_BUCKET
580581
IP_SENDSRCADDR
581582
IP_TOS

src/unix/bsd/freebsdlike/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -970,6 +970,7 @@ pub const IP_SENDSRCADDR: ::c_int = IP_RECVDSTADDR;
970970
pub const IP_ADD_MEMBERSHIP: ::c_int = 12;
971971
pub const IP_DROP_MEMBERSHIP: ::c_int = 13;
972972
pub const IP_RECVIF: ::c_int = 20;
973+
pub const IP_RECVTTL: ::c_int = 65;
973974
pub const IPV6_JOIN_GROUP: ::c_int = 12;
974975
pub const IPV6_LEAVE_GROUP: ::c_int = 13;
975976
pub const IPV6_CHECKSUM: ::c_int = 26;

0 commit comments

Comments
 (0)