diff options
author | imp <imp@FreeBSD.org> | 2009-05-20 17:00:16 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2009-05-20 17:00:16 +0000 |
commit | c4760857a3f9bf5fd50e534ff5543bf3fe913652 (patch) | |
tree | e6f18f862d021b950d22c32fa00b86a8b073cc7c /sys/netnatm/natm.c | |
parent | 9b169aaceb30b91426da6421383ff1e9073326e1 (diff) | |
download | FreeBSD-src-c4760857a3f9bf5fd50e534ff5543bf3fe913652.zip FreeBSD-src-c4760857a3f9bf5fd50e534ff5543bf3fe913652.tar.gz |
Replace d_thread_t * with struct thread *.
Diffstat (limited to 'sys/netnatm/natm.c')
-rw-r--r-- | sys/netnatm/natm.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/netnatm/natm.c b/sys/netnatm/natm.c index baa596e..cfcbaa7 100644 --- a/sys/netnatm/natm.c +++ b/sys/netnatm/natm.c @@ -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, struct sockaddr **nam) 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); |