Skip to main content

new_filter_egress_ip_packet

Function new_filter_egress_ip_packet 

Source
pub fn new_filter_egress_ip_packet<I: FilterIpExt, S: TransportPacketSerializer<I>>(
    src_addr: I::Addr,
    dst_addr: I::Addr,
    protocol: I::Proto,
    body: &mut S,
) -> impl FilterIpPacket<I> + use<'_, I, S>
Expand description

Creates a new IpPacket with the specified addresses and body.