VirtualBox

Changeset 10979 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Jul 30, 2008 12:35:31 PM (16 years ago)
Author:
vboxsync
Message:

tstIntNet-1,iprt: Use iprt/net in tstIntNet-1. Modified the RTNETETHERHDR struct a bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/testcase/tstIntNet-1.cpp

    r10978 r10979  
    4141
    4242#include "../Pcap.h"
    43 
    44 /*******************************************************************************
    45 *   Structures and Typedefs                                                    *
    46 *******************************************************************************/
    47 #pragma pack(1)
    48 
    49 
    50 struct MyDhcpMsg
    51 {
    52     uint8_t     Op;
    53     uint8_t     HType;
    54     uint8_t     HLen;
    55     uint8_t     Hops;
    56     uint32_t    XID;
    57     uint16_t    Secs;
    58     uint16_t    Flags;
    59     uint32_t    CIAddr;
    60     uint32_t    YIAddr;
    61     uint32_t    SIAddr;
    62     uint32_t    GIAddr;
    63     uint8_t     CHAddr[16];
    64     uint8_t     SName[64];
    65     uint8_t     File[128];
    66     uint8_t     abMagic[4];
    67     uint8_t     DhcpOpt;
    68     uint8_t     DhcpLen; /* 1 */
    69     uint8_t     DhcpReq;
    70     uint8_t     abOptions[57];
    71 };
    72 
    73 #pragma pack(0)
    7443
    7544
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