#include <IOKit/network/IONetworkInterface.h>

IOKit/network/IONetworkInterface.h Kernel.framework

@defined kIONetworkInterfaceClass @abstract The name of the IONetworkInterface class.
15 macros · 2 enums · 2 typedefs

macrokIONetworkInterfaceClass

#define kIONetworkInterfaceClass "IONetworkInterface"

macrokIONetworkData

#define kIONetworkData "IONetworkData"

macrokIOInterfaceType

#define kIOInterfaceType "IOInterfaceType"

macrokIOMaxTransferUnit

#define kIOMaxTransferUnit "IOMaxTransferUnit"

macrokIOMediaAddressLength

#define kIOMediaAddressLength "IOMediaAddressLength"

macrokIOMediaHeaderLength

#define kIOMediaHeaderLength "IOMediaHeaderLength"

macrokIOInterfaceFlags

#define kIOInterfaceFlags "IOInterfaceFlags"

macrokIOInterfaceExtraFlags

#define kIOInterfaceExtraFlags "IOInterfaceExtraFlags"

macrokIOInterfaceUnit

#define kIOInterfaceUnit "IOInterfaceUnit"

macrokIOInterfaceState

#define kIOInterfaceState "IOInterfaceState"

macrokIOInterfaceNamePrefix

#define kIOInterfaceNamePrefix "IOInterfaceNamePrefix"

macrokIOPrimaryInterface

#define kIOPrimaryInterface "IOPrimaryInterface"

macrokIOBuiltin

#define kIOBuiltin "IOBuiltin"

macrokIOLocation

#define kIOLocation "IOLocation"

macrokIONetworkNoBSDAttachKey

#define kIONetworkNoBSDAttachKey "IONetworkNoBSDAttach"

enum(anonymous)

underlying type unsigned int
kIONetworkInterfaceRegisteredState1
kIONetworkInterfaceOpenedState2
kIONetworkInterfaceDisabledState4

typedefIOOutputAction

typedef UInt32 (OSObject::*IOOutputAction)(mbuf_t, void * param)

typedefBPF_FUNC

typedef int (*BPF_FUNC)(struct ifnet *, struct mbuf *)

enum(anonymous)

Network event types recognized by inputEvent().
underlying type unsigned int
kIONetworkEventTypeDLIL4278190081DLIL defined event, argument must be a pointer to a kern_event_msg structure.
kIONetworkEventTypeLinkUp4278190082Link up event, no argument
kIONetworkEventTypeLinkDown4278190083Link down event, no argument
kIONetworkEventWakeOnLANSupportChanged4278190084Wake on LAN support changed, no argument
kIONetworkEventTypeLinkSpeedChange4278190085Link speed changed