Skip to content

Commit b7cb4d2

Browse files
committed
Add constants from linux/in.h
1 parent 598939d commit b7cb4d2

File tree

1 file changed

+11
-0
lines changed
  • src/unix/linux_like/linux

1 file changed

+11
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1298,6 +1298,17 @@ pub const IPPROTO_MPLS: ::c_int = 137;
12981298
pub const IPPROTO_RAW: ::c_int = 255;
12991299
pub const IPPROTO_MAX: ::c_int = 256;
13001300

1301+
pub const IP_MSFILTER: ::c_int = 41;
1302+
pub const MCAST_JOIN_GROUP: ::c_int = 42;
1303+
pub const MCAST_BLOCK_SOURCE: ::c_int = 43;
1304+
pub const MCAST_UNBLOCK_SOURCE: ::c_int = 44;
1305+
pub const MCAST_LEAVE_GROUP: ::c_int = 45;
1306+
pub const MCAST_JOIN_SOURCE_GROUP: ::c_int = 46;
1307+
pub const MCAST_LEAVE_SOURCE_GROUP: ::c_int = 47;
1308+
pub const MCAST_MSFILTER: ::c_int = 48;
1309+
pub const IP_MULTICAST_ALL: ::c_int = 49;
1310+
pub const IP_UNICAST_IF: ::c_int = 50;
1311+
13011312
pub const AF_IB: ::c_int = 27;
13021313
pub const AF_MPLS: ::c_int = 28;
13031314
pub const AF_NFC: ::c_int = 39;

0 commit comments

Comments
 (0)