~ubuntu-branches/ubuntu/precise/linux-ti-omap4/precise

« back to all changes in this revision

Viewing changes to include/linux/sunrpc/xprt.h

  • Committer: Bazaar Package Importer
  • Author(s): Paolo Pisati
  • Date: 2011-06-29 15:23:51 UTC
  • mfrom: (26.1.1 natty-proposed)
  • Revision ID: james.westby@ubuntu.com-20110629152351-xs96tm303d95rpbk
Tags: 3.0.0-1200.2
* Rebased against 3.0.0-6.7
* BSP from TI based on 3.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#include <linux/uio.h>
13
13
#include <linux/socket.h>
14
14
#include <linux/in.h>
15
 
#include <linux/kref.h>
16
15
#include <linux/ktime.h>
17
16
#include <linux/sunrpc/sched.h>
18
17
#include <linux/sunrpc/xdr.h>
142
141
        XPRT_TRANSPORT_UDP      = IPPROTO_UDP,
143
142
        XPRT_TRANSPORT_TCP      = IPPROTO_TCP,
144
143
        XPRT_TRANSPORT_BC_TCP   = IPPROTO_TCP | XPRT_TRANSPORT_BC,
145
 
        XPRT_TRANSPORT_RDMA     = 256
 
144
        XPRT_TRANSPORT_RDMA     = 256,
 
145
        XPRT_TRANSPORT_LOCAL    = 257,
146
146
};
147
147
 
148
148
struct rpc_xprt {
149
 
        struct kref             kref;           /* Reference count */
 
149
        atomic_t                count;          /* Reference count */
150
150
        struct rpc_xprt_ops *   ops;            /* transport methods */
151
151
 
152
152
        const struct rpc_timeout *timeout;      /* timeout parms */