mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-13 11:47:00 +08:00
Documentation improvements for 2.1.0 (mainly altcp/altcp_tls)
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
/**
|
||||
* @file
|
||||
* Application layered TCP connection API (to be used from TCPIP thread)\n
|
||||
* This interface mimics the tcp callback API to the application while preventing
|
||||
* direct linking (much like virtual functions).
|
||||
* This way, an application can make use of other application layer protocols
|
||||
* on top of TCP without knowing the details (e.g. TLS, proxy connection).
|
||||
*
|
||||
* This file contains the generic API.
|
||||
* For more details see @ref altcp_api.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
@@ -1479,15 +1479,19 @@
|
||||
#define LWIP_TCP_PCB_NUM_EXT_ARGS 0
|
||||
#endif
|
||||
|
||||
/** LWIP_ALTCP==1: enable the altcp API
|
||||
/** LWIP_ALTCP==1: enable the altcp API.
|
||||
* altcp is an abstraction layer that prevents applications linking against the
|
||||
* tcp.h functions but provides the same functionality. It is used to e.g. add
|
||||
* SSL/TLS or proxy-connect support to an application written for the tcp callback
|
||||
* API without that application knowing the protocol details.
|
||||
* Applications written against the altcp API are directly linked against the
|
||||
* tcp callback API for LWIP_ALTCP==0, but then cannot use layered protocols.
|
||||
*
|
||||
* With LWIP_ALTCP==0, applications written against the altcp API can still be
|
||||
* compiled but are directly linked against the tcp.h callback API and then
|
||||
* cannot use layered protocols.
|
||||
*
|
||||
* See @ref altcp_api
|
||||
*/
|
||||
#ifndef LWIP_ALTCP
|
||||
#if !defined LWIP_ALTCP || defined __DOXYGEN__
|
||||
#define LWIP_ALTCP 0
|
||||
#endif
|
||||
|
||||
@@ -1496,7 +1500,7 @@
|
||||
* A port to ARM mbedtls is provided with lwIP, see apps/altcp_tls/ directory
|
||||
* and LWIP_ALTCP_TLS_MBEDTLS option.
|
||||
*/
|
||||
#ifndef LWIP_ALTCP_TLS
|
||||
#if !defined LWIP_ALTCP_TLS || defined __DOXYGEN__
|
||||
#define LWIP_ALTCP_TLS 0
|
||||
#endif
|
||||
|
||||
@@ -1548,7 +1552,7 @@
|
||||
* LWIP_PBUF_REF_T: Refcount type in pbuf.
|
||||
* Default width of u8_t can be increased if 255 refs are not enough for you.
|
||||
*/
|
||||
#ifndef LWIP_PBUF_REF_T
|
||||
#if !defined LWIP_PBUF_REF_T || defined __DOXYGEN__
|
||||
#define LWIP_PBUF_REF_T u8_t
|
||||
#endif
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user