diff options
author | Craig Gallek | 2015-06-15 17:26:19 +0200 |
---|---|---|
committer | David S. Miller | 2015-06-16 04:49:22 +0200 |
commit | 3fd22af808f4d7455ba91596d334438c7ee0f889 (patch) | |
tree | 96b0f9e9e4d067bae6d5068cc8a8d0617d2d408e /include/linux/inet_diag.h | |
parent | sock_diag: define destruction multicast groups (diff) | |
download | kernel-qcow2-linux-3fd22af808f4d7455ba91596d334438c7ee0f889.tar.gz kernel-qcow2-linux-3fd22af808f4d7455ba91596d334438c7ee0f889.tar.xz kernel-qcow2-linux-3fd22af808f4d7455ba91596d334438c7ee0f889.zip |
sock_diag: specify info_size per inet protocol
Previously, there was no clear distinction between the inet protocols
that used struct tcp_info to report information and those that didn't.
This change adds a specific size attribute to the inet_diag_handler
struct which defines these interfaces. This will make dispatching
sock_diag get_info requests identical for all inet protocols in a
following patch.
Tested: ss -au
Tested: ss -at
Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Eric Dumazet <edumazet@google.com>
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/inet_diag.h b/include/linux/inet_diag.h index ac48b10c9395..0e707f0c1a3e 100644 --- a/include/linux/inet_diag.h +++ b/include/linux/inet_diag.h @@ -24,6 +24,7 @@ struct inet_diag_handler { struct inet_diag_msg *r, void *info); __u16 idiag_type; + __u16 idiag_info_size; }; struct inet_connection_sock; |