Linearized boundary conditions at a rough surface