diff options
author | Jim Garlick <garlick@llnl.gov> | 2013-05-29 19:15:07 (GMT) |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2013-07-08 02:59:54 (GMT) |
commit | 2f28c8b31dc501027d9aa6acf496c5941736312b (patch) | |
tree | 30c8060085b6bb41d07534431b00d9733c78665a /include | |
parent | 2315cb14010c4cb0eb7c1d19fcf90475e4688207 (diff) | |
download | linux-fsl-qoriq-2f28c8b31dc501027d9aa6acf496c5941736312b.tar.xz |
net/9p: add privport option to 9p tcp transport
If the privport option is specified, the tcp transport binds local
address to a reserved port before connecting to the 9p server.
In some cases when 9P AUTH cannot be implemented, this is better than
nothing.
Signed-off-by: Jim Garlick <garlick@llnl.gov>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/9p/transport.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/9p/transport.h b/include/net/9p/transport.h index adcbb20..9a36d92 100644 --- a/include/net/9p/transport.h +++ b/include/net/9p/transport.h @@ -26,6 +26,9 @@ #ifndef NET_9P_TRANSPORT_H #define NET_9P_TRANSPORT_H +#define P9_DEF_MIN_RESVPORT (665U) +#define P9_DEF_MAX_RESVPORT (1023U) + /** * struct p9_trans_module - transport module interface * @list: used to maintain a list of currently available transports |