[<prev] [next>] [day] [month] [year] [list]
Message-ID: <48D1EA22.2040709@alcatel-lucent.com>
Date: Thu, 18 Sep 2008 13:41:54 +0800
From: gshan <gshan@...atel-lucent.com>
To: linux-kernel@...r.kernel.org
Subject: change TOS explicitly for egress packets on specified network interface
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists