/* * linux/include/linux/sunrpc/svcsock.h * * RPC server socket I/O. * * Copyright (C) 1995, 1996 Olaf Kirch <okir@monad.swb.de> */ #ifndef SUNRPC_SVCSOCK_H #define SUNRPC_SVCSOCK_H #include <linux/sunrpc/svc.h> #include <linux/sunrpc/svc_xprt.h> /* * RPC server socket. */ struct svc_sock { struct svc_xprt sk_xprt; struct socket * sk_sock; /* berkeley socket layer */ struct sock * sk_sk; /* INET layer */ /* We keep the old state_change and data_ready CB's here */ void (*sk_ostate)(struct sock *); void (*sk_odata)(struct sock *); void (*sk_owspace)(struct sock *); /* private TCP part */ /* On-the-wire fragment header: */ __be32 sk_reclen; /* As we receive a record, this includes the length received so * far (including the fragment header): */ u32 sk_tcplen; /* Total length of the data (not including fragment headers) * received so far in the fragments making up this rpc: */ u32 sk_datalen; struct page * sk_pages[RPCSVC_MAXPAGES]; /* received data */ };
static inline u32 svc_sock_reclen(struct svc_sock *svsk) { return ntohl(svsk->sk_reclen) & RPC_FRAGMENT_SIZE_MASK; }Contributors
Person | Tokens | Prop | Commits | CommitProp |
J. Bruce Fields | 22 | 100.00% | 1 | 100.00% |
Total | 22 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
J. Bruce Fields | 22 | 100.00% | 1 | 100.00% |
Total | 22 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Linus Torvalds (pre-git) | 91 | 33.96% | 2 | 11.76% |
J. Bruce Fields | 61 | 22.76% | 4 | 23.53% |
Neil Brown | 37 | 13.81% | 4 | 23.53% |
Benny Halevy | 22 | 8.21% | 1 | 5.88% |
Chuck Lever | 21 | 7.84% | 3 | 17.65% |
Tom Tucker | 19 | 7.09% | 1 | 5.88% |
Stanislav Kinsbursky | 17 | 6.34% | 2 | 11.76% |
Total | 268 | 100.00% | 17 | 100.00% |