Date: Wed, 20 May 2009 17:00:16 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r192445 - head/sys/netnatm Message-ID: <200905201700.n4KH0Gqe037536@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: imp Date: Wed May 20 17:00:16 2009 New Revision: 192445 URL: http://svn.freebsd.org/changeset/base/192445 Log: Replace d_thread_t * with struct thread *. Modified: head/sys/netnatm/natm.c Modified: head/sys/netnatm/natm.c ============================================================================== --- head/sys/netnatm/natm.c Wed May 20 16:58:53 2009 (r192444) +++ head/sys/netnatm/natm.c Wed May 20 17:00:16 2009 (r192445) @@ -100,24 +100,24 @@ struct mtx natm_mtx; /* * User socket requests. */ -static int natm_usr_attach(struct socket *, int, d_thread_t *); +static int natm_usr_attach(struct socket *, int, struct thread *); static void natm_usr_detach(struct socket *); static int natm_usr_connect(struct socket *, struct sockaddr *, - d_thread_t *); + struct thread *); static int natm_usr_disconnect(struct socket *); static int natm_usr_shutdown(struct socket *); static int natm_usr_send(struct socket *, int, struct mbuf *, - struct sockaddr *, struct mbuf *, d_thread_t *); + struct sockaddr *, struct mbuf *, struct thread *); static int natm_usr_peeraddr(struct socket *, struct sockaddr **); static int natm_usr_control(struct socket *, u_long, caddr_t, - struct ifnet *, d_thread_t *); + struct ifnet *, struct thread *); static void natm_usr_abort(struct socket *); static int natm_usr_bind(struct socket *, struct sockaddr *, - d_thread_t *); + struct thread *); static int natm_usr_sockaddr(struct socket *, struct sockaddr **); static int -natm_usr_attach(struct socket *so, int proto, d_thread_t *p) +natm_usr_attach(struct socket *so, int proto, struct thread *p) { struct natmpcb *npcb; int error = 0; @@ -155,7 +155,7 @@ natm_usr_detach(struct socket *so) } static int -natm_usr_connect(struct socket *so, struct sockaddr *nam, d_thread_t *p) +natm_usr_connect(struct socket *so, struct sockaddr *nam, struct thread *p) { struct natmpcb *npcb; struct sockaddr_natm *snatm; @@ -271,7 +271,7 @@ natm_usr_shutdown(struct socket *so) static int natm_usr_send(struct socket *so, int flags, struct mbuf *m, - struct sockaddr *nam, struct mbuf *control, d_thread_t *p) + struct sockaddr *nam, struct mbuf *control, struct thread *p) { struct natmpcb *npcb; struct atm_pseudohdr *aph; @@ -332,7 +332,7 @@ natm_usr_peeraddr(struct socket *so, str static int natm_usr_control(struct socket *so, u_long cmd, caddr_t arg, - struct ifnet *ifp, d_thread_t *p) + struct ifnet *ifp, struct thread *p) { struct natmpcb *npcb; @@ -357,7 +357,7 @@ natm_usr_close(struct socket *so) } static int -natm_usr_bind(struct socket *so, struct sockaddr *nam, d_thread_t *p) +natm_usr_bind(struct socket *so, struct sockaddr *nam, struct thread *p) { return (EOPNOTSUPP);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905201700.n4KH0Gqe037536>