All of lore.kernel.org
 help / color / mirror / Atom feed
From: gshan <gshan@alcatel-lucent.com>
To: linux-kernel@vger.kernel.org
Subject: change TOS explicitly for egress packets on specified network interface
Date: Thu, 18 Sep 2008 13:41:54 +0800	[thread overview]
Message-ID: <48D1EA22.2040709@alcatel-lucent.com> (raw)

Hi All,

I want to control TOS for egress packets of specified network interface, 
so I introduced "unsigned long tos" to
struct net_device::priv and it could be set through ioctl interface of 
ethernet driver.

But I don't know where to change TOS for egress packets because:
1) It seems TOS is used for route select now;
2) struct inet_sock has already included one "tos" field inside and it 
couldn't be set inside ethernet driver;

Thanks,
Gavin

             reply	other threads:[~2008-09-18  5:42 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-18  5:41 gshan [this message]
     [not found] <bdkyY-4ZN-13@gated-at.bofh.it>
2008-09-18 11:37 ` change TOS explicitly for egress packets on specified network interface Bodo Eggert

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=48D1EA22.2040709@alcatel-lucent.com \
    --to=gshan@alcatel-lucent.com \
    --cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.