netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Luis Carlos Cobo" <luisca@cozybit.com>
To: "Stephen Hemminger" <shemminger@linux-foundation.org>
Cc: "Javier Cardona" <javier@cozybit.com>,
	"Dan Williams" <dcbw@redhat.com>,
	"Christoph Hellwig" <hch@infradead.org>,
	netdev@vger.kernel.org
Subject: Re: Proposed interface for per-packet mesh-ttl
Date: Thu, 16 Aug 2007 15:43:16 -0700	[thread overview]
Message-ID: <8e8340660708161543l1b4de41at861fbb98463f39e8@mail.gmail.com> (raw)
In-Reply-To: <20070816171913.2ad87e47@oldman>

On 8/16/07, Stephen Hemminger <shemminger@linux-foundation.org> wrote:
> The problem with socket options is how does the application know
> the correct policy? Pushing configuration to application is just deferring
> the problem, not solving it.  You want some policy to be done by the
> infrastructure; that means kernel, libraries, daemons, etc. Doing it in
> the application is often inflexible and unusable.

The policy will usually be done by the kernel. If the flag is not set,
which will happen most of the time, the driver will use a sensible
default ttl. The socket option would only be used by applications that
are specifically interested in a configurable ttl (like an application
to plot neighbors within an specific diameter). A per-interface
setting is not good enough, since we do not want the neighbor-plotting
tool to affect the ttl of other connections (e.g. a ssh session) that
might be going on at the same time.

-- 
Luis Carlos Cobo Rus       GnuPG ID: 44019B60
cozybit Inc.

      reply	other threads:[~2007-08-16 22:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <445f43ac0707031149o2b50fc0en48aef4130b4b60ec@mail.gmail.com>
2007-07-03 19:29 ` Proposed interface for per-packet mesh-ttl Javier Cardona
2007-07-25 20:58   ` Dan Williams
2007-07-27 19:56   ` Christoph Hellwig
2007-07-27 22:22     ` Dan Williams
2007-07-28  6:31       ` Stephen Hemminger
2007-07-30 20:37         ` Javier Cardona
2007-07-30 20:53           ` Stephen Hemminger
2007-08-16 19:21             ` Luis Carlos Cobo
2007-08-16 21:19               ` Stephen Hemminger
2007-08-16 22:43                 ` Luis Carlos Cobo [this message]

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=8e8340660708161543l1b4de41at861fbb98463f39e8@mail.gmail.com \
    --to=luisca@cozybit.com \
    --cc=dcbw@redhat.com \
    --cc=hch@infradead.org \
    --cc=javier@cozybit.com \
    --cc=netdev@vger.kernel.org \
    --cc=shemminger@linux-foundation.org \
    /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;
as well as URLs for NNTP newsgroup(s).