aboutsummaryrefslogtreecommitdiff
path: root/sys/netsmb/smb_tran.h
diff options
context:
space:
mode:
authorBoris Popov <bp@FreeBSD.org>2001-12-02 08:47:29 +0000
committerBoris Popov <bp@FreeBSD.org>2001-12-02 08:47:29 +0000
commitfce6fbfa4df708f2cd50c5eeb1c00d30c63a0f4d (patch)
tree4dd79521a04986ca1ef5e89d2110be2df70ef2e7 /sys/netsmb/smb_tran.h
parent1ac88dc08fed37e0d0e93622e8afa419eab91e5b (diff)
Notes
Diffstat (limited to 'sys/netsmb/smb_tran.h')
-rw-r--r--sys/netsmb/smb_tran.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/netsmb/smb_tran.h b/sys/netsmb/smb_tran.h
index 7403d21240e0..0e7fc5035575 100644
--- a/sys/netsmb/smb_tran.h
+++ b/sys/netsmb/smb_tran.h
@@ -54,20 +54,20 @@ struct smb_tran_ops;
struct smb_tran_desc {
sa_family_t tr_type;
- int (*tr_create)(struct smb_vc *vcp, struct proc *p);
- int (*tr_done)(struct smb_vc *vcp, struct proc *p);
- int (*tr_bind)(struct smb_vc *vcp, struct sockaddr *sap, struct proc *p);
- int (*tr_connect)(struct smb_vc *vcp, struct sockaddr *sap, struct proc *p);
- int (*tr_disconnect)(struct smb_vc *vcp, struct proc *p);
- int (*tr_send)(struct smb_vc *vcp, struct mbuf *m0, struct proc *p);
- int (*tr_recv)(struct smb_vc *vcp, struct mbuf **mpp, struct proc *p);
+ int (*tr_create)(struct smb_vc *vcp, struct thread *td);
+ int (*tr_done)(struct smb_vc *vcp, struct thread *td);
+ int (*tr_bind)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td);
+ int (*tr_connect)(struct smb_vc *vcp, struct sockaddr *sap, struct thread *td);
+ int (*tr_disconnect)(struct smb_vc *vcp, struct thread *td);
+ int (*tr_send)(struct smb_vc *vcp, struct mbuf *m0, struct thread *td);
+ int (*tr_recv)(struct smb_vc *vcp, struct mbuf **mpp, struct thread *td);
void (*tr_timo)(struct smb_vc *vcp);
void (*tr_intr)(struct smb_vc *vcp);
int (*tr_getparam)(struct smb_vc *vcp, int param, void *data);
int (*tr_setparam)(struct smb_vc *vcp, int param, void *data);
int (*tr_fatal)(struct smb_vc *vcp, int error);
#ifdef notyet
- int (*tr_poll)(struct smb_vc *vcp, struct proc *p);
+ int (*tr_poll)(struct smb_vc *vcp, struct thread *td);
int (*tr_cmpaddr)(void *addr1, void *addr2);
#endif
LIST_ENTRY(smb_tran_desc) tr_link;