pub fn read_net_type(input: &str) -> IResult<&str, NetType>