ipv4_gateway_is_valid

Function ipv4_gateway_is_valid 

Source
pub const fn ipv4_gateway_is_valid(gateway: &[u8; 4]) -> bool
Expand description

Whether an IPv4 gateway is acceptable: all-zero for “no default route”, or a usable host address.