On the equivalence of some generalized network problems to pure network problems