隨筆 - 53, 文章 - 0, 評(píng)論 - 3, 引用 - 0
          數(shù)據(jù)加載中……

          Learning Notes of TCP/IP Illustated Volume 2

          How to read the source code in <<TCP/IP Illustrated Volume 2>>

          1. Get the source code, original link provided in the book is not available now.
          You may need to google it.

          2. install cscope and vi.

          3. refer to http://cscope.sourceforge.net/large_projects.html for the following steps.

          It will include all the source code of the whole OS, not only the kernel.
          find src -name '*.[ch]' > cscope.files

          we actually only care kernel source.
          find src/sys -name '*.[ch]' > cscope.files

          4.  wc cscope.files
           1613  1613 45585 cscope.files

          5. vim
          :help cscope
          then you can read the help details.

          6. if you run vim in the folder where cscope.out resides. then it will be loaded
          automaically.

          7. Try a few commands.
          :cs find g mbuf
          :cs find f vm.h

          They works. A good start.

          P.S. this book is quite old, if you know it well and can recommend some better alternative for learning TCP/IP, please post a comments, Thanks in advance.


          posted on 2010-03-29 13:30 InPractice 閱讀(140) 評(píng)論(0)  編輯  收藏


          只有注冊(cè)用戶登錄后才能發(fā)表評(píng)論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 江川县| 彭州市| 顺平县| 遂平县| 南江县| 庆元县| 渭源县| 义乌市| 石渠县| 砚山县| 清流县| 宝丰县| 宁陵县| 京山县| 桑植县| 昌邑市| 马鞍山市| 资兴市| 常德市| 崇义县| 普兰店市| 新昌县| 克拉玛依市| 监利县| 托克托县| 平陆县| 林周县| 桐乡市| 文山县| 巩义市| 宜兰县| 滨州市| 都安| 晋江市| 乐山市| 庆阳市| 民县| 高州市| 峨眉山市| 大厂| 收藏|