Support packet handler on different platforms

Part-1 changes to support packet handler on different platforms.
Remove dependnecy on the ENUMS defined in vr_defs.h

Change-Id: I79401b75324a7e65316b6cac6ca2e19e721ff4b1
Merge "Support packet handler on different platforms"