mirror of
https://github.com/ceph/ceph
synced 2025-01-23 03:25:49 +00:00
dc48f25847
git-svn-id: https://ceph.svn.sf.net/svnroot/ceph@2100 29311d96-e01e-0410-9327-a35deaab8ce9
16 lines
508 B
C
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
|