Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
altcp_proxyconnect.h File Reference
Application layered TCP connection API that executes a proxy-connect. More...
Go to the source code of this file.
Functions | |
struct altcp_pcb * | altcp_proxyconnect_new (struct altcp_proxyconnect_config *config, struct altcp_pcb *inner_pcb) |
Allocate a new altcp layer connecting through a proxy. | |
struct altcp_pcb * | altcp_proxyconnect_new_tcp (struct altcp_proxyconnect_config *config, u8_t ip_type) |
Allocate a new altcp layer connecting through a proxy. | |
struct altcp_pcb * | altcp_proxyconnect_alloc (void *arg, u8_t ip_type) |
Allocator function to allocate a proxy connect altcp pcb connecting directly via tcp to the proxy. | |
struct altcp_pcb * | altcp_proxyconnect_tls_alloc (void *arg, u8_t ip_type) |
Allocator function to allocate a TLS connection through a proxy. |
Detailed Description
Application layered TCP connection API that executes a proxy-connect.
This file provides a starting layer that executes a proxy-connect e.g. to set up TLS connections through a http proxy.
Definition in file altcp_proxyconnect.h.
Function Documentation
struct altcp_pcb* altcp_proxyconnect_alloc | ( | void * | arg, |
u8_t | ip_type | ||
) | [read] |
Allocator function to allocate a proxy connect altcp pcb connecting directly via tcp to the proxy.
The returned pcb is a chain: altcp_proxyconnect - altcp_tcp - tcp pcb
This function is meant for use with altcp_new.
- Parameters:
-
arg struct altcp_proxyconnect_config that contains the proxy settings ip_type IP type of the connection (lwip_ip_addr_type)
Definition at line 397 of file lwip_altcp_proxyconnect.c.
struct altcp_pcb* altcp_proxyconnect_new | ( | struct altcp_proxyconnect_config * | config, |
struct altcp_pcb * | inner_pcb | ||
) | [read] |
Allocate a new altcp layer connecting through a proxy.
This function gets the inner pcb passed.
- Parameters:
-
config struct altcp_proxyconnect_config that contains the proxy settings inner_pcb pcb that makes the connection to the proxy (i.e. tcp pcb)
Definition at line 346 of file lwip_altcp_proxyconnect.c.
struct altcp_pcb* altcp_proxyconnect_new_tcp | ( | struct altcp_proxyconnect_config * | config, |
u8_t | ip_type | ||
) | [read] |
Allocate a new altcp layer connecting through a proxy.
This function allocates the inner pcb as tcp pcb, resulting in a direct tcp connection to the proxy.
- Parameters:
-
config struct altcp_proxyconnect_config that contains the proxy settings ip_type IP type of the connection (lwip_ip_addr_type)
Definition at line 370 of file lwip_altcp_proxyconnect.c.
struct altcp_pcb* altcp_proxyconnect_tls_alloc | ( | void * | arg, |
u8_t | ip_type | ||
) | [read] |
Allocator function to allocate a TLS connection through a proxy.
The returned pcb is a chain: altcp_tls - altcp_proxyconnect - altcp_tcp - tcp pcb
This function is meant for use with altcp_new.
- Parameters:
-
arg struct altcp_proxyconnect_tls_config that contains the proxy settings and tls settings ip_type IP type of the connection (lwip_ip_addr_type)
Definition at line 416 of file lwip_altcp_proxyconnect.c.
Generated on Tue Jul 12 2022 13:55:05 by
