On Thu, 2002-04-18 at 15:32, alouini khalif wrote:
> i have the red hat 7.2 (complete version) and i want
> to know where can i find the tcp/ip code source (SRPM)
> in the tow source code CD_ROMs : the file *.c 
> i didn't find the implementation of file in /netinet
> directory
> please help me,where can i find the source code of the
> files that have a relationship with the network
> (ip_output,.....)
> thanks


I have not done this but if I wanted to see the source for a particular
file I would do :

rpm -qi $(rpm -qf /path/to/file/that/I/want/)

This should give you the info screen for the package that the file
belongs to.  On that screen is the source rpm field.  install the source
rpm listed there and you should be getting close.

I beileve the source rpm will put a gziped archive in
/usr/src/redhat/SOURCES unzip it and hack to your hearts content.

HTH

Bret






_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to