Added differentiation of protocols. Prints ethernet and ip headers.