Struct smoltcp::phy::RawSocket [] [src]

pub struct RawSocket { /* fields omitted */ }

A socket that captures or transmits the complete frame.

Methods

impl RawSocket
[src]

Creates a raw socket, bound to the interface called name.

This requires superuser privileges or a corresponding capability bit set on the executable.

Trait Implementations

impl Debug for RawSocket
[src]

Formats the value using the given formatter.

impl Device for RawSocket
[src]

Get maximum transmission unit. Read more

Receive a frame. Read more

Transmit a frame. Read more