ip: expose inet sockopts through inet_diag
authorWei Wang <weiwan@google.com>
Tue, 1 Sep 2020 22:10:08 +0000 (15:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Sep 2020 22:17:28 +0000 (15:17 -0700)
commitc1077616142907bb6ee987ecd136d6857ffd8787
tree50914fc894031bc4281ef9881ba6d2b03c698b3c
parenta33d91ee3817ef00fc7abfe95ab0b8ccef1b26fb
ip: expose inet sockopts through inet_diag

Expose all exisiting inet sockopt bits through inet_diag for debug purpose.
Corresponding changes in iproute2 ss will be submitted to output all
these values.

Signed-off-by: Wei Wang <weiwan@google.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Mahesh Bandewar <maheshb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/inet_diag.h
include/uapi/linux/inet_diag.h
net/ipv4/inet_diag.c