File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
src/unix/bsd/freebsdlike/freebsd Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -1747,6 +1747,7 @@ fn test_freebsd(target: &str) {
17471747 | "IP_RECVORIGDSTADDR"
17481748 | "IPV6_ORIGDSTADDR"
17491749 | "IPV6_RECVORIGDSTADDR"
1750+ | "NI_NUMERICSCOPE"
17501751 if Some ( 11 ) == freebsd_ver =>
17511752 {
17521753 true
@@ -1772,6 +1773,7 @@ fn test_freebsd(target: &str) {
17721773 | "PD_CLOEXEC"
17731774 | "PD_ALLOWED_AT_FORK"
17741775 | "IP_RSS_LISTEN_BUCKET"
1776+ | "NI_NUMERICSCOPE"
17751777 if Some ( 10 ) == freebsd_ver =>
17761778 {
17771779 true
Original file line number Diff line number Diff line change @@ -349,6 +349,13 @@ pub const RLIMIT_UMTXP: ::c_int = 14;
349349#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
350350pub const RLIM_NLIMITS : :: rlim_t = 15 ;
351351
352+ pub const NI_NOFQDN : :: c_int = 0x00000001 ;
353+ pub const NI_NUMERICHOST : :: c_int = 0x00000002 ;
354+ pub const NI_NAMEREQD : :: c_int = 0x00000004 ;
355+ pub const NI_NUMERICSERV : :: c_int = 0x00000008 ;
356+ pub const NI_DGRAM : :: c_int = 0x00000010 ;
357+ pub const NI_NUMERICSCOPE : :: c_int = 0x00000020 ;
358+
352359pub const Q_GETQUOTA : :: c_int = 0x700 ;
353360pub const Q_SETQUOTA : :: c_int = 0x800 ;
354361
You can’t perform that action at this time.
0 commit comments