Add code and tests for inet_diag bytecode.

Change-Id: I02af43151cf14905cc762455f282cb7fa5a1b003
3 files changed