iPXE
Data Fields
interface Struct Reference

An object interface. More...

#include <interface.h>

Data Fields

struct interfacedest
 Destination object interface. More...
 
struct refcntrefcnt
 Reference counter. More...
 
struct interface_descriptordesc
 Interface descriptor. More...
 
struct interface_descriptororiginal
 Original interface descriptor. More...
 

Detailed Description

An object interface.

Definition at line 109 of file interface.h.

Field Documentation

◆ dest

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 118 of file interface.h.

Referenced by intf_get_dest_op_no_passthru_untyped(), intf_init(), intf_plug(), intf_shutdown(), and intf_unplug().

◆ refcnt

struct refcnt* interface::refcnt

Reference counter.

If this interface is not part of a reference-counted object, this field may be NULL.

Definition at line 124 of file interface.h.

Referenced by intf_get(), intf_init(), and intf_put().

◆ desc

struct interface_descriptor* interface::desc

Interface descriptor.

Definition at line 126 of file interface.h.

Referenced by intf_get_passthru(), intf_init(), intf_nullify(), and intf_reinit().

◆ original

struct interface_descriptor* interface::original

Original interface descriptor.

Used by intf_reinit().

Definition at line 131 of file interface.h.

Referenced by intf_init(), and intf_reinit().


The documentation for this struct was generated from the following file: