pub fn parse_ip_packet<I: IpExt>(
buf: &[u8],
) -> IpParseResult<I, (&[u8], I::Addr, I::Addr, I::Proto, u8)>
Expand description
Parse an IP packet.
parse_ip_packet
parses an IP packet, returning the body along with some
important header fields.