diff options
author | bp <bp@FreeBSD.org> | 2001-12-02 08:47:29 +0000 |
---|---|---|
committer | bp <bp@FreeBSD.org> | 2001-12-02 08:47:29 +0000 |
commit | 0b6f0e4522eeceef1d5e5dc2e920666192f7ec2a (patch) | |
tree | 4dd79521a04986ca1ef5e89d2110be2df70ef2e7 /sys/netsmb/smb_tran.h | |
parent | 124068ba6b175b9c0386b32be7f7d51a5d46908a (diff) | |
download | FreeBSD-src-0b6f0e4522eeceef1d5e5dc2e920666192f7ec2a.zip FreeBSD-src-0b6f0e4522eeceef1d5e5dc2e920666192f7ec2a.tar.gz |
Pull netsmb requester from the pre-KSE world. This update mostly based
on the patches submitted by Max Khon <fjoe@iclub.nsu.ru>
Diffstat (limited to 'sys/netsmb/smb_tran.h')
-rw-r--r-- | sys/netsmb/smb_tran.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/netsmb/smb_tran.h b/sys/netsmb/smb_tran.h index 7403d21..0e7fc50 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; |