source/ariba/utility/transport/tcpip/protlib/tp_over_tcp.cpp File Reference

#include <unistd.h>
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <fcntl.h>
#include <sys/poll.h>
#include <iostream>
#include <errno.h>
#include <string>
#include <sstream>
#include "tp_over_tcp.h"
#include "threadsafe_db.h"
#include "cleanuphandler.h"
#include "setuid.h"
#include "queuemanager.h"
#include "logfile.h"
#include <set>
Include dependency graph for tp_over_tcp.cpp:

Go to the source code of this file.

Namespaces

namespace  protlib

Defines

#define TCP_SUCCESS   0
#define TCP_SEND_FAILURE   1
#define IPV6_ADDR_INT32_SMP   0x0000ffff

Functions

void protlib::v6_to_v4 (struct sockaddr_in *sin, struct sockaddr_in6 *sin6)
void protlib::v4_to_v6 (struct sockaddr_in *sin, struct sockaddr_in6 *sin6)

Variables

const unsigned int max_listen_queue_size = 10
char protlib::in6_addrstr [INET6_ADDRSTRLEN+1]

Detailed Description

----------------------------------------*- mode: C++; -*--

TCP-based transport module (includes framing support) ----------------------------------------------------------

Id
tp_over_tcp.cpp 2872 2008-02-18 10:58:03Z bless
HeadURL
https://svn.ipv6.tm.uka.de/nsis/protlib/trunk/src/tp_over_tcp.cpp

Definition in file tp_over_tcp.cpp.


Define Documentation

#define IPV6_ADDR_INT32_SMP   0x0000ffff

Definition at line 63 of file tp_over_tcp.cpp.

Referenced by protlib::v4_to_v6().

#define TCP_SEND_FAILURE   1

Definition at line 59 of file tp_over_tcp.cpp.

Referenced by protlib::TPoverTCP::tcpsend().

#define TCP_SUCCESS   0

Definition at line 58 of file tp_over_tcp.cpp.

Referenced by protlib::TPoverTCP::tcpsend().


Variable Documentation

const unsigned int max_listen_queue_size = 10

Definition at line 61 of file tp_over_tcp.cpp.

Referenced by protlib::TPoverTCP::master_listener_thread().


Generated on Fri Dec 10 11:09:20 2010 for Ariba by  doxygen 1.6.1