Skip to content

Commit 88e70c5

Browse files
committed
netbsd couple of more getnameinfo flags
1 parent 9c4944a commit 88e70c5

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

libc-test/semver/netbsd.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -598,6 +598,15 @@ NET_RT_OIFLIST
598598
NET_RT_OOIFLIST
599599
NET_RT_OOOIFLIST
600600
NEW_TIME
601+
NI_DGRAM
602+
NI_MAXHOST
603+
NI_MAXSERV
604+
NI_NAMEREQD
605+
NI_NOFQDN
606+
NI_NUMERICHOST
607+
NI_NUMERICSCOPE
608+
NI_NUMERICSERV
609+
NI_WITHSCOPEID
601610
NOEXPR
602611
NOKERNINFO
603612
NOSTR

src/unix/bsd/netbsdlike/netbsd/mod.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1506,6 +1506,15 @@ pub const NOTE_CHILD: u32 = 0x00000004;
15061506
pub const TMP_MAX: ::c_uint = 308915776;
15071507

15081508
pub const NI_MAXHOST: ::socklen_t = 1025;
1509+
pub const NI_MAXSERV: ::socklen_t = 32;
1510+
1511+
pub const NI_NOFQDN: ::c_int = 0x00000001;
1512+
pub const NI_NUMERICHOST: ::c_int = 0x000000002;
1513+
pub const NI_NAMEREQD: ::c_int = 0x000000004;
1514+
pub const NI_NUMERICSERV: ::c_int = 0x000000008;
1515+
pub const NI_DGRAM: ::c_int = 0x00000010;
1516+
pub const NI_WITHSCOPEID: ::c_int = 0x00000020;
1517+
pub const NI_NUMERICSCOPE: ::c_int = 0x00000040;
15091518

15101519
pub const RTLD_NOLOAD: ::c_int = 0x2000;
15111520
pub const RTLD_LOCAL: ::c_int = 0x200;

0 commit comments

Comments
 (0)