Generalized slip condition over rough surfaces