Add a function to check if a packet is ours

This allows the ping socket codepaths to be simpler.

Bug: 9469682
Change-Id: I05174cafd74ad5de5e867af8a3a3ac19439034b4
4 files changed