Replace d_thread_t * with struct thread *.
This commit is contained in:
parent
b28838a861
commit
78bf597bb3
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user