Skip to content

Commit aea17ed

Browse files
committed
Merge pull request #140 from jaksi/patch-1
Add IP_TRANSPARENT socket option
2 parents 7ce8eba + d614a3f commit aea17ed

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/unix/notbsd/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ pub const IP_TTL: ::c_int = 2;
342342
pub const IP_HDRINCL: ::c_int = 3;
343343
pub const IP_ADD_MEMBERSHIP: ::c_int = 35;
344344
pub const IP_DROP_MEMBERSHIP: ::c_int = 36;
345+
pub const IP_TRANSPARENT: ::c_int = 19;
345346
pub const IPV6_ADD_MEMBERSHIP: ::c_int = 20;
346347
pub const IPV6_DROP_MEMBERSHIP: ::c_int = 21;
347348

0 commit comments

Comments
 (0)