Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

intnet.h File Reference


Detailed Description

INETNET - Internal Networking.

Definition in file intnet.h.

#include <VBox/types.h>
#include <VBox/stam.h>
#include <VBox/sup.h>
#include <iprt/assert.h>
#include <iprt/asm.h>

Go to the source code of this file.

Classes

struct  INTNETBUF
struct  INTNETHDR
struct  INTNETIFCLOSEREQ
struct  INTNETIFGETRING3BUFFERREQ
struct  INTNETIFSENDREQ
struct  INTNETIFSETACTIVEREQ
struct  INTNETIFSETMACADDRESSREQ
struct  INTNETIFSETPROMISCUOUSMODEREQ
struct  INTNETIFWAITREQ
struct  INTNETOPENREQ
struct  INTNETRINGBUF
struct  INTNETSG
struct  INTNETTRUNKFACTORY
struct  INTNETTRUNKIFPORT
struct  INTNETTRUNKSWPORT

Defines

#define INTNET_HANDLE_INDEX_MASK   0xffff
#define INTNET_HANDLE_INVALID   (0)
#define INTNET_HANDLE_MAGIC   0x88880000
#define INTNET_HANDLE_MAX   0xffff
#define INTNET_MAX_NETWORK_NAME   128
#define INTNET_MAX_TRUNK_NAME   64
#define INTNETHDR_TYPE_FRAME   0x2442
#define INTNETTRUNKFACTORY_UUID_STR   "449a2799-7564-464d-b4b2-7a877418fd0c"
#define INTNETTRUNKIFPORT_VERSION   UINT32_C(0xA2CDe001)
#define INTNETTRUNKSWPORT_VERSION   UINT32_C(0xA2CDf001)
INTNETR0Open flags.
#define INTNET_OPEN_FLAGS_COMPATIBILITY_XOR_MASK   (RT_BIT_32(0) | RT_BIT_32(1) | RT_BIT_32(2) | RT_BIT_32(4) | RT_BIT_32(6))
#define INTNET_OPEN_FLAGS_IGNORE_PROMISC   RT_BIT_32(2)
#define INTNET_OPEN_FLAGS_IGNORE_PROMISC_TRUNK_HOST   RT_BIT_32(6)
#define INTNET_OPEN_FLAGS_IGNORE_PROMISC_TRUNK_WIRE   RT_BIT_32(4)
#define INTNET_OPEN_FLAGS_MASK   UINT32_C(0x000000ff)
#define INTNET_OPEN_FLAGS_PUBLIC   RT_BIT_32(1)
#define INTNET_OPEN_FLAGS_QUIETLY_IGNORE_PROMISC   RT_BIT_32(3)
#define INTNET_OPEN_FLAGS_QUIETLY_IGNORE_PROMISC_TRUNK_HOST   RT_BIT_32(7)
#define INTNET_OPEN_FLAGS_QUIETLY_IGNORE_PROMISC_TRUNK_WIRE   RT_BIT_32(5)
#define INTNET_OPEN_FLAGS_SECURITY_OR_MASK   (RT_BIT_32(3) | RT_BIT_32(5) | RT_BIT_32(7))
#define INTNET_OPEN_FLAGS_SHARED_MAC_ON_WIRE   RT_BIT_32(0)
INTNETSG::fFlags definitions.
#define INTNETSG_FLAGS_ARP_IPV4   RT_BIT_32(3)
#define INTNETSG_FLAGS_FREE   RT_BIT_32(1)
#define INTNETSG_FLAGS_PKT_CP_IN_TMP   RT_BIT_32(4)
#define INTNETSG_FLAGS_TEMP   RT_BIT_32(2)
Direction (packet source or destination)
#define INTNETTRUNKDIR_HOST   RT_BIT_32(1)
#define INTNETTRUNKDIR_VALID_MASK   UINT32_C(3)
#define INTNETTRUNKDIR_WIRE   RT_BIT_32(0)
INTNETTRUNKFACTORY::pfnCreateAndConnect flags.
#define INTNETTRUNKFACTORY_FLAG_NO_PROMISC   RT_BIT_32(0)

Typedefs

typedef uint32_t INTNETIFHANDLE
typedef INTNETBUF const * PCINTNETBUF
typedef INTNETHDR const * PCINTNETHDR
typedef INTNETSEG const * PCINTNETSEG
typedef INTNETSG const * PCINTNETSG
typedef
typedefRT_C_DECLS_BEGIN struct
INTNET
PINTNET
typedef INTNETBUFPINTNETBUF
typedef INTNETHDRPINTNETHDR
typedef INTNETIFCLOSEREQPINTNETIFCLOSEREQ
typedef INTNETIFGETRING3BUFFERREQPINTNETIFGETRING3BUFFERREQ
typedef INTNETIFHANDLEPINTNETIFHANDLE
typedef INTNETIFSENDREQPINTNETIFSENDREQ
typedef INTNETIFSETACTIVEREQPINTNETIFSETACTIVEREQ
typedef INTNETIFSETMACADDRESSREQPINTNETIFSETMACADDRESSREQ
typedef
INTNETIFSETPROMISCUOUSMODEREQ
PINTNETIFSETPROMISCUOUSMODEREQ
typedef INTNETIFWAITREQPINTNETIFWAITREQ
typedef INTNETOPENREQPINTNETOPENREQ
typedef INTNETRINGBUFPINTNETRINGBUF
typedef INTNETSEG * PINTNETSEG
typedef INTNETSGPINTNETSG
typedef INTNETTRUNKFACTORYPINTNETTRUNKFACTORY
typedef struct INTNETTRUNKIFPORTPINTNETTRUNKIFPORT
typedef struct INTNETTRUNKSWPORTPINTNETTRUNKSWPORT

Enumerations

enum  INTNETTRUNKTYPE {
  kIntNetTrunkType_Invalid = 0, kIntNetTrunkType_None, kIntNetTrunkType_WhateverNone, kIntNetTrunkType_NetFlt,
  kIntNetTrunkType_NetAdp, kIntNetTrunkType_SrvNat, kIntNetTrunkType_End, kIntNetTrunkType_32bitHack = 0x7fffffff
}

Functions

 DECLINLINE (void *) INTNETHdrGetFramePtr(PCINTNETHDR pHdr
 DECLINLINE (uint32_t) INTNETRingGetWritable(PINTNETRINGBUF pRingBuf)
 INTNETR0DECL (int) INTNETR0OpenReq(PINTNET pIntNet

Variables

PSUPDRVSESSION PINTNETOPENREQ pReq
PSUPDRVSESSION pSession


Generated by  Doxygen 1.6.0   Back to index