test: nic1394.h File Reference

Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

# nic1394.h File Reference

Go to the source code of this file.

## Classes

struct | _NIC1394_FIFO_ADDRESS
struct | _NIC1394_DESTINATION
struct | _NIC1394_MEDIA_PARAMETERS
struct | _NIC1394_LOCAL_NODE_INFO
struct | _NIC1394_VC_INFO
struct | _NIC1394_GASP_HEADER
struct | _NIC1394_ENCAPSULATION_HEADER
struct | _NIC1394_FIRST_FRAGMENT_HEADER
struct | _NIC1394_FRAGMENT_HEADER

## Defines

#define | NIC1394_AF_CURRENT_MAJOR_VERSION 5
#define | NIC1394_AF_CURRENT_MINOR_VERSION 0
#define | NIC1394_ANY_CHANNEL ((UINT)-1)
#define | NIC1394_BROADCAST_CHANNEL ((UINT)-2)
#define | NIC1394_MEDIA_SPECIFIC 0x13940000
#define | NIC1394_VCFLAG_ISOCHRONOUS (0x1 << 1)
#define | NIC1394_VCFLAG_FRAMED (0x1 << 2)
#define | NIC1394_VCFLAG_ALLOCATE (0x1 << 3)
#define | NIC1394_FRAMETYPE_ARP (0x1<<0)
#define | NIC1394_FRAMETYPE_IPV4 (0x1<<1)
#define | NIC1394_FRAMETYPE_IPV4MCAP (0x1<<2)
#define | NIC1394_ETHERTYPE_IP 0x800
#define | NIC1394_ETHERTYPE_ARP 0x806
#define | NIC1394_ETHERTYPE_MCAP 0x8861
#define | NIC1394_LF_FROM_LFBUFSZ(_lfbufsz) ((_lfbufz) >> 14)
#define | NIC1394_BUFFER_SIZE_FROM_LFBUFSZ(_lfbufsz) ((_lfbufz) & 0xfff)
#define | NIC1394_MAX_FRAGMENT_BUFFER_SIZE 0xfff
#define | NIC1394_MAX_FRAGMENT_OFFSET 0xfff
#define | OID_1394_ISSUE_BUS_RESET 0x0C010201

## Typedefs

typedef _NIC1394_FIFO_ADDRESS | NIC1394_FIFO_ADDRESS
typedef _NIC1394_FIFO_ADDRESS * | PNIC1394_FIFO_ADDRESS
typedef enum _NIC1394_ADDRESS_TYPE | NIC1394_ADDRESS_TYPE
typedef enum _NIC1394_ADDRESS_TYPE * | PNIC1394_ADDRESS_TYPE
typedef _NIC1394_DESTINATION | NIC1394_DESTINATION
typedef _NIC1394_DESTINATION * | PNIC1394_DESTINATION
typedef _NIC1394_MEDIA_PARAMETERS | NIC1394_MEDIA_PARAMETERS
typedef _NIC1394_MEDIA_PARAMETERS * | PNIC1394_MEDIA_PARAMETERS
typedef _NIC1394_LOCAL_NODE_INFO | NIC1394_LOCAL_NODE_INFO
typedef _NIC1394_LOCAL_NODE_INFO * | PNIC1394_LOCAL_NODE_INFO
typedef _NIC1394_VC_INFO | NIC1394_VC_INFO
typedef _NIC1394_VC_INFO * | PNIC1394_VC_INFO
typedef _NIC1394_GASP_HEADER | NIC1394_GASP_HEADER
typedef _NIC1394_ENCAPSULATION_HEADER | NIC1394_ENCAPSULATION_HEADER
typedef _NIC1394_ENCAPSULATION_HEADER * | PNIC1394_ENCAPSULATION_HEADER
typedef NIC1394_ENCAPSULATION_HEADER | NIC1394_UNFRAGMENTED_HEADER
typedef NIC1394_ENCAPSULATION_HEADER * | PNIC1394_UNFRAGMENTED_HEADER
typedef _NIC1394_FIRST_FRAGMENT_HEADER | NIC1394_FIRST_FRAGMENT_HEADER
typedef _NIC1394_FIRST_FRAGMENT_HEADER * | PNIC1394_FIRST_FRAGMENT_HEADER
typedef _NIC1394_FRAGMENT_HEADER | NIC1394_FRAGMENT_HEADER
typedef _NIC1394_FRAGMENT_HEADER * | PNIC1394_FRAGMENT_HEADER

## Enumerations

enum | _NIC1394_ADDRESS_TYPE { NIC1394AddressType_Channel, NIC1394AddressType_FIFO }

## Define Documentation

#define NIC1394_AF_CURRENT_MAJOR_VERSION 5

| Definition at line 30 of file nic1394.h.

#define NIC1394_AF_CURRENT_MINOR_VERSION 0

| Definition at line 31 of file nic1394.h.

#define NIC1394_ANY_CHANNEL ((UINT)-1)

| Definition at line 84 of file nic1394.h.

#define NIC1394_BROADCAST_CHANNEL ((UINT)-2)

| Definition at line 85 of file nic1394.h.

#define NIC1394_BUFFER_SIZE_FROM_LFBUFSZ | ( | _lfbufsz |  | ) | ((_lfbufz) & 0xfff)

| Definition at line 325 of file nic1394.h.

#define NIC1394_ETHERTYPE_ARP 0x806

| Definition at line 290 of file nic1394.h.

#define NIC1394_ETHERTYPE_IP 0x800

| Definition at line 289 of file nic1394.h.

#define NIC1394_ETHERTYPE_MCAP 0x8861

| Definition at line 291 of file nic1394.h.

#define NIC1394_FRAMETYPE_ARP (0x1<<0)

| Definition at line 199 of file nic1394.h.

#define NIC1394_FRAMETYPE_IPV4 (0x1<<1)

| Definition at line 200 of file nic1394.h.

#define NIC1394_FRAMETYPE_IPV4MCAP (0x1<<2)

| Definition at line 201 of file nic1394.h.

#define NIC1394_LF_FROM_LFBUFSZ | ( | _lfbufsz |  | ) | ((_lfbufz) >> 14)

| Definition at line 322 of file nic1394.h.

#define NIC1394_MAX_FRAGMENT_BUFFER_SIZE 0xfff

| Definition at line 328 of file nic1394.h.

#define NIC1394_MAX_FRAGMENT_OFFSET 0xfff

| Definition at line 380 of file nic1394.h.

#define NIC1394_MEDIA_SPECIFIC 0x13940000

| Definition at line 92 of file nic1394.h.

#define NIC1394_VCFLAG_ALLOCATE (0x1 << 3)

| Definition at line 190 of file nic1394.h.

#define NIC1394_VCFLAG_FRAMED (0x1 << 2)

| Definition at line 180 of file nic1394.h.

#define NIC1394_VCFLAG_ISOCHRONOUS (0x1 << 1)

| Definition at line 173 of file nic1394.h.

#define OID_1394_ISSUE_BUS_RESET 0x0C010201

| Definition at line 388 of file nic1394.h.

## Typedef Documentation

typedef enum _NIC1394_ADDRESS_TYPE NIC1394_ADDRESS_TYPE

typedef struct _NIC1394_DESTINATION NIC1394_DESTINATION

typedef struct _NIC1394_ENCAPSULATION_HEADER NIC1394_ENCAPSULATION_HEADER

typedef struct _NIC1394_FIFO_ADDRESS NIC1394_FIFO_ADDRESS

typedef struct _NIC1394_FIRST_FRAGMENT_HEADER NIC1394_FIRST_FRAGMENT_HEADER

typedef struct _NIC1394_FRAGMENT_HEADER NIC1394_FRAGMENT_HEADER

typedef struct _NIC1394_GASP_HEADER NIC1394_GASP_HEADER

typedef struct _NIC1394_LOCAL_NODE_INFO NIC1394_LOCAL_NODE_INFO

typedef struct _NIC1394_MEDIA_PARAMETERS NIC1394_MEDIA_PARAMETERS

typedef NIC1394_ENCAPSULATION_HEADER NIC1394_UNFRAGMENTED_HEADER

| Definition at line 300 of file nic1394.h.

typedef struct _NIC1394_VC_INFO NIC1394_VC_INFO

typedef enum _NIC1394_ADDRESS_TYPE * PNIC1394_ADDRESS_TYPE

typedef struct _NIC1394_DESTINATION * PNIC1394_DESTINATION

typedef struct _NIC1394_ENCAPSULATION_HEADER * PNIC1394_ENCAPSULATION_HEADER

typedef struct _NIC1394_FIFO_ADDRESS * PNIC1394_FIFO_ADDRESS

typedef struct _NIC1394_FIRST_FRAGMENT_HEADER * PNIC1394_FIRST_FRAGMENT_HEADER

typedef struct _NIC1394_FRAGMENT_HEADER * PNIC1394_FRAGMENT_HEADER

typedef struct _NIC1394_LOCAL_NODE_INFO * PNIC1394_LOCAL_NODE_INFO

typedef struct _NIC1394_MEDIA_PARAMETERS * PNIC1394_MEDIA_PARAMETERS

typedef NIC1394_ENCAPSULATION_HEADER * PNIC1394_UNFRAGMENTED_HEADER

| Definition at line 300 of file nic1394.h.

typedef struct _NIC1394_VC_INFO * PNIC1394_VC_INFO

## Enumeration Type Documentation

enum _NIC1394_ADDRESS_TYPE

Enumeration values:

  NIC1394AddressType_Channel |
  NIC1394AddressType_FIFO |

Definition at line 54 of file nic1394.h.

    00055 {
    00056         NIC1394AddressType_Channel,              // Indicates this is a channel address
    00057         NIC1394AddressType_FIFO,                 // Indicates this is a FIFO address
    00058
    00059 } NIC1394_ADDRESS_TYPE, *PNIC1394_ADDRESS_TYPE;