Skip to content

Commit 81310f5

Browse files
committed
Auto merge of rust-lang#569 - Norbytus:master, r=alexcrichton
Add const socket protocol for divert rule ipfw on FreeBSD
2 parents b821c3e + 65b5a5f commit 81310f5

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,8 @@ pub const AF_INET6_SDP: ::c_int = 42;
407407
#[doc(hidden)]
408408
pub const AF_MAX: ::c_int = 42;
409409

410+
pub const IPPROTO_DIVERT: ::c_int = 258;
411+
410412
pub const PF_SLOW: ::c_int = AF_SLOW;
411413
pub const PF_SCLUSTER: ::c_int = AF_SCLUSTER;
412414
pub const PF_ARP: ::c_int = AF_ARP;

0 commit comments

Comments
 (0)