sofia-sip/tport_tag.h File Reference


Detailed Description

Tags for tport module.

Author:
Pekka Pessi <Pekka.Pessi@nokia-email.address.hidden>
Date:
Created: Sat Oct 12 18:39:48 2002 ppessi

#include <sofia-sip/su_tag.h>

Include dependency graph for tport_tag.h:

Go to the source code of this file.

Defines

#define TPTAG_ANY()
 Filter tag matching any tport tag.
#define TPTAG_IDENT(x)
 Ident transport connection (true by default).
#define TPTAG_REUSE(x)
 Allow reusing transport connection (true by default).
#define TPTAG_FRESH(x)
 Create new connection (but allow reusing new one).
#define TPTAG_SERVER(x)
 Bind server sockets (true by default, disable with TPTAG_SERVER(0)).
#define TPTAG_PUBLIC(x)
 Use a transport reaching to public Internet.
#define TPTAG_MTU(x)
 Specify MTU.
#define TPTAG_CONNECT(x)
 Specify that tport must always use connections.
#define TPTAG_QUEUESIZE(x)
 Specify the number of messages that can be queued per connection.
#define TPTAG_SDWN_ERROR(x)
 If true, half close of a connection by remote is considered as an error.
#define TPTAG_SDWN_AFTER(x)
 Half-close (shutdown(c, 1) after sending the message.
#define TPTAG_CLOSE_AFTER(x)
 Close of a connection after sending the message.
#define TPTAG_IDLE(x)
 How long transports may be idle (value in milliseconds).
#define TPTAG_TIMEOUT(x)
 Keeps incoming message on idle connection (value in milliseconds).
#define TPTAG_SIGCOMP_LIFETIME(x)
 Default SigComp lifetime.
#define TPTAG_COMPARTMENT(x)
 Pointer to SigComp compartment.
#define TPTAG_CERTIFICATE(x)
 Path to the public key certificate directory.
#define TPTAG_TLS_VERSION(x)
 Sets the TLS version (version 0 implies SSL2/SSL3).
#define TPTAG_TRUSTED(x)
 Mark transport as trusted.
#define TPTAG_DEBUG_DROP(x)
 Sets the drop propability for (0.
#define TPTAG_UDP_RMEM(x)
 Sets the maximum receive buffer in bytes for primary UDP socket.
#define TPTAG_UDP_WMEM(x)
 Sets the maximum send buffer in bytes for primary UDP socket.
#define TPTAG_THRPSIZE(x)
 Determines the number of threads in the pool receiving, uncompressing, parsing, compressing, and sending messages.
#define TPTAG_THRPRQSIZE(x)
 Length of per-thread receive queue (as messages).
#define TPTAG_HTTP_CONNECT(x)
 Specify that tport can use HTTP connect method.
#define TPTAG_STUN_SERVER(x)
 Enable STUN server.

Typedefs

typedef enum tport_via tport_pri_type_t
 Define how the public transport connects to Internet.

Enumerations

enum  tport_via
 Define how the public transport connects to Internet. More...

Variables

SOFIA_BEGIN_DECLS TPORT_DLL
tagi_t 
tport_tag_list []
 List of all tport tags.
TPORT_DLL tagi_t tport_tags []
 Filter list matching any tport tag.


Define Documentation

#define TPTAG_DEBUG_DROP (  ) 

Sets the drop propability for (0.

.1000) incoming/outgoing packets.

#define TPTAG_IDLE (  ) 

How long transports may be idle (value in milliseconds).

If 0, zap immediately, if UINT_MAX, leave them there (default value for now).

#define TPTAG_SIGCOMP_LIFETIME (  ) 

Default SigComp lifetime.

If UINT_MAX, keep SigComp compartments around for ever.

Note:
Experimental.

#define TPTAG_TIMEOUT (  ) 

Keeps incoming message on idle connection (value in milliseconds).

if UINT_MAX, leave them there (default value for now).


Typedef Documentation

typedef enum tport_via tport_pri_type_t

Define how the public transport connects to Internet.

See also:
TPTAG_PUBLIC(), tport_is_public().


Enumeration Type Documentation

enum tport_via

Define how the public transport connects to Internet.

See also:
TPTAG_PUBLIC(), tport_is_public().


Sofia-SIP 1.12.1 - Copyright (C) 2006 Nokia Corporation. All rights reserved. Licensed under the terms of the GNU Lesser General Public License.