From owner-svn-src-all@FreeBSD.ORG Wed May 20 17:00:17 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2459E1065672; Wed, 20 May 2009 17:00:17 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id EB69F8FC24; Wed, 20 May 2009 17:00:16 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n4KH0Gfa037537; Wed, 20 May 2009 17:00:16 GMT (envelope-from imp@svn.freebsd.org) Received: (from imp@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n4KH0Gqe037536; Wed, 20 May 2009 17:00:16 GMT (envelope-from imp@svn.freebsd.org) Message-Id: <200905201700.n4KH0Gqe037536@svn.freebsd.org> From: Warner Losh Date: Wed, 20 May 2009 17:00:16 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r192445 - head/sys/netnatm X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2009 17:00:17 -0000 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);