DO NOT MERGE: Add generic IP packet code and use it for GRE.

Bug: 11542311
Change-Id: I91040f35814bd7b23288228a7fdf80f1be2f5a04
4 files changed