pub fn new(ip_version: IpVersion, ip_protocol: IpProtocol,
               rx_buffer: SocketBuffer<'a, 'b>,
               tx_buffer: SocketBuffer<'a, 'b>) -> Socket<'a, 'b> {
        Socket::Raw(RawSocket {
            meta: SocketMeta::default(),
            ip_version,
            ip_protocol,
            rx_buffer,
            tx_buffer,
        })
    }
/// Create a raw IP socket bound to the given IP version and datagram protocol,
/// with the given buffers.
Create a raw IP socket bound to the given IP version and datagram protocol,
with the given buffers.
Create a raw IP socket bound to the given IP version and datagram protocol with the given buffers .
pub fn new(ip_version: IpVersion, ip_protocol: IpProtocol,
               rx_buffer: SocketBuffer<'a, 'b>,
               tx_buffer: SocketBuffer<'a, 'b>) -> Socket<'a, 'b> {
        Socket::Raw(RawSocket {
            meta: SocketMeta::default(),
            ip_version,
            ip_protocol,
            rx_buffer,
            tx_buffer,
        })
    }
pub fn new ( ip_version : IpVersion , ip_protocol : IpProtocol , rx_buffer : SocketBuffer < ' a , ' b > , tx_buffer : SocketBuffer < ' a , ' b > ) -> Socket < ' a , ' b > { Socket :: Raw ( RawSocket { meta : SocketMeta :: default ( ) , ip_version , ip_protocol , rx_buffer , tx_buffer , } ) }
Create a raw IP socket bound to the given IP version and datagram protocol,
with the given buffers.
Create a raw IP socket bound to the given IP version and datagram protocol with the given buffers .
ip_version
IpVersion
ip_protocol
IpProtocol
rx_buffer
SocketBuffer<'a, 'b>
tx_buffer
SocketBuffer<'a, 'b>
ip_version
IpVersion
ip_protocol
IpProtocol
rx_buffer
SocketBuffer<'a, 'b>
tx_buffer
SocketBuffer<'a, 'b>