Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 4706 → Rev 4707

/branches/network/uspace/srv/net/tl/tcp/tcp.h
31,17 → 31,42
*/
 
/** @file
* \todo
* TCP module.
*/
 
#ifndef __NET_TCP_H__
#define __NET_TCP_H__
 
#include <fibril_sync.h>
 
#include "../../socket/socket_core.h"
 
/** Type definition of the TCP global data.
* @see tcp_globals
*/
typedef struct tcp_globals tcp_globals_t;
 
/** TCP global data.
*/
struct tcp_globals{
int ip_phone;
int net_phone;
/** Networking module phone.
*/
int net_phone;
/** IP module phone.
*/
int ip_phone;
/** ICMP module phone.
*/
int icmp_phone;
/** Last used free port.
*/
int last_used_port;
/** Active sockets.
*/
socket_ports_t sockets;
/** Safety lock.
*/
fibril_rwlock_t lock;
};
 
#endif