From 2c95a0dc153fda47ae5bc4b1ac8d8993e2d5665b Mon Sep 17 00:00:00 2001 From: Tom Pusateri Date: Fri, 28 Dec 2018 17:11:35 -0500 Subject: [PATCH] Add IP_RECVDSTADDR on netbsd. --- src/unix/bsd/netbsdlike/netbsd/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/unix/bsd/netbsdlike/netbsd/mod.rs b/src/unix/bsd/netbsdlike/netbsd/mod.rs index 484ede5d..9c8173f3 100644 --- a/src/unix/bsd/netbsdlike/netbsd/mod.rs +++ b/src/unix/bsd/netbsdlike/netbsd/mod.rs @@ -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;