Re: [PATCHv4 1/2] Support unix sockets in -yy option

2014-12-27 Thread Dmitry V. Levin
On Wed, Dec 24, 2014 at 08:59:31PM +0900, Masatake YAMATO wrote: > This patch extends -yy option; the peer address of a unix socket can be > printed like an inet socket. [...] > +static bool > +unix_parse_response(const void *data, int data_len, const unsigned long > inode) > +{ > + const stru

[PATCHv4 1/2] Support unix sockets in -yy option

2014-12-24 Thread Masatake YAMATO
This patch extends -yy option; the peer address of a unix socket can be printed like an inet socket. About a listening socket, its socket inode and socket path are printed. About an accepted socket, its socket inode, the peer inode, and the socket path are printed. About a client socket, its socke