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) {
1747
1747
| "IP_RECVORIGDSTADDR"
1748
1748
| "IPV6_ORIGDSTADDR"
1749
1749
| "IPV6_RECVORIGDSTADDR"
1750
+ | "NI_NUMERICSCOPE"
1750
1751
if Some ( 11 ) == freebsd_ver =>
1751
1752
{
1752
1753
true
@@ -1772,6 +1773,7 @@ fn test_freebsd(target: &str) {
1772
1773
| "PD_CLOEXEC"
1773
1774
| "PD_ALLOWED_AT_FORK"
1774
1775
| "IP_RSS_LISTEN_BUCKET"
1776
+ | "NI_NUMERICSCOPE"
1775
1777
if Some ( 10 ) == freebsd_ver =>
1776
1778
{
1777
1779
true
Original file line number Diff line number Diff line change @@ -349,6 +349,13 @@ pub const RLIMIT_UMTXP: ::c_int = 14;
349
349
#[ deprecated( since = "0.2.64" , note = "Not stable across OS versions" ) ]
350
350
pub const RLIM_NLIMITS : :: rlim_t = 15 ;
351
351
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
+
352
359
pub const Q_GETQUOTA : :: c_int = 0x700 ;
353
360
pub const Q_SETQUOTA : :: c_int = 0x800 ;
354
361
You can’t perform that action at this time.
0 commit comments