\"Talpey, Thomas\ | 49c36fc | 2007-09-10 13:47:31 -0400 | [diff] [blame] | 1 | /* |
| 2 | * linux/include/linux/sunrpc/xprtsock.h |
| 3 | * |
| 4 | * Declarations for the RPC transport socket provider. |
| 5 | */ |
| 6 | |
| 7 | #ifndef _LINUX_SUNRPC_XPRTSOCK_H |
| 8 | #define _LINUX_SUNRPC_XPRTSOCK_H |
| 9 | |
| 10 | #ifdef __KERNEL__ |
| 11 | |
\"Talpey, Thomas\ | 49c36fc | 2007-09-10 13:47:31 -0400 | [diff] [blame] | 12 | int init_socket_xprt(void); |
| 13 | void cleanup_socket_xprt(void); |
| 14 | |
\"Talpey, Thomas\ | 49c36fc | 2007-09-10 13:47:31 -0400 | [diff] [blame] | 15 | #define RPC_MIN_RESVPORT (1U) |
| 16 | #define RPC_MAX_RESVPORT (65535U) |
| 17 | #define RPC_DEF_MIN_RESVPORT (665U) |
| 18 | #define RPC_DEF_MAX_RESVPORT (1023U) |
| 19 | |
| 20 | #endif /* __KERNEL__ */ |
| 21 | |
| 22 | #endif /* _LINUX_SUNRPC_XPRTSOCK_H */ |