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

Classes | Defines | Typedefs | Enumerations | Functions | Variables

intnet.h File Reference

#include <VBox/types.h>
#include <VBox/stam.h>
#include <VBox/sup.h>
#include <iprt/assert.h>
#include <iprt/asm.h>
Include dependency graph for intnet.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  INTNETBUF
struct  INTNETHDR
struct  INTNETIFABORTWAITREQ
struct  INTNETIFCLOSEREQ
struct  INTNETIFGETBUFFERPTRSREQ
struct  INTNETIFSENDREQ
struct  INTNETIFSETACTIVEREQ
struct  INTNETIFSETMACADDRESSREQ
struct  INTNETIFSETPROMISCUOUSMODEREQ
struct  INTNETIFWAITREQ
struct  INTNETOPENREQ
struct  INTNETRINGBUF
struct  INTNETSEG
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 INTNETBUF_ASSERT_SANITY(pBuf)
#define INTNETBUF_MAGIC   UINT32_C(0x19110919)
#define INTNETHDR_ALIGNMENT   sizeof(INTNETHDR)
#define INTNETHDR_ASSERT_SANITY(pHdr, pRingBuf)
#define INTNETRINGBUF_ALIGNMENT   sizeof(INTNETHDR)
#define INTNETRINGBUF_ASSERT_SANITY(pRingBuf)
#define INTNETTRUNKFACTORY_UUID_STR   "de504d93-1d1e-4781-8b73-6ea39a0e36a2"
#define INTNETTRUNKIFPORT_VERSION   UINT32_C(0xA2CDe001)
#define INTNETTRUNKSWPORT_VERSION   UINT32_C(0xA2CDf001)
INTNETSG::fFlags definitions.
#define INTNETSG_FLAGS_FREE   RT_BIT_32(1)
#define INTNETSG_FLAGS_TEMP   RT_BIT_32(2)
#define INTNETSG_FLAGS_ARP_IPV4   RT_BIT_32(3)
#define INTNETSG_FLAGS_PKT_CP_IN_TMP   RT_BIT_32(4)
Direction (frame source or destination)
#define INTNETTRUNKDIR_WIRE   RT_BIT_32(0)
#define INTNETTRUNKDIR_HOST   RT_BIT_32(1)
#define INTNETTRUNKDIR_VALID_MASK   UINT32_C(3)
INTNETTRUNKFACTORY::pfnCreateAndConnect flags.
#define INTNETTRUNKFACTORY_FLAG_NO_PROMISC   RT_BIT_32(0)
IntNetR0Open flags.
#define INTNET_OPEN_FLAGS_SHARED_MAC_ON_WIRE   RT_BIT_32(0)
#define INTNET_OPEN_FLAGS_PUBLIC   RT_BIT_32(1)
#define INTNET_OPEN_FLAGS_IGNORE_PROMISC   RT_BIT_32(2)
#define INTNET_OPEN_FLAGS_QUIETLY_IGNORE_PROMISC   RT_BIT_32(3)
#define INTNET_OPEN_FLAGS_IGNORE_PROMISC_TRUNK_WIRE   RT_BIT_32(4)
#define INTNET_OPEN_FLAGS_QUIETLY_IGNORE_PROMISC_TRUNK_WIRE   RT_BIT_32(5)
#define INTNET_OPEN_FLAGS_IGNORE_PROMISC_TRUNK_HOST   RT_BIT_32(6)
#define INTNET_OPEN_FLAGS_QUIETLY_IGNORE_PROMISC_TRUNK_HOST   RT_BIT_32(7)
#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_SECURITY_OR_MASK   (RT_BIT_32(3) | RT_BIT_32(5) | RT_BIT_32(7))
#define INTNET_OPEN_FLAGS_MASK   UINT32_C(0x000000ff)

Typedefs

typedef struct INTNETBUF INTNETBUF
typedef struct INTNETHDR INTNETHDR
typedef struct INTNETIFABORTWAITREQ INTNETIFABORTWAITREQ
typedef struct INTNETIFCLOSEREQ INTNETIFCLOSEREQ
typedef struct
INTNETIFGETBUFFERPTRSREQ 
INTNETIFGETBUFFERPTRSREQ
typedef uint32_t INTNETIFHANDLE
typedef struct INTNETIFSENDREQ INTNETIFSENDREQ
typedef struct INTNETIFSETACTIVEREQ INTNETIFSETACTIVEREQ
typedef struct
INTNETIFSETMACADDRESSREQ 
INTNETIFSETMACADDRESSREQ
typedef struct
INTNETIFSETPROMISCUOUSMODEREQ 
INTNETIFSETPROMISCUOUSMODEREQ
typedef struct INTNETIFWAITREQ INTNETIFWAITREQ
typedef struct INTNETOPENREQ INTNETOPENREQ
typedef RT_C_DECLS_BEGIN
struct INTNETRINGBUF 
INTNETRINGBUF
typedef struct INTNETSEG INTNETSEG
typedef struct INTNETSG INTNETSG
typedef enum INTNETSWDECISION INTNETSWDECISION
typedef struct INTNETTRUNKFACTORY INTNETTRUNKFACTORY
typedef struct INTNETTRUNKIFPORT INTNETTRUNKIFPORT
typedef enum INTNETTRUNKIFSTATE INTNETTRUNKIFSTATE
typedef struct INTNETTRUNKSWPORT INTNETTRUNKSWPORT
typedef enum INTNETTRUNKTYPE INTNETTRUNKTYPE
typedef INTNETBUF const * PCINTNETBUF
typedef INTNETHDR const * PCINTNETHDR
typedef INTNETSEG const * PCINTNETSEG
typedef INTNETSG const * PCINTNETSG
typedef INTNETBUFPINTNETBUF
typedef INTNETHDRPINTNETHDR
typedef INTNETIFABORTWAITREQPINTNETIFABORTWAITREQ
typedef INTNETIFCLOSEREQPINTNETIFCLOSEREQ
typedef INTNETIFGETBUFFERPTRSREQPINTNETIFGETBUFFERPTRSREQ
typedef INTNETIFHANDLEPINTNETIFHANDLE
typedef INTNETIFSENDREQPINTNETIFSENDREQ
typedef INTNETIFSETACTIVEREQPINTNETIFSETACTIVEREQ
typedef INTNETIFSETMACADDRESSREQPINTNETIFSETMACADDRESSREQ
typedef
INTNETIFSETPROMISCUOUSMODEREQ
PINTNETIFSETPROMISCUOUSMODEREQ
typedef INTNETIFWAITREQPINTNETIFWAITREQ
typedef INTNETOPENREQPINTNETOPENREQ
typedef INTNETRINGBUFPINTNETRINGBUF
typedef INTNETSEGPINTNETSEG
typedef INTNETSGPINTNETSG
typedef INTNETTRUNKFACTORYPINTNETTRUNKFACTORY
typedef struct INTNETTRUNKIFPORTPINTNETTRUNKIFPORT
typedef struct INTNETTRUNKSWPORTPINTNETTRUNKSWPORT

Enumerations

enum  INTNETSWDECISION {
  INTNETSWDECISION_INVALID = 0, INTNETSWDECISION_BROADCAST, INTNETSWDECISION_INTNET, INTNETSWDECISION_TRUNK,
  INTNETSWDECISION_BAD_CONTEXT, INTNETSWDECISION_DROP, INTNETSWDECISION_32BIT_HACK = 0x7fffffff
}
enum  INTNETTRUNKIFSTATE {
  INTNETTRUNKIFSTATE_INVALID = 0, INTNETTRUNKIFSTATE_INACTIVE, INTNETTRUNKIFSTATE_ACTIVE, INTNETTRUNKIFSTATE_DISCONNECTING,
  INTNETTRUNKIFSTATE_END, INTNETTRUNKIFSTATE_32BIT_HACK = 0x7fffffff
}
enum  INTNETTRUNKTYPE {
  kIntNetTrunkType_Invalid = 0, kIntNetTrunkType_None, kIntNetTrunkType_WhateverNone, kIntNetTrunkType_NetFlt,
  kIntNetTrunkType_NetAdp, kIntNetTrunkType_SrvNat, kIntNetTrunkType_End, kIntNetTrunkType_32bitHack = 0x7fffffff
}

Functions

 AssertCompile (sizeof(INTNETHDR)==INTNETHDR_ALIGNMENT)
 AssertCompile (INTNETHDR_ALIGNMENT<=INTNETRINGBUF_ALIGNMENT)
 AssertCompileMemberOffset (INTNETBUF, Send, 64)
 AssertCompileMemberOffset (INTNETBUF, Recv, 16)
 AssertCompileSize (INTNETBUF, 160)
 AssertCompileSize (INTNETHDR, 8)
 AssertCompileSize (INTNETRINGBUF, 48)
 AssertCompileSizeAlignment (INTNETSG, 8)
 AssertCompileSizeAlignment (INTNETBUF, sizeof(INTNETHDR))
 INTNETR0DECL (int) IntNetR0OpenReq(PSUPDRVSESSION pSession

Variables

PINTNETOPENREQ pReq

Frame types (INTNETHDR::u16Type).

#define INTNETHDR_TYPE_FRAME   0x2442
#define INTNETHDR_TYPE_PADDING   0x3553
#define INTNETHDR_TYPE_GSO   0x4664
 AssertCompileSize (PDMNETWORKGSO, 8)

Detailed Description

INTNET - Internal Networking. (DEV,++)

Definition in file intnet.h.


Generated by  Doxygen 1.6.0   Back to index