From: "David S. Miller" <davem@davemloft.net>
To: greearb@candelatech.com
Cc: trond.myklebust@fys.uio.no, linux-kernel@vger.kernel.org
Subject: Re: Can you specify a local IP or Interface to be used on a per NFS mount basis?
Date: Wed, 18 Jan 2006 18:29:35 -0800 (PST) [thread overview]
Message-ID: <20060118.182935.80593235.davem@davemloft.net> (raw)
In-Reply-To: <43CEF7A6.30802@candelatech.com>
From: Ben Greear <greearb@candelatech.com>
Date: Wed, 18 Jan 2006 18:21:26 -0800
> When a socket is created, you can optionally bind to local IP,
> interface and/or IP-Port. Somewhere, NFS is opening a socket I
> assume? So, is there a way to ask it to bind?
Things like net/sunrpc/xprtsock.c:xs_bindresvport() will bind,
but to a specific port. It leaves the address field all zeros
which makes the kernel pick a default.
net/sunrpc/svcsock.c does something similar, you can get it
to use a particular port but it uses INADDR_ANY for the
address during the bind().
next prev parent reply other threads:[~2006-01-19 2:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-18 23:10 Ben Greear
2006-01-19 0:48 ` Trond Myklebust
2006-01-19 2:21 ` Ben Greear
2006-01-19 2:29 ` David S. Miller [this message]
2006-01-19 3:24 ` Trond Myklebust
2006-01-19 3:28 ` Ben Greear
2006-01-19 4:24 ` Trond Myklebust
2006-01-20 4:26 ` Ben Greear
2006-01-20 13:52 ` Peter Staubach
2006-01-20 17:11 ` Ben Greear
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060118.182935.80593235.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=greearb@candelatech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trond.myklebust@fys.uio.no \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome