parsing l2 packets