Pipe and valve