VirtualBox

Changeset 11538 in vbox for trunk/include


Ignore:
Timestamp:
Aug 21, 2008 3:16:07 PM (16 years ago)
Author:
vboxsync
Message:

pcnet: Rearranged the giant frame detection, adding the VLAN EtherType to iprt/net.h. Btw. to make things easier to read, don't do if (error) do-lots; else do-what-we're-here-for; because then the reader will have to skip lots of code when following the normal execution path. Also, there is hardly any point in using the 'register' keyword these days.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/net.h

    r11445 r11538  
    134134#define RTNET_ETHERTYPE_ARP     UINT16_C(0x0806)
    135135#define RTNET_ETHERTYPE_IPV6    UINT16_C(0x86dd)
     136#define RTNET_ETHERTYPE_VLAN    UINT16_C(0x8100)
    136137#define RTNET_ETHERTYPE_IPX_1   UINT16_C(0x8037)
    137138#define RTNET_ETHERTYPE_IPX_2   UINT16_C(0x8137)
Note: See TracChangeset for help on using the changeset viewer.

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