Skip to content

Commit b2f7699

Browse files
committed
Auto merge of #1189 - pusateri:recvdstaddr, r=alexcrichton
Add IP_RECVDSTADDR on netbsd. Accidentally left out IP_RECVDSTADDR on NetBSD in #1184
2 parents 7b3d2c6 + 2c95a0d commit b2f7699

File tree

1 file changed

+2
-0
lines changed
  • src/unix/bsd/netbsdlike/netbsd

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ pub const F_GETNOSIGPIPE: ::c_int = 13;
393393
pub const F_SETNOSIGPIPE: ::c_int = 14;
394394
pub const F_MAXFD: ::c_int = 11;
395395

396+
pub const IP_RECVDSTADDR: ::c_int = 7;
397+
pub const IP_SENDSRCADDR: ::c_int = IP_RECVDSTADDR;
396398
pub const IP_RECVIF: ::c_int = 20;
397399
pub const IP_PKTINFO: ::c_int = 25;
398400
pub const IP_RECVPKTINFO: ::c_int = 26;

0 commit comments

Comments
 (0)