ceph/branches/ebofs/kernel/ktcp.h
sageweil dc48f25847 branch for ebofs changes
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2100 29311d96-e01e-0410-9327-a35deaab8ce9
2007-11-21 00:32:00 +00:00

16 lines
508 B
C

#ifndef _FS_CEPH_TCP_H
#define _FS_CEPH_TCP_H
/* prototype definitions */
struct socket * _kconnect(struct sockaddr *);
struct socket * _klisten(struct sockaddr_in *);
struct socket *_kaccept(struct socket *);
int _krecvmsg(struct socket *, void *, size_t , unsigned);
int _ksendmsg(struct socket *, struct kvec *, size_t, size_t, unsigned);
/* Well known port for ceph client listener.. */
#define CEPH_PORT 2002
/* Max number of outstanding connections in listener queueu */
#define NUM_BACKUP 10
#endif