VirtualBox

Changeset 63669 in vbox


Ignore:
Timestamp:
Aug 31, 2016 7:29:51 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
110413
Message:

Dev/Net/Virtio: Move packet dumper into common header and use it in virtio.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevVirtioNet.cpp

    r63562 r63669  
    3434# include <iprt/uuid.h>
    3535#endif /* IN_RING3 */
     36#include <VBox/VBoxPktDmp.h>
    3637#include "VBoxDD.h"
    3738#include "../VirtIO/Virtio.h"
     
    323324{
    324325# ifdef DEBUG
     326#  if 0
    325327    Log(("%s %s packet #%d (%d bytes):\n",
    326328         INSTANCE(pThis), pszText, ++pThis->u32PktNo, cb));
    327329    Log3(("%.*Rhxd\n", cb, pbPacket));
     330#  else
     331    vboxEthPacketDump(INSTANCE(pThis), pszText, pbPacket, (uint32_t)cb);
     332#  endif
    328333# else
    329334    RT_NOREF4(pThis, pbPacket, cb, pszText);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette