typedef int (*BPF_FUNC)(struct ifnet *, struct mbuf *);
Prototype of the BPF tap handler. This will disappear when the appropriate DLIL header file is included.
typedef UInt32 (OSObject::*IOOutputAction)(struct mbuf * m);
Prototype for an output packet handler that will receive all outbound packets sent to the interface from the network layer. This handler is registered by calling registerOutputHandler().
Name Description m A packet mbuf.
typedef struct { OSObject * target; IOOutputAction output; IORequestAction request; } IOOutputHandler;
A structure that encapsulates information about a target and its output packet and request handlers.
Name Description target The target object that implements the handlers. output An IOOutputAction handler. output An IORequestAction handler.
typedef IOReturn (OSObject::*IORequestAction)(OSObject * sender, UInt32 type, void * arg0, void * arg1, void * arg2, void * arg3);
Prototype for a request handler that will handle all requests originated from the interface.
Name Description sender The sender of the request. This is usually the interface object that called the handler. type Request type. arg0 Request argument. arg1 Request argument. arg2 Request argument. arg3 Request argument.
© 2000 Apple Computer, Inc. (Last Updated 2/23/2000)