102 #define IMUX_PORT_LOCAL 0x18ae 105 #define IMUX_PORT_LOCKDOWND 62078 111 #define IMUX_WINDOW 0x0200 158 #define IMUX_IN_MAX_FILL 1 164 #define IMUX_IN_MTU 4096 224 #define IPAIR_RETRY_DELAY ( 1 * TICKS_PER_SEC ) 234 #define IPHONE_GET_MAC \ 235 ( USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE | \ 236 USB_REQUEST_TYPE ( 0x00 ) ) 239 #define IPHONE_GET_LINK \ 240 ( USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE | \ 241 USB_REQUEST_TYPE ( 0x45 ) ) 271 #define IPHONE_IN_PAD 2 277 #define IPHONE_IN_MTU ( ETH_FRAME_LEN + IPHONE_IN_PAD ) 283 #define IPHONE_IN_MAX_FILL 8 289 #define IPHONE_LINK_CHECK_INTERVAL ( 5 * TICKS_PER_SEC )
ipair_flags
Pairing client state flags.
uint32_t tcp_ack
Pseudo-TCP acknowledgement number.
void msg(unsigned int row, const char *fmt,...)
Print message centred on specified row.
int(* tx)(struct ipair *ipair)
Transmit message.
int(* action)(struct imux *imux)
Pending action.
struct interface tcp
Pseudo-TCP lockdown socket interface.
uint16_t out_seq
Output sequence.
struct interface xfer
Data transfer interface.
struct x509_certificate * device
Device certificate.
A doubly-linked list entry (or list head)
An iPhone pairing client.
struct x509_certificate * host
Host certificate.
imux_protocol
iPhone USB multiplexer protocols
Standalone length has been received.
iphone_link_status
An iPhone link status.
Personal Hotspot is disabled.
struct usb_device * usb
USB device.
struct usb_bus * bus
USB bus.
uint16_t in_seq
Input sequence.
An iPhone USB multiplexer.
struct usbnet_device usbnet
USB network device.
struct x509_certificate * root
Root certificate.
struct usb_device * usb
USB device.
uint32_t tcp_seq
Pseudo-TCP sequence number.
unsigned int flags
Pairing flags.
An iPhone network device.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
Universal Serial Bus (USB)
struct private_key * key
"Private" key
uint16_t port
Pseudo-TCP local port number.
int(* rx)(struct ipair *ipair, char *msg)
Receive message.
struct usbnet_device usbnet
USB network device.
TLS session has been started.
unsigned int flags
State flags.
struct usb_bus * bus
USB bus.
struct net_device * netdev
Network device.
An iPhone pairing certificate set.
struct list_head list
List of USB multiplexers.
struct list_head list
List of iPhone network devices.