From dde32853641c8191e1074cc8a3d9b3ae9facfa27 Mon Sep 17 00:00:00 2001 From: bp Date: Sat, 10 Mar 2001 05:24:45 +0000 Subject: Major update of NCP requester: Use mchain API to work with mbuf chains. Do not depend on INET and IPX options. Allocate ncp_rq structure dynamically to prevent possible stack overflows. Let ncp_request() dispose control structure if request failed. Move all NCP wrappers to ncp_ncp.c file and all NCP request processing functions to ncp_rq.c file. Improve reconnection logic. Misc style fixes. --- sys/netncp/ncp_sock.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/netncp/ncp_sock.h') diff --git a/sys/netncp/ncp_sock.h b/sys/netncp/ncp_sock.h index acd2380..5172138 100644 --- a/sys/netncp/ncp_sock.h +++ b/sys/netncp/ncp_sock.h @@ -41,8 +41,7 @@ struct proc; struct socket; struct timeval; -int ncp_sock_connect_ipx(struct ncp_conn *); -int ncp_sock_connect_in(struct ncp_conn *); +int ncp_sock_connect(struct ncp_conn *ncp); int ncp_sock_recv(struct socket *so, struct mbuf **mp, int *rlen); int ncp_sock_send(struct socket *so, struct mbuf *data, struct ncp_rq *rqp); int ncp_sock_disconnect(struct ncp_conn *conn); -- cgit v1.1