Skip to content

Commit 3e3b60e

Browse files
committed
Add IP_ORIGDSTADDR and others on FreeBSD.
A follow-up from #1252. CC @asomers. r? @gnzlbg.
1 parent a8a817a commit 3e3b60e

File tree

1 file changed

+8
-0
lines changed
  • src/unix/bsd/freebsdlike/freebsd

1 file changed

+8
-0
lines changed

src/unix/bsd/freebsdlike/freebsd/mod.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -830,8 +830,16 @@ pub const TCP_PCAP_OUT: ::c_int = 2048;
830830
pub const TCP_PCAP_IN: ::c_int = 4096;
831831

832832
pub const IP_BINDANY: ::c_int = 24;
833+
pub const IP_BINDMULTI: ::c_int = 25;
834+
pub const IP_RSS_LISTEN_BUCKET: ::c_int = 26;
835+
pub const IP_ORIGDSTADDR : ::c_int = 27;
836+
pub const IP_RECVORIGDSTADDR : ::c_int = IP_ORIGDSTADDR;
837+
833838
pub const IP_RECVTOS: ::c_int = 68;
834839

840+
pub const IPV6_ORIGDSTADDR: ::c_int = 72;
841+
pub const IPV6_RECVORIGDSTADDR: ::c_int = IPV6_ORIGDSTADDR;
842+
835843
pub const PF_SLOW: ::c_int = AF_SLOW;
836844
pub const PF_SCLUSTER: ::c_int = AF_SCLUSTER;
837845
pub const PF_ARP: ::c_int = AF_ARP;

0 commit comments

Comments
 (0)