Add filtering by protocol to FromDevice.