iPXE
|
An object interface. More...
#include <interface.h>
Data Fields | |
struct interface * | dest |
Destination object interface. More... | |
struct refcnt * | refcnt |
Reference counter. More... | |
struct interface_descriptor * | desc |
Interface descriptor. More... | |
union { | |
struct interface_descriptor * desc | |
Original interface descriptor. More... | |
struct interface * intf | |
Original interface. More... | |
} | original |
Original interface properties. More... | |
An object interface.
Definition at line 124 of file interface.h.
struct interface* interface::dest |
Destination object interface.
When the containing object invokes an operation on this interface, it will be executed by the destination object.
This pointer may never be NULL. When the interface is unplugged, it should point to the null interface.
Definition at line 133 of file interface.h.
Referenced by intf_get_dest_op_no_passthru_untyped(), intf_init(), intf_insert(), intf_plug(), intf_shutdown(), intf_temp_init(), and intf_unplug().
struct refcnt* interface::refcnt |
Reference counter.
If this interface is not part of a reference-counted object then this field is NULL.
Definition at line 139 of file interface.h.
Referenced by intf_get(), intf_init(), and intf_put().
struct interface_descriptor* interface::desc |
Interface descriptor.
Original interface descriptor.
If this is a temporary outbound-only interface created by intf_temp_init() then this field is NULL.
Used by intf_reinit().
Definition at line 145 of file interface.h.
Referenced by intf_get_passthru(), intf_init(), intf_nullify(), intf_object(), intf_origin(), intf_reinit(), and intf_temp_init().
struct interface* interface::intf |
Original interface.
Used for temporary outbound-only interfaces created by intf_temp_init().
Definition at line 158 of file interface.h.
Referenced by acpi_describe(), block_capacity(), edd_describe(), efi_describe(), identify_device(), intf_close(), intf_get(), intf_init(), intf_insert(), intf_nullify(), intf_object(), intf_origin(), intf_plug(), intf_poke(), intf_put(), intf_reinit(), intf_restart(), intf_shutdown(), intf_temp_init(), intf_unplug(), intfs_vrestart(), intfs_vshutdown(), job_progress(), peerdisc_stat(), resolv_done(), scsi_response(), xfer_alloc_iob(), xfer_buffer(), xfer_deliver(), xfer_deliver_iob(), xfer_redirect(), xfer_vredirect(), xfer_window(), and xfer_window_changed().
union { ... } interface::original |
Original interface properties.
Referenced by intf_init(), intf_origin(), intf_reinit(), and intf_temp_init().