iPXE
imux Struct Reference

An iPhone USB multiplexer. More...

#include <iphone.h>

Data Fields

struct refcnt refcnt
 Reference counter.
struct usb_deviceusb
 USB device.
struct usb_busbus
 USB bus.
struct usbnet_device usbnet
 USB network device.
struct list_head list
 List of USB multiplexers.
struct process process
 Polling process.
int(* action )(struct imux *imux)
 Pending action.
uint16_t in_seq
 Input sequence.
uint16_t out_seq
 Output sequence.
uint32_t tcp_seq
 Pseudo-TCP sequence number.
uint32_t tcp_ack
 Pseudo-TCP acknowledgement number.
uint16_t port
 Pseudo-TCP local port number.
struct interface tcp
 Pseudo-TCP lockdown socket interface.
unsigned int flags
 Pairing flags.
int rc
 Pairing status.

Detailed Description

An iPhone USB multiplexer.

Definition at line 115 of file iphone.h.

Field Documentation

◆ refcnt

struct refcnt imux::refcnt

Reference counter.

Definition at line 117 of file iphone.h.

Referenced by imux_probe(), and imux_remove().

◆ usb

struct usb_device* imux::usb

USB device.

Definition at line 119 of file iphone.h.

Referenced by imux_close(), imux_probe(), and iphone_check_pair().

◆ bus

struct usb_bus* imux::bus

USB bus.

Definition at line 121 of file iphone.h.

Referenced by imux_probe(), and imux_step().

◆ usbnet

struct usbnet_device imux::usbnet

USB network device.

Definition at line 123 of file iphone.h.

Referenced by imux_in_complete(), imux_out_complete(), imux_probe(), imux_shutdown(), imux_step(), and imux_tx().

◆ list

struct list_head imux::list

List of USB multiplexers.

Definition at line 125 of file iphone.h.

Referenced by imux_probe(), imux_remove(), and iphone_check_pair().

◆ process

struct process imux::process

Polling process.

Definition at line 128 of file iphone.h.

Referenced by imux_probe(), imux_shutdown(), and imux_step().

◆ action

int(* imux::action) (struct imux *imux)

Pending action.

Parameters
imuxUSB multiplexer
Return values
rcReturn status code

Definition at line 134 of file iphone.h.

Referenced by imux_close(), imux_probe(), imux_rx_syn(), imux_rx_version(), and imux_step().

◆ in_seq

uint16_t imux::in_seq

Input sequence.

Definition at line 137 of file iphone.h.

Referenced by imux_in_complete(), and imux_tx().

◆ out_seq

uint16_t imux::out_seq

Output sequence.

Definition at line 139 of file iphone.h.

Referenced by imux_rx_version(), and imux_tx().

◆ tcp_seq

uint32_t imux::tcp_seq

Pseudo-TCP sequence number.

Definition at line 141 of file iphone.h.

Referenced by imux_tx_syn(), and imux_tx_tcp().

◆ tcp_ack

uint32_t imux::tcp_ack

Pseudo-TCP acknowledgement number.

Definition at line 143 of file iphone.h.

Referenced by imux_rx_syn(), imux_rx_tcp(), and imux_tx_tcp().

◆ port

uint16_t imux::port

Pseudo-TCP local port number.

Definition at line 145 of file iphone.h.

Referenced by imux_close(), imux_probe(), imux_rx_tcp(), and imux_tx_tcp().

◆ tcp

struct interface imux::tcp

Pseudo-TCP lockdown socket interface.

Definition at line 148 of file iphone.h.

Referenced by imux_close(), imux_probe(), imux_rx_tcp(), imux_shutdown(), and imux_start_pair().

◆ flags

unsigned int imux::flags

Pairing flags.

Definition at line 150 of file iphone.h.

Referenced by imux_close(), and imux_start_pair().

◆ rc

int imux::rc

Pairing status.

Definition at line 152 of file iphone.h.

Referenced by imux_close(), imux_probe(), and iphone_check_pair().


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