pub fn receive_ipv4_packet_action<BC, CC, B>(
core_ctx: &mut CC,
bindings_ctx: &mut BC,
device: &CC::DeviceId,
packet: &Ipv4Packet<B>,
frame_dst: Option<FrameDestination>,
) -> ReceivePacketAction<Ipv4, CC::DeviceId>where
BC: IpLayerBindingsContext<Ipv4, CC::DeviceId>,
CC: IpLayerContext<Ipv4, BC> + CounterContext<IpCounters<Ipv4>>,
B: SplitByteSlice,
Expand description
Computes the action to take in order to process a received IPv4 packet.