netdev
[Top] [All Lists]

Re: ping source code

To: Matti Aarnio <matti.aarnio@xxxxxxxxxxx>, ychoi@xxxxxxxxxx
Subject: Re: ping source code
From: Peter Bieringer <pb@xxxxxxxxxxxx>
Date: Tue, 19 Sep 2000 08:29:30 +0200
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20000918222026.A11669@mea-ext.zmailer.org>
References: <OFA0B67E2D.F2144B01-ON8525695E.0064F377@pok.ibm.com> <OFA0B67E2D.F2144B01-ON8525695E.0064F377@pok.ibm.com>
Sender: owner-netdev@xxxxxxxxxxx
At 21:20 18.09.2000, Matti Aarnio wrote:
On Mon, Sep 18, 2000 at 02:23:36PM -0400, ychoi@xxxxxxxxxx wrote:
> Hello! I got your address from the MAINTAINERS list. I am looking for the
> ping source code with -I (capitol I) option where I can specify a device
> name (not an interface address). On Redhat 6.2, I ran "man ping" and found
> out the option is available. I need to use the coding in one of my program.
> I will appreciate if you return to me.

$ rpm -qf /bin/ping
iputils-20000121-2

   Ok, so you should look for  iputils-*.src.rpm   package for the source.

Do you have any idea of how to open *.src.rpm files ?

rpm -qip packet-*.src.rpm

Mostly extracted to /usr/src/distribution/SOURCES|SPECS
tarball +  additional patches -> SOURCES
spec-file -> SPECS

Or take "mc" to dig into.

 Peter


<Prev in Thread] Current Thread [Next in Thread>