[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1Ih0PI-0003TX-00@gondolin.me.apana.org.au>
Date: Sun, 14 Oct 2007 18:09:12 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: khali@...ux-fr.org (Jean Delvare)
Cc: herbert@...dor.apana.org.au, rick.jones2@...com,
netdev@...r.kernel.org
Subject: Re: [PATCH] Update function names in /proc/net/tcp documentation
Jean Delvare <khali@...ux-fr.org> wrote:
>
>> inet_diag is the preferred interface.
>
> How does it work? Is there some documentation available? I see
> net/ipv4/inet_diag.c but I have no idea how to use it.
Have a look at the iproute package. It contains the ss command
which provides a command-line interface to it.
Of course it's also a good example of how you can access it from
C. The Debian pidentd package has also been patched to use this
interface.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists