telnetproxy/connection.h

24 lines
323 B
C
Raw Normal View History

2006-11-25 14:31:52 +01:00
#ifndef _CONNECTION_H_
#define _CONNECTION_H_
#include <netinet/ip.h>
#include "list.h"
struct connection {
struct list_head list;
struct sockaddr_in src_addr;
struct sockaddr_in dst_addr;
int src_fd;
int dst_fd;
unsigned long login_time;
unsigned long idle_time;
char user[32];
};
#endif // _CONNECTION_H_