diff options
author | Maciej Żenczykowski <maze@google.com> | 2011-11-07 14:23:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-14 01:08:49 -0500 |
commit | 06236ac3726f15124839cf16a9e2730a852dad9b (patch) | |
tree | 244d55c591844e58cc357af3b42e6360825f05e1 /include/linux/inet_diag.h | |
parent | 6d74eb9442fb113c97edc88a1c658462db711337 (diff) | |
download | linux-stable-06236ac3726f15124839cf16a9e2730a852dad9b.tar.gz linux-stable-06236ac3726f15124839cf16a9e2730a852dad9b.tar.bz2 linux-stable-06236ac3726f15124839cf16a9e2730a852dad9b.zip |
net-netlink: Add a new attribute to expose TCLASS values via netlink
commit 3ceca749668a52bd795585e0f71c6f0b04814f7b added a TOS attribute.
Unfortunately TOS and TCLASS are both present in a dual-stack v6 socket,
furthermore they can have different values. As such one cannot in a
sane way expose both through a single attribute.
Signed-off-by: Maciej Żenczyowski <maze@google.com>
CC: Murali Raja <muralira@google.com>
CC: Stephen Hemminger <shemminger@vyatta.com>
CC: Eric Dumazet <eric.dumazet@gmail.com>
CC: David S. Miller <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/inet_diag.h')
-rw-r--r-- | include/linux/inet_diag.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/inet_diag.h b/include/linux/inet_diag.h index 80b480c97532..abf5028db981 100644 --- a/include/linux/inet_diag.h +++ b/include/linux/inet_diag.h @@ -98,9 +98,10 @@ enum { INET_DIAG_VEGASINFO, INET_DIAG_CONG, INET_DIAG_TOS, + INET_DIAG_TCLASS, }; -#define INET_DIAG_MAX INET_DIAG_TOS +#define INET_DIAG_MAX INET_DIAG_TCLASS /* INET_DIAG_MEM */ |