[lkml]   [2011]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v4] net-netlink: Add a new attribute to expose TOS values via netlink
On Wed, 12 Oct 2011 12:00:35 -0700
Muraliraja Muniraju <> wrote:

> From: Murali Raja <>
> This patch exposes the tos value for the TCP sockets when the TOS flag
> is requested in the ext_flags for the inet_diag request. This would mainly be
> used to expose TOS values for both for TCP and UDP sockets. Currently it is
> supported for TCP. When netlink support for UDP would be added the support
> to expose the TOS values would alse be done. For IPV4 tos value is exposed
> and for IPV6 tclass value is exposed.
> Signed-off-by: Murali Raja <>
> ---
> Changelog since v3:
> - Removed the tos structure from the inet_diag.h
> Changelog since v2:
> - Added support for IPv6 and used better API.
> Changelog since v3:
> - Removed reserved fields.

After this is accepted; it is trivial to add support to ss command.

Acked-by: Stephen Hemminger <>

 \ /
  Last update: 2011-10-12 21:11    [W:0.057 / U:2.912 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site