::
ethernet::
ethernet_rx::
Struct
EthRx
pub struct EthRx {
inner:
HeaderPayloadRxStream
<
EthernetHeader
>,
diagnostics:
Option
<
Diagnostic
>,
}
Implementations
impl
EthRx
entity
filter_packets
<F>(self, clk:
clock
, rst:
bool
, f: F) ->
EthRx
where
F:
Fn
(
EthernetHeader
) ->
bool
,
impl
EthRx
entity
into_arp
(self, clk:
clock
, rst:
bool
, self_mac:
MacAddr
) ->
ArpRx
entity
into_ip
(self, clk:
clock
, rst:
bool
, self_mac:
MacAddr
) ->
IpRx