Add functions to collect networking information.