Skip to content

Commit

Permalink
Replace ip(v6)_mreq structs with libc equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryant Mairs committed Dec 6, 2017
1 parent e9cfd62 commit eb998f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 49 deletions.
13 changes: 4 additions & 9 deletions src/sys/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ use sys::uio::IoVec;

mod addr;
mod ffi;
mod multicast;
pub mod sockopt;

/*
Expand All @@ -36,20 +35,16 @@ pub use ::sys::socket::addr::netlink::NetlinkAddr;
pub use libc::{
in_addr,
in6_addr,
ip_mreq,
ipv6_mreq,
sa_family_t,
sockaddr,
sockaddr_in,
sockaddr_in6,
sockaddr_storage,
sockaddr_un,
sa_family_t,
};

pub use self::multicast::{
ip_mreq,
ipv6_mreq,
};

pub use libc::sockaddr_storage;

/// These constants are used to specify the communication semantics
/// when creating a socket with [`socket()`](fn.socket.html)
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
Expand Down
40 changes: 0 additions & 40 deletions src/sys/socket/multicast.rs

This file was deleted.

0 comments on commit eb998f3

Please sign in to comment.