Skip to content

Commit

Permalink
Auto merge of #1189 - pusateri:recvdstaddr, r=alexcrichton
Browse files Browse the repository at this point in the history
Add IP_RECVDSTADDR on netbsd.

Accidentally left out IP_RECVDSTADDR on NetBSD in #1184
  • Loading branch information
bors committed Jan 2, 2019
2 parents 7b3d2c6 + 2c95a0d commit b2f7699
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/bsd/netbsdlike/netbsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ pub const F_GETNOSIGPIPE: ::c_int = 13;
pub const F_SETNOSIGPIPE: ::c_int = 14;
pub const F_MAXFD: ::c_int = 11;

pub const IP_RECVDSTADDR: ::c_int = 7;
pub const IP_SENDSRCADDR: ::c_int = IP_RECVDSTADDR;
pub const IP_RECVIF: ::c_int = 20;
pub const IP_PKTINFO: ::c_int = 25;
pub const IP_RECVPKTINFO: ::c_int = 26;
Expand Down

0 comments on commit b2f7699

Please sign in to comment.