IONetworkData.h Reference

Declared in
IONetworkData.h

Overview

Included Headers

  • <libkern/c++/OSSymbol.h>

  • <libkern/c++/OSSerialize.h>

Constants

See the Overview section above for header-level documentation.

Miscellaneous Defines

   
#define kIONetworkDataAccessTypes "Access Types"
#define kIONetworkDataBasicAccessTypes \
   (kIONetworkDataAccessTypeRead | kIONetworkDataAccessTypeSerialize)
#define kIONetworkDataBytes "Data"
#define kIONetworkDataSize "Size"
Constants
kIONetworkDataAccessTypes

A property of IONetworkData objects.

The kIONetworkDataAccessTypes property is an OSNumber that describes the supported access types of an IONetworkData object.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataBasicAccessTypes

The default access types supported by an IONetworkData object. Allow read() and serialize().

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataBytes

A property of IONetworkData objects.

The kIONetworkDataBytes property is an OSData that describes the data buffer of an IONetworkData object. This property is present only if kIONetworkDataAccessTypeSerialize access is supported.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataSize

A property of IONetworkData objects.

The kIONetworkDataSize property is an OSNumber that describes the size of the data buffer of an IONetworkData object.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

NetworkDataAccessTypes

Constants that describe access types.

enum {
   kIONetworkDataAccessTypeRead = 0x01,
   kIONetworkDataAccessTypeWrite = 0x02,
   kIONetworkDataAccessTypeReset = 0x04,
   kIONetworkDataAccessTypeSerialize = 0x08,
   kIONetworkDataAccessTypeMask = 0xff
};
Constants
kIONetworkDataAccessTypeRead

Read access.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataAccessTypeWrite

Write access.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataAccessTypeReset

Reset access.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataAccessTypeSerialize

Serialization access.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

NetworkDataBufferTypes

The types of data buffers that can be managed by an IONetworkData object.

enum {
   kIONetworkDataBufferTypeInternal = 0,
   kIONetworkDataBufferTypeExternal,
   kIONetworkDataBufferTypeNone
};
Constants
kIONetworkDataBufferTypeInternal

An internal data buffer allocated by the init() method.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataBufferTypeExternal

An external (persistent) data buffer.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.

kIONetworkDataBufferTypeNone

No data buffer. The only useful action perfomed by an IONetworkData object with this buffer type is to call the access notification handler.

Available in OS X v10.0 and later.

Declared in IONetworkData.h.