commit | 886d19d6c93546db7c093df07a71c38cda6c1694 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@parallels.com> | Thu Oct 25 03:23:36 2012 +0000 |
committer | Stephen Hemminger <shemminger@vyatta.com> | Fri Oct 26 17:48:49 2012 -0700 |
tree | a34d85ad57a27f0d29c9401a44a81a969617dbe2 | |
parent | 746a695f86b301cbee2a3c79fc490653be680b20 [diff] |
ss: Support sock-diag That is -- write the code, that sends diag request in new format. It's mostly copied from tcp-diag code. Plus, sock-diag differentiates sockets by families, thus we have to send two requests sequentially. If we fail to submit new sock-diag request, try to fall-back and submit the legacy tcp-diag one. Signed-off-by: Pavel Emelyanov <xemul@parallels.com>