search for: connfd

Displaying 2 results from an estimated 2 matches for "connfd".

Did you mean: confd
2001 Mar 13
0
[PATCH] openssh 2.5.1p2 TIS authserv support
....1p2-tis/tisauth.c Fri Mar 9 11:26:25 2001 @@ -0,0 +1,110 @@ +/* + * Copyright (c) 2000 BalaBit IT Ltd. + * All rights reserved + * + * Authors: Bal?zs Scheidler, Attila Szalay + * + */ + +#include "includes.h" +#include "ssh.h" + +#ifdef TIS_AUTH + +struct tis_context { + int connfd; +}; + +struct tis_context *tis_connect(struct sockaddr *addr, int addrlen) +{ + struct tis_context *ctx; + char line[128]; + int fd; + + fd = socket(addr->sa_family, SOCK_STREAM, 0); + if (fd < 0) + return NULL; + + if (connect(fd, addr, addrlen) < 0) { + close(fd); + return NULL; +...
2000 Dec 07
1
[PATCH] tis authserv support
...ONTRACT, STRICT LIABILITY, OR TORT + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF + * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ + +#include "includes.h" +#include "ssh.h" + +#ifdef TIS_AUTH + +struct tis_context { + int connfd; +}; + +struct tis_context *tis_connect(struct sockaddr *addr, int addrlen) +{ + struct tis_context *ctx; + char line[128]; + int fd; + + fd = socket(addr->sa_family, SOCK_STREAM, 0); + if (fd < 0) + return NULL; + + if (connect(fd, addr, addrlen) < 0) { + close(fd); + return NULL; +...