iPXE
|
iPhone USB Ethernet driver More...
#include <stdint.h>
#include <ipxe/usb.h>
#include <ipxe/usbnet.h>
#include <ipxe/process.h>
#include <ipxe/timer.h>
#include <ipxe/retry.h>
#include <ipxe/tcp.h>
#include <ipxe/x509.h>
#include <ipxe/privkey.h>
Go to the source code of this file.
Data Structures | |
struct | icert |
An iPhone pairing certificate set. More... | |
struct | imux_header |
An iPhone USB multiplexed packet header. More... | |
struct | imux_header_version |
An iPhone USB multiplexed version message header. More... | |
struct | imux_header_log |
An iPhone USB multiplexed log message header. More... | |
struct | imux_header_tcp |
An iPhone USB multiplexed pseudo-TCP message header. More... | |
struct | imux |
An iPhone USB multiplexer. More... | |
struct | ipair_header |
An iPhone USB multiplexed pseudo-TCP XML message header. More... | |
struct | ipair |
An iPhone pairing client. More... | |
struct | iphone |
An iPhone network device. More... | |
Macros | |
#define | IMUX_PORT_LOCAL 0x18ae |
Local port number. More... | |
#define | IMUX_PORT_LOCKDOWND 62078 |
Lockdown daemon port number. More... | |
#define | IMUX_WINDOW 0x0200 |
Advertised TCP window. More... | |
#define | IMUX_IN_MAX_FILL 1 |
Multiplexer bulk IN maximum fill level. More... | |
#define | IMUX_IN_MTU 4096 |
Multiplexer bulk IN buffer size. More... | |
#define | IPAIR_RETRY_DELAY ( 1 * TICKS_PER_SEC ) |
Pairing retry delay. More... | |
#define | IPHONE_GET_MAC |
Get MAC address. More... | |
#define | IPHONE_GET_LINK |
Get link status. More... | |
#define | IPHONE_IN_PAD 2 |
Bulk IN padding. More... | |
#define | IPHONE_IN_MTU ( ETH_FRAME_LEN + IPHONE_IN_PAD ) |
Bulk IN buffer size. More... | |
#define | IPHONE_IN_MAX_FILL 8 |
Bulk IN maximum fill level. More... | |
#define | IPHONE_LINK_CHECK_INTERVAL ( 5 * TICKS_PER_SEC ) |
Link check interval. More... | |
Enumerations | |
enum | imux_protocol { IMUX_VERSION = 0, IMUX_LOG = 1, IMUX_TCP = IP_TCP } |
iPhone USB multiplexer protocols More... | |
enum | ipair_flags { IPAIR_REQUEST = 0x0001, IPAIR_RX_LEN = 0x0002, IPAIR_TLS = 0x0004 } |
Pairing client state flags. More... | |
enum | iphone_link_status { IPHONE_LINK_DISABLED = 0x03, IPHONE_LINK_UP = 0x04, IPHONE_LINK_UNKNOWN = -1U } |
An iPhone link status. More... | |
Functions | |
FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
iPhone USB Ethernet driver
Definition in file iphone.h.
#define IMUX_PORT_LOCAL 0x18ae |
#define IMUX_PORT_LOCKDOWND 62078 |
#define IMUX_WINDOW 0x0200 |
#define IMUX_IN_MAX_FILL 1 |
#define IMUX_IN_MTU 4096 |
#define IPAIR_RETRY_DELAY ( 1 * TICKS_PER_SEC ) |
#define IPHONE_GET_MAC |
Get MAC address.
#define IPHONE_GET_LINK |
Get link status.
#define IPHONE_IN_MTU ( ETH_FRAME_LEN + IPHONE_IN_PAD ) |
#define IPHONE_IN_MAX_FILL 8 |
#define IPHONE_LINK_CHECK_INTERVAL ( 5 * TICKS_PER_SEC ) |
enum imux_protocol |
enum ipair_flags |
enum iphone_link_status |
FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |