comparison tcpfwd.h @ 577:69e98c45db7c

- Progress for allowing specifying a listenaddr for tcp forwards
author Matt Johnston <matt@ucc.asn.au>
date Wed, 24 Feb 2010 16:13:15 +0000
parents 805e557fdff7
children 8c737cd7c1af
comparison
equal deleted inserted replaced
518:ce104c8b0be1 577:69e98c45db7c
46 /* A link in a list of forwards */ 46 /* A link in a list of forwards */
47 struct TCPFwdList { 47 struct TCPFwdList {
48 48
49 const unsigned char* connectaddr; 49 const unsigned char* connectaddr;
50 unsigned int connectport; 50 unsigned int connectport;
51 const unsigned char* listenaddr;
51 unsigned int listenport; 52 unsigned int listenport;
52 unsigned int have_reply; /* is set to 1 after a reply has been received 53 unsigned int have_reply; /* is set to 1 after a reply has been received
53 when setting up the forwarding */ 54 when setting up the forwarding */
54 struct TCPFwdList * next; 55 struct TCPFwdList * next;
55 56