aboutsummaryrefslogtreecommitdiff
path: root/sys/netncp/ncp_sock.h
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2001-03-10 05:24:45 +0000
committerBoris Popov <bp@FreeBSD.org>2001-03-10 05:24:45 +0000
commit29ad26f932b432ca14c4ae27243aced04861d089 (patch)
treec6d3d45be821a1f3706fc1c7e88cdf7b2deaee0b /sys/netncp/ncp_sock.h
parentdf54111fe4f2e0755b863d11a4da201e9f1ff506 (diff)
downloadsrc-29ad26f932b432ca14c4ae27243aced04861d089.tar.gz
src-29ad26f932b432ca14c4ae27243aced04861d089.zip
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.
Notes
Notes: svn path=/head/; revision=74060
Diffstat (limited to 'sys/netncp/ncp_sock.h')
-rw-r--r--sys/netncp/ncp_sock.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/netncp/ncp_sock.h b/sys/netncp/ncp_sock.h
index acd238059c74..5172138bd8ac 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);