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...
 
union {
   struct interface_descriptor *   desc
 Original interface descriptor. More...
 
   struct interface *   intf
 Original interface. More...
 
original
 Original interface properties. More...
 

Detailed Description

An object interface.

Definition at line 124 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 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().

◆ refcnt

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().

◆ desc

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().

◆ intf

struct interface* interface::intf

◆ original

union { ... } interface::original

Original interface properties.

Referenced by intf_init(), intf_origin(), intf_reinit(), and intf_temp_init().


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