packet_formats::igmp

Function make_v3_possible_floating_point

Source
pub fn make_v3_possible_floating_point(val: u32) -> Option<u8>
Expand description

Makes an u8 code out of an u32 value that can be represented as a floating point.

See definition in parse_v3_possible_floating_point