#include <IOKit/network/IOKernelDebugger.h>

IOKit/network/IOKernelDebugger.h Kernel.framework

@typedef IODebuggerRxHandler @discussion Defines the receive handler that must be implemented by the target to service KDP receive requests. This handler is called by kdpReceiveDispatcher(). @param target The target object. @param buffer KDP receive buffer. The buffer allocated has room for 1518 bytes. The receive handler must not overflow this buffer. @param length The amount of data received and placed into the buffer. Set to 0 if no frame was received during the poll interval. @param timeout The amount of time to poll in milliseconds while waiting for a frame to arrive.
5 typedefs · 2 macros · 1 enum

typedefIODebuggerRxHandler

typedef void (*)(IOService *, void *, UInt32 *, UInt32) IODebuggerRxHandler;

typedefIODebuggerTxHandler

typedef void (*)(IOService *, void *, UInt32) IODebuggerTxHandler;

typedefIODebuggerLinkStatusHandler

typedef UInt32 (*IODebuggerLinkStatusHandler)( IOService * target)

typedefIODebuggerSetModeHandler

typedef bool (*IODebuggerSetModeHandler)( IOService * target, bool active)

enumIODebuggerLockState

underlying type unsigned int
kIODebuggerLockTaken1

typedefIODebuggerLockState

typedef enum IODebuggerLockState IODebuggerLockState;

macroIODebuggerLock

Concise form of the lock()/unlock() static member functions.
#define IODebuggerLock IOKernelDebugger::lock

macroIODebuggerUnlock

#define IODebuggerUnlock IOKernelDebugger::unlock