iPXE
Data Fields
imux Struct Reference

An iPhone USB multiplexer. More...

#include <iphone.h>

Data Fields

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

Detailed Description

An iPhone USB multiplexer.

Definition at line 114 of file iphone.h.

Field Documentation

◆ refcnt

struct refcnt imux::refcnt

Reference counter.

Definition at line 116 of file iphone.h.

Referenced by imux_probe(), and imux_remove().

◆ usb

struct usb_device* imux::usb

USB device.

Definition at line 118 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 120 of file iphone.h.

Referenced by imux_probe(), and imux_step().

◆ usbnet

struct usbnet_device imux::usbnet

USB network device.

Definition at line 122 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 124 of file iphone.h.

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

◆ process

struct process imux::process

Polling process.

Definition at line 127 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 133 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 136 of file iphone.h.

Referenced by imux_in_complete(), and imux_tx().

◆ out_seq

uint16_t imux::out_seq

Output sequence.

Definition at line 138 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 140 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 142 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 144 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 147 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 149 of file iphone.h.

Referenced by imux_close(), and imux_start_pair().

◆ rc

int imux::rc

Pairing status.

Definition at line 151 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: